?? confirm.php
字號:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.php" );
echo "\r\n<html>\r\n<head>\r\n<title>銷假</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n";
$connection = openconnection( );
$CUR_DATE = date( "Y-m-d", time( ) );
if ( $STATUS == "" )
{
$query = "update ATTEND_LEAVE set ALLOW='{$CONFIRM}' where LEAVE_ID={$LEAVE_ID}";
}
else
{
$query = "update ATTEND_LEAVE set LEAVE_DATE2='{$CUR_DATE}',STATUS='2' where LEAVE_ID={$LEAVE_ID}";
}
exequery( $connection, $query );
if ( $STATUS == "" )
{
if ( $CONFIRM == 1 )
{
$SMS_CONTENT = "您的請假申請已被批準!";
}
else
{
$SMS_CONTENT = "您的請假申請未被批準!";
}
}
else
{
$SMS_CONTENT = "您的銷假申請已被批準,已銷假!";
}
send_sms( $connection, $LOGIN_USER_ID, $USER_ID, 6, $SMS_CONTENT );
header( "location: ../" );
echo "\r\n</body>\r\n</html>\r\n";
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -