📄 sysparam.asp
字号:
<!-- #include file="conn/logors.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name=description content="<%=site_title%>" >
<meta name=keyword content="<%=site_title%>">
<title><%=site_title%></title>
</head>
<%=styletext%>
<DIV class=menuskin id=popmenu
onmouseover="clearhidemenu();highlightmenu(event,'on')" style="Z-INDEX: 100"
onmouseout="highlightmenu(event,'off');dynamichide(event)"></DIV><!--顶部表格-->
<SCRIPT language=JavaScript src="style/main.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
function DoSubmit(value)
{
document.regform.submit();
}
//-->
</SCRIPT>
<body>
<table width="750" height="200" align="center">
<tr>
<td height="97" align="center" class=TableTitle2>
<!-- #include file="sitehead.asp" -->
</td>
</tr>
<tr>
<td align="center" colspan="2" class="tablebody1">
<% navigation_flag=6 %>
<!-- #include file="func_navigationbar.asp" -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" height="66" valign="top"> <!-- #include file="func_menulist.asp" --></td>
<td valign="top">
<!-- #include file="func_verify.asp" -->
<%
dim sumcount,saveserial
set rs = Server.CreateObject("ADODB.Recordset")
if request("saveflag")<>"" then
SQL = "select * From cci_param"
Rs.Open Sql,connObj,3,3
if not rs.eof then
select case request("saveflag")
case "1"
rs("starthour")=request("pubtext1")
rs("startminute")=request("pubtext2")
rs("Endhour")=request("pubtext3")
rs("endminute")=request("pubtext4")
end select
rs.update
end if
rs.close
end if
SQL = "select * From cci_param"
Rs.Open Sql,connObj,1,1
if not rs.eof then
pub1=rs("starthour")
pub2=rs("startminute")
pub3=rs("Endhour")
pub4=rs("endminute")
end if
rs.close
set rs=nothing
%>
<table width="100%" align="center" cellpadding="1" cellspacing="1" class=tableBorder1>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"> <table width="100%" cellpadding=1 cellspacing=1 class=tableborder1>
<tr>
<td width="30" align="center" >标识</td>
<td align="center" width="150" >名称</td>
<td align="center" >设置</td>
<td width="30" align="center" >保存</td>
</tr>
<tr bgcolor="#FFFFFF"><form action="" method="post">
<td align="center">1</td>
<td align="center" >上班时间</td>
<td >上午
<input name="pubtext1" type="text" value="<%=pub1%>" size="5">
点
<input name="pubtext2" value="<%=pub2%>" type="text" size="5">
分 --下午
<input name="pubtext3" value="<%=pub3%>" type="text" size="5">
点
<input name="pubtext4" value="<%=pub4%>" type="text" size="5">
分 </td>
<td align="center" ><input name=save type=submit value="更新" > <input name="saveflag" type=hidden value=1 size="15"> </td>
</form>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="tablebody1">
<!-- #include file="sitefloor.asp" --> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -