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

📄 general.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>设置公休日</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
$query = 'SELECT * from ATTEND_CONFIG where DUTY_TYPE=' . $DUTY_TYPE;
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
	$DUTY_NAME = $ROW['DUTY_NAME'];
	$GENERAL = $ROW['GENERAL'];
}
echo '<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
	<td class="Big"><img src="/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 设置公休日(';
echo $DUTY_NAME;
echo ')</span>
	</td>
</tr>
</table>
<br>
 <table border="0" width="450" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="general_submit.php"  method="post" name="form1">
	<tr class="TableHeader">
		<td nowrap> 请选择 ';
echo $DUTY_NAME;
echo ' 的公休日</td>
	</tr>
	<tr>
		<td class="TableData">
				<input type="checkbox" name="WEEK1" id="WEEK1"';
if (find_id ($GENERAL, '1'))
{
	echo ' checked';
}
echo '><label for="WEEK1">星期一</label><br>
				<input type="checkbox" name="WEEK2" id="WEEK2"';
if (find_id ($GENERAL, '2'))
{
	echo ' checked';
}
echo '><label for="WEEK2">星期二</label><br>
				<input type="checkbox" name="WEEK3" id="WEEK3"';
if (find_id ($GENERAL, '3'))
{
	echo ' checked';
}
echo '><label for="WEEK3">星期三</label><br>
				<input type="checkbox" name="WEEK4" id="WEEK4"';
if (find_id ($GENERAL, '4'))
{
	echo ' checked';
}
echo '><label for="WEEK4">星期四</label><br>
				<input type="checkbox" name="WEEK5" id="WEEK5"';
if (find_id ($GENERAL, '5'))
{
	echo ' checked';
}
echo '><label for="WEEK5">星期五</label><br>
				<input type="checkbox" name="WEEK6" id="WEEK6"';
if (find_id ($GENERAL, '6'))
{
	echo ' checked';
}
echo '><label for="WEEK6">星期六</label><br>
				<input type="checkbox" name="WEEK0" id="WEEK0"';
if (find_id ($GENERAL, '0'))
{
	echo ' checked';
}
echo '><label for="WEEK0">星期日</label><br>
		</td>
	</tr>
	<tr align="center" class="TableControl">
		<td colspan="2" nowrap>
			<input type="hidden" value="';
echo $DUTY_TYPE;
echo '" name="DUTY_TYPE">
			<input type="submit" value="确定" class="BigButton">&nbsp;&nbsp;
			<input type="button" value="返回" class="BigButton" onClick="location=\'index.php\'">
		</td>
	</tr>
</table>
</form>
</body>
</html>';
?>

⌨️ 快捷键说明

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