?? bs_admin.asp
字號:
<!--#include file="bsconfig.asp"-->
<!--#include file="zcm.asp"-->
<%
'=========================================================
'
'產品名稱: 公司(企業)網站管理系統(簡稱:www.web300.cn)
'版權所有:www.web300.cn
'程序制作:QQ812256@hotmail.com
'聯系方式:QQ 812256
'Copyright 2006-2008 www.web300.cn - All Rights Reserved.
'
'========================================================
%>
<%
zj=replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(left(replace(Request.ServerVariables("SERVER_NAME"),"www.",""),6),"0","a"),"1","b"),"2","c"),"3","d"),"4","e"),"5","f"),"6","g"),"7","h"),"8","i"),"9","j"),"a","51"),"b","50"),"c","40"),"d","41"),"e","53"),"f","52"),"g","65"),"h","76"),"i","27"),"j","88"),"k","89"),"l","20"),"m","21"),"n","22"),"o","23"),"p","24"),"q","25"),"r","26"),"s","77"),"t","28"),"u","29") ,"v","30") ,"w","31") ,"x","32") ,"y","33") ,"z","35") ,"-","36") ,".","37")
yzcv=zj*(len(zj)+len(zcn&"BlackOutCHK"))
Do While yzcv>10000000000
yzcv=yzcv-10000000000
loop
if yzcv<>zcv then
response.write chr(60)&chr(98)&chr(62)&chr(60)&chr(102)&chr(111)&chr(110)&chr(116)&chr(32)&chr(99)&chr(111)&chr(108)&chr(111)&chr(114)&chr(61)&chr(35)&chr(70)&chr(70)&chr(48)&chr(48)&chr(48)&chr(48)&chr(62)&chr(-19219)&chr(-12557)&chr(-23622)&chr(-19508)&chr(-12046)&chr(-13872)&chr(-12620)&chr(-10334)&chr(-19743)&chr(44)&chr(-19253)&chr(-18010)&chr(-15140)&chr(-19781)&chr(-15140)&chr(-13639)&chr(-11325)&chr(33)&chr(60)&chr(47)&chr(102)&chr(111)&chr(110)&chr(116)&chr(62)&chr(60)&chr(47)&chr(98)&chr(62):call sysconfig()
response.end
end if
%>
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from Bs_Admin"
rs.open sqltext,conn,1,1
%>
<!-- #include file="Inc/Head.asp" -->
<script language="javascript">
function confirmdel(id){
if (confirm("真的要刪除此管理員帳號?"))
window.location.href="Bs_Admin_Del.asp?id="+id+" " }
</script>
<SCRIPT language=javascript id=clientEventHandlersJS>
<!--
function form1_onsubmit()
{
if (document.FORM1.pwd1.value!=document.FORM1.pwd2.value)
{
alert ("請確認您的密碼。");
document.FORM1.pwd1.value='';
document.FORM1.pwd2.value='';
document.FORM1.pwd1.focus();
return false;
}
}
//-->
</SCRIPT>
<BR>
<table cellpadding="2" cellspacing="1" border="0" width="560" align="center" class="a2">
<tr>
<td class="a1" height="25" align="center"><strong>添加管理員</strong></td>
</tr>
<tr class="a4">
<td align="center">
<FORM language=javascript name=FORM1 onsubmit="return form1_onsubmit()" action="Bs_Admin_Add.asp" method=post>
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="2">
<tr>
<td height="25" colspan="2"> </td>
</tr>
<tr>
<td width="29%" height="22"> <div align="right">管理員帳號:</div></td>
<td width="71%"><input type="text" name="UserName" size="16" maxlength="20"></td>
</tr>
<tr>
<td height="22"> <div align="right">身 份:</div></td>
<td><input type="text" name="realname" size="16" maxlength="20"></td>
</tr>
<tr>
<td height="22"> <div align="right">管理員密碼:</div></td>
<td><input type="text" name="pwd1" size="16"></td>
</tr>
<tr>
<td height="22"> <div align="right">密碼確認:</div></td>
<td><input type="text" name="pwd2" size="16"></td>
</tr>
<tr>
<td height="22" colspan="2"><div align="center"><INPUT type=submit value='確認添加'name=Submit2></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<BR>
<BR>
<table cellpadding="2" cellspacing="1" border="0" width="560" align="center" class="a2">
<tr>
<td class="a1" height="25" align="center"><strong>管理員帳號管理</strong></td>
</tr>
<tr class="a4">
<td align="center">
<FORM language=javascript action="Bs_Admin_Add.asp" method=post>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="2">
<tr>
<td width="20%" height="25" bgcolor="#C0C0C0"> <div align="center">管理員帳號</div></td>
<td width="20%" bgcolor="#C0C0C0"> <div align="center">身 份</div></td>
<td width="20%" bgcolor="#C0C0C0"> <div align="center">管理員密碼</div></td>
<td width="20%" bgcolor="#C0C0C0"> <div align="center">操作</div></td>
<td width="20%" bgcolor="#C0C0C0"> <div align="center">刪除</div></td>
</tr>
<%
if not rs.eof then
do while not rs.eof
%>
<tr>
<td height="22" bgcolor="#E3E3E3"> <div align="center"><%=rs("UserName")%></div></td>
<td bgcolor="#E3E3E3"><div align="center"><%=rs("realname")%></div></td>
<td bgcolor="#E3E3E3"><div align="center"><%=decrypt(rs("PassWord"))%></div></td>
<td bgcolor="#E3E3E3"><div align="center"><%response.write "<a href='Bs_AdminPass_Edit.asp?ID="&rs("Id")&"' >修改密碼</a>"%></div></td>
<td bgcolor="#E3E3E3"><div align="center"><%response.write "<a href='javascript:confirmdel(" & rs("Id") & ")'>刪除</a>"%></div></td>
</tr>
<%
rs.movenext
loop
end if
%>
<%
rs.close
conn.close
%>
</table>
</form>
</td>
</tr>
</table>
<BR>
<%htmlend%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -