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

📄 insert.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once 'inc/auth.php';
include_once 'inc/check_type.php';
include_once 'inc/utility_all.php';
include_once 'inc/utility_sms1.php';
echo '
<html>
<head>
<title>工作日志设置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
if ($W_START != '')
{
	$TIME_OK = is_date ($W_START);
	if (!($TIME_OK))
	{
		message ('错误', '开始时间格式不对,应形如 1999-1-2');
		button_back ();
		exit ();
	}
}
if ($W_END != '')
{
	$TIME_OK = is_date ($W_END);
	if (!($TIME_OK))
	{
		message ('错误', '结束时间格式不对,应形如 1999-1-2');
		button_back ();
		exit ();
	}
}
if ($W_START != '')
{
	if ($W_END != '')
	{
		if (compare_date_time ($W_END, $W_START) <= 0)
		{
			message ('错误', '开始时间不能小于结束时间!');
			button_back ();
			exit ();
		}
	}
}
$PARA_VALUE = $W_START . ',' . $W_END;
$query = 'update SYS_PARA set PARA_VALUE=\'' . $PARA_VALUE . '\' where PARA_NAME=\'LOCK_TIME\'';
exequery ($connection, $query);
message ('提示', '设置成功!');
button_back ();
echo '
</body>
</html>
';
?>

⌨️ 快捷键说明

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