📄 sys_page_deal.asp
字号:
<!--插入html头部分以及数据库接口-->
<!--#include file="in_conn.asp"-->
<!--获取协议内容字数限制-->
<!--#include file="in_talksize.asp"-->
<body>
<!--插入网站置顶-->
<% if u_name="" then
Response.Redirect "log_err.asp"
else
%>
<!--#include file="in_topmb.asp"-->
<% end if %>
<%
if u_power<2 OR u_name<>DEF_sysadm then
Response.Redirect "resp.asp?cmd=adm_bigpower"
end if
%>
<%
'获取表单值
dim vvtxb,vvfj,vvbbs,vvzt
vvtxb=Request.Form("txttxb")
vvfj=Request.Form("txtfj")
vvbbs=Request.Form("txtbbs")
vvzt=Request.Form("txtzt")
%>
<table align="center" width="700" height="25" border="0" cellspacing="0" cellpadding="0" class="rdbar"><tr>
<td width="100%" height="100%">
<a href="index.asp">[首页]</a>-<a href="sys.asp">后台维护</a>-<font class="ft1">分页浏览设置</font>
</td>
</tr></table>
<table align="center" width="700" height="101" border="0" cellspacing="0" cellpadding="6" class="rdd">
<tr>
<td width="150" valign="top" class="rdk2">
<!--插入左部分-->
<!--#include file="in_sys_left.asp"-->
</td>
<td valign="top">
<%
IF isNumeric(vvtxb)=False OR isNumeric(vvfj)=False OR isNumeric(vvbbs)=False OR isNumeric(vvzt)=False THEN
Response.Write "<br>出错:相应的数量必须为数字!"
Response.Write "<br><a href='javascript:history.go(-1);'>[点击这里<Font color=red>返回修改</Font>]</a>"
ELSE
vvtxb=CInt(vvtxb)
vvfj=CInt(vvfj)
vvbbs=CInt(vvbbs)
vvzt=CInt(vvzt)
if vvtxb<3 OR vvfj<3 OR vvbbs<3 OR vvzt<3 then
Response.Write "<br>出错:所有数字必须大于等于3!"
Response.Write "<br><a href='javascript:history.go(-1);'>[点击这里<Font color=red>返回修改</Font>]</a>"
else
sqlstr="UPDATE tblsys SET pg_txb="&vvtxb&",pg_fj="&vvfj&",pg_bbs="&vvbbs&",pg_topic="&vvzt&" WHERE sysadm='"&DEF_sysadm&"'"
conn.Execute sqlstr
Response.Write "<br>恭喜:已经成功修改了班级基本信息!"
Response.Write "<br>要查看新效果请<a href='sys_page.asp'>[点击这里返回<Font color=red>分页浏览设置</Font>]</a>"
end if
END IF
%>
</td>
</tr>
</table>
<!--插入在线统计-->
<!--#include file="in_online.asp"-->
<!--插入网站置底-->
<!--#include file="in_bottom.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -