<!--#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 shop_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="../css.css" rel="stylesheet" type="text/css">
</head>
<body>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * From shop_Dept",conn,1,1%>
<form name="form1" method="post" action="tj.asp?action=save">
  <br>
  <table width="95%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
    <tr bgcolor="#f1f1f1"> 
      <td height="22" style="PADDING-LEFT: 6px">&nbsp;</td>
      <td height="22" > 
        <div align="center">今日访问</div>
      </td>
      <td height="22" > 
        <div align="center">总访问</div>
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="25%" style="PADDING-LEFT: 6px"> 
        <div align="center">网站访问量设置</div>
      </td>
      <td width="38%" > 
        <div align="center"> 
          <input name="jsqtoday" class="wenbenkuang" type="text" id="458" size="28" value=<%=trim(rs("jsqtoday"))%>>
        </div>
      </td>
      <td width="37%" > 
        <div align="center"> 
          <input name="jsq" class="wenbenkuang" type="text" id="458url" size="28" value=<%=trim(rs("jsq"))%>>
        </div>
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="32" colspan="3" style="PADDING-LEFT: 6px"> 
        <div align="center"> 
          <input type="submit" class="go-wenbenkuang" name="Submit" value="提交更改">
        </div>
      </td>
    </tr>
  </table>
</form>
<!--#include file="copyright.asp"-->
</body>
</html>
