?? sys.asp
字號:
<!--插入html頭部分以及數(shù)據(jù)庫接口-->
<!--#include file="in_conn.asp"-->
<!--#include file="inc/md5.asp"-->
<body>
<!--插入網(wǎng)站置頂-->
<% 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
IF Session("sys")="" OR Session("sys")<>DEF_sysadm THEN
'后臺登錄安全檢查
dim vsys_user,vsys_pwd
vsys_user=""
vsys_pwd=""
vsys_user=trim(Request.Form("slogname"))
vsys_pwd=trim(Request.Form("slogpwd"))
IF vsys_user<>DEF_sysadm THEN
Response.Redirect("sys_confirm.asp?err=yes")
ELSE
sqlstr="SELECT name,pwd FROM tblmates WHERE name='"&stryin(DEF_sysadm)&"'"
rs.open sqlstr,conn,1,1
if rs.eof AND rs.bof then
Response.Redirect "log_err.asp?cmd=name_notfound"
end if
'MD5加密
lpwd=md5(vsys_pwd,32)
if lpwd<>rs("pwd") then
Response.Redirect "sys_confirm.asp?err=yes"
else
Session("sys")=DEF_sysadm
end if
rs.close
END IF
END IF
%>
<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>-<font class="ft1">后臺維護(hù)</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">
登錄后臺成功,請選擇左欄相應(yīng)的管理項(xiàng)目。
</td>
</tr>
</table>
<!--插入在線統(tǒng)計(jì)-->
<!--#include file="in_online.asp"-->
<!--插入網(wǎng)站置底-->
<!--#include file="in_bottom.asp"-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -