📄 score_index.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";
$cweekday = array( "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" );
$now = getdate( time( ) );
$cur_wday = $now['wday'];
$startweekday = $cweekday[$cur_wday];
$startdate = date( "Y-m-d" );
$starttime = date( "H:i:s" );
$ENDTIME = date( "H:i:s", mktime( date( "H" ), date( "i" ) + $PAPER_TIMES, date( "s" ), 0, 0, 0 ) );
if ( $ACTION != "REVIEW" )
{
$query = "insert into EXAM_DATA (FLOW_ID,RANKMAN,PARTICIPANT,SCORE,ANSWER,RANK_DATE) values('".$FLOW_ID."','','{$LOGIN_USER_ID}','','','{$startdate}')";
exequery( $connection, $query );
}
echo "<frameset rows=\"*\" cols=\"150,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">\r\n <frame name=\"user_list\" scrolling=\"YES\" frameborder=\"NO\" noresize src=\"user_list.php?STARTTIME=";
echo urlencode( $starttime );
echo "&ENDTIME=";
echo urlencode( $ENDTIME );
echo "&FLOW_ID=";
echo $FLOW_ID;
echo "&PAPER_ID=";
echo $PAPER_ID;
echo "&CUR_PAGE=";
echo $CUR_PAGE;
echo "&ACTION=";
echo $ACTION;
echo "\">\r\n <frame name=\"hrms\" scrolling=\"YES\" noresize src=\"exam.php?FLOW_ID=";
echo $FLOW_ID;
echo "&PAPER_ID=";
echo $PAPER_ID;
echo "&CUR_PAGE=";
echo $CUR_PAGE;
echo "&ACTION=";
echo $ACTION;
echo "\">\r\n</frameset><noframes></noframes>\r\n\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -