<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if qx14<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
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>网软志成在线购物系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/right_top2.gif">
  <tr>
    <td width="1%">&nbsp;</td>
    <td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td width="30%" height="32" style="font-size:14px;color:#000000">&nbsp;<strong>网站访问量设置</strong></td>
          <td width="70%" align="right">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
</table>
<%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" onSubmit="return ck1()">

<Script language=javascript>	
 function ck1()
  {
  
  if(form1.jsqtoday.value=="")
  {
  alert("请输入今日仿问量")
  form1.jsqtoday.focus()
  return false
  }
    if(form1.jsq.value=="")
  {
  alert("请输入总访问量")
  form1.jsq.focus()
  return false
  }
}
</script>
  <br>
  <table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#999999">
    <tr bgcolor="#cccccc"> 
      <td width="50%" height="22" style="PADDING-LEFT: 6px"> 
      <div align="center">今日访问</div></td>
      <td width="50%" height="22" > 
        <div align="center">总访问</div>
      </td>
    </tr>
    <tr bgcolor="#F3F3F3"> 
      <td style="PADDING-LEFT: 6px"> 
        <div align="center"> 
          <input name="jsqtoday" class="wenbenkuang" type="text" id="458" size="28" value=<%=trim(rs("jsqtoday"))%> onKeyPress="return event.keyCode>=48&&event.keyCode<=57">
      </div></td>
      <td width="37%" > 
        <div align="center"> 
          <input name="jsq" class="wenbenkuang" type="text" id="458url" size="28" value=<%=trim(rs("jsq"))%> onKeyPress="return event.keyCode>=48&&event.keyCode<=57">
        </div>
      </td>
    </tr>
    <tr bgcolor="#F3F3F3"> 
      <td height="32" colspan="2" 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>
