?? 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 + -