📄 status.php
字号:
<?php
include_once( "inc/auth.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";
$query = "UPDATE CALENDAR SET OVER_STATUS='".$OVER_STATUS."' WHERE USER_ID='{$LOGIN_USER_ID}' and CAL_ID='{$CAL_ID}'";
exequery( $connection, $query );
$REFER_URL = substr( $_SERVER['HTTP_REFERER'], strlen( "http://".$_SERVER['HTTP_HOST'] ) );
if ( strpos( $REFER_URL, "?" ) )
{
$REFER_URL = substr( $REFER_URL, 0, strpos( $REFER_URL, "?" ) );
}
if ( $OVER_STATUS == "1" )
{
message( "", "已设置为完成状态" );
echo "<div align=\"center\">\r\n <input type=\"button\" value=\"建立日志\" class=\"BigButton\" onclick=\"window.open('../../diary/new/?CUR_DATE=";
echo $YEAR."-".$MONTH."-".$DAY;
echo "','diary_sub_window','height=560,width=650,status=0,toolbar=no,menubar=no,location=no,left=180,top=50,scrollbars=yes,resizable=yes');\"> \r\n <input type=\"button\" value=\"返回\" class=\"BigButton\" onclick=\"location='";
echo $REFER_URL."?YEAR=".$YEAR."&MONTH=".$MONTH."&DAY=".$DAY;
echo "';\">\r\n</div>\r\n";
exit( );
}
header( "location: ".$REFER_URL."?YEAR={$YEAR}&MONTH={$MONTH}&DAY={$DAY}" );
echo "\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -