?? leave_confirm.php
字號(hào):
<?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\r\n";
$CUR_DATE = date( "Y-m-d H:i:s", 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 = "您的請(qǐng)假申請(qǐng)已被批準(zhǔn)!";
}
else
{
$SMS_CONTENT = "您的請(qǐng)假申請(qǐng)未被批準(zhǔn)!";
}
}
else
{
$SMS_CONTENT = "您的銷假申請(qǐng)已被批準(zhǔn),已銷假!";
}
send_sms( "", $LOGIN_USER_ID, $USER_ID, 6, $SMS_CONTENT );
header( "location: index.php" );
echo "\r\n</body>\r\n</html>\r\n";
?>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -