⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 submit.php

📁 极限网络智能办公系统—MYOA26—100%—源程序。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
include_once( "inc/utility_all.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<div align=\"center\">\r\n<br>\r\n";
$connection = openconnection( );
$query = "update SYS_PARA set PARA_VALUE='{$SEC_PASS_FLAG}' where PARA_NAME='SEC_PASS_FLAG'";
exequery( $connection, $query );
if ( $SEC_PASS_FLAG == "1" )
{
	$SEC_PASS_TIME = intval( $SEC_PASS_TIME );
	if ( !is_int( $SEC_PASS_TIME ) || $SEC_PASS_TIME <= 0 )
	{
		message( "错误", "有效期应为整数!" );
		button_back( );
		exit( );
	}
	$query = "update SYS_PARA set PARA_VALUE='{$SEC_PASS_TIME}' where PARA_NAME='SEC_PASS_TIME'";
	exequery( $connection, $query );
}
$query = "update SYS_PARA set PARA_VALUE='{$SEC_PASS_IMG}' where PARA_NAME='SEC_PASS_IMG'";
exequery( $connection, $query );
message( "", "设置完成!" );
echo "<Input type=\"button\" name=\"button\" class=\"BigButton\" value=\"返回\" onclick=\"location='index.php'\">\r\n</div>\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -