📄 tj.asp
字号:
<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
end if%>
<%if request.QueryString("action")="save" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from Dept",conn,1,3
rs("jsqtoday")=trim(request("jsqtoday"))
rs("jsq")=trim(request("jsq"))
rs.update
rs.close
set rs=nothing
response.write "<script language=javascript>alert('修改成功!');history.go(-1);</script>"
response.End
end if
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{font-size:9pt;line-height:120%}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body bgcolor="#D9E6FF">
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from Dept",conn,1,1%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="211" valign="top">
<form name="form1" method="post" action="tj.asp?action=save">
<br>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="#E8F1FF">
<td height="22" style="PADDING-LEFT: 6px"> </td>
<td height="22" >
<div align="center">今日访问</div>
</td>
<td height="22" >
<div align="center">总访问</div>
</td>
</tr>
<tr bgcolor="#E8F1FF">
<td width="25%" style="PADDING-LEFT: 6px" bgcolor="#E8F1FF">
<div align="center">网站访问量设置</div>
</td>
<td width="38%" >
<div align="center">
<input name="jsqtoday" type="text" id="458" size="28" value=<%=trim(rs("jsqtoday"))%>>
</div>
</td>
<td width="37%" >
<div align="center">
<input name="jsq" type="text" id="458url" size="28" value=<%=trim(rs("jsq"))%>>
</div>
</td>
</tr>
<tr>
<td height="32" colspan="3" bgcolor="#E8F1FF" style="PADDING-LEFT: 6px">
<div align="center">
<input type="submit" name="Submit" value="提交更改">
</div>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -