www.gusucode.com > 掌柜网店购物系统 4.0码程序 > admin/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 "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
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="../img/css.css" rel="stylesheet" type="text/css">
<style>
BODY {
SCROLLBAR-FACE-COLOR: #e7e7e7;  
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #d4d0c8;
SCROLLBAR-3DLIGHT-COLOR: #FFFFFF;
SCROLLBAR-ARROW-COLOR:  #ffffff;
SCROLLBAR-TRACK-COLOR: #f7f7f7;
SCROLLBAR-DARKSHADOW-COLOR: #e7e7e7; 
}
.style3 {color: #FF6600}
</style>
</head>
<body>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from Dept",conn,1,1%>
<table class="tableBorder" width="96%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<form name="form1" method="post" action="tj.asp?action=save">
<tr> 
<td colspan="2" align="center" bgcolor="#dfdfdf"><b>商城访问量设置</font></b></td>
</tr>
<tr bgcolor="#f2f2f2">
<td align="center">今日商城访问量:</td>
<td style="PADDING-LEFT: 10px"> 
<input name="jsqtoday" type="text" id="458" size="28" value=<%=trim(rs("jsqtoday"))%>>
</td>
</tr>
<tr bgcolor="#f2f2f2"> 
<td align="center">商城的总访问量:</td>
<td style="PADDING-LEFT: 10px">
<input name="jsq" type="text" id="458url" size="28" value=<%=trim(rs("jsq"))%>>
</td>
</tr>
<tr bgcolor="#f2f2f2"> 
<td align="center"></td>
<td style="PADDING-LEFT: 10px"> 
<input type="submit" name="Submit" value="提交更改">
</td>
</tr>
</form>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>