📄 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";
echo "<s";
echo "cript>\r\nfunction CheckForm()\r\n{\r\n if(document.form1.DUTY_INTERVAL.value==\"\")\r\n { alert(\"间隔时间不能为空!\");\r\n return (false);\r\n }\r\n \r\n return true;\r\n}\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n <tr>\r\n <td class=\"Big\"><img src=\"/images/menu/attendance.gif\" WIDTH=\"22\" HEIGHT=\"20\" align=\"a";
echo "bsmiddle\">";
echo "<s";
echo "pan class=\"big3\"> 设置上下班登记间隔时间</span><br>\r\n </td>\r\n </tr>\r\n</table>\r\n";
$query = "SELECT * from SYS_PARA where PARA_NAME='DUTY_INTERVAL'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$DUTY_INTERVAL = $ROW['PARA_VALUE'];
}
echo "\r\n <table border=\"0\" width=\"400\" cellpadding=\"2\" cellspacing=\"1\" align=\"center\" bgcolor=\"#000000\" class=\"small\">\r\n <form action=\"submit.php\" name=\"form1\" onsubmit=\"return CheckForm();\">\r\n <tr>\r\n <td nowrap class=\"TableData\">上下班登记间隔时间:</td>\r\n <td class=\"TableData\"><input type=\"text\" name=\"DUTY_INTERVAL\" class=\"BigInput\" size=\"20\"value=\"";
echo $DUTY_INTERVAL;
echo "\" ></td>\r\n </tr>\r\n <tr >\r\n <td nowrap class=\"TableControl\" colspan=\"2\" align=\"center\">\r\n <input type=\"submit\" value=\"确定\" class=\"BigButton\" title=\"确定\" name=\"button\">\r\n <input type=\"button\" value=\"返回\" class=\"BigButton\" title=\"返回\" onclick=\"location='../'\">\r\n </td>\r\n </tr>\r\n </form>\r\n </table>\r\n\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -