?? admin_mod.asp
字號:
<%
'====================================================================
'
' 中國企業(yè)平臺后臺管理系統(tǒng) 版權(quán)所有:中國企業(yè)平臺
'
' 公司網(wǎng)址 http://www.cnept.net
'
' 版權(quán)所有 翻版必究
'====================================================================
%>
<!--#include file="../inc/adconn.asp"-->
<!--#include file="../inc/checkpro.asp"-->
<% set rs=server.CreateObject("adodb.recordset") %>
<%
if session("admin_name")="" then
response.end
end if%>
<%
sql="select * from manager where id="&request("id")
rs.open sql,conn,1,3
if rs("roleid")=0 then
response.Write "超級管理員不能被修改"
response.End
else
%>
<style type="text/css">
<!--
.asd {
border: 1px solid #000000;
font-size: 12px;
}
body {
background-color: #eeeeee;
}
-->
</style>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="716" height="131" border="0" align="center" class="asd">
<tr>
<td height="26" colspan="2" background="../images/pics/tile_sub.gif">>修改管理員</td>
</tr>
<tr>
<td width="63" height="20">用戶名</td>
<td width="641"><input name="name" type="text" id="name" value="<%=rs("admin_name")%>" /></td>
</tr>
<tr>
<td height="22">密 碼</td>
<td><input name="pwd" type="password" id="pwd" value="<%=rs("pwd")%>" /></td>
</tr>
<tr>
<td height="19">權(quán) 限</td>
<td>
<label><input name="quanxian" type="checkbox" id="quanxian" value="新聞管理" <%if instr(1,rs("pro"),"新聞管理",1)<>0 then response.Write("checked") %> />
新聞管理</label> <label>
<input name="quanxian" type="checkbox" id="quanxian" value="案例管理" <%if instr(1,rs("pro"),"案例管理",1)<>0 then response.Write("checked") %> />
案例管理</label> <label>
<input name="quanxian" type="checkbox" id="quanxian" value="會員中心" <%if instr(1,rs("pro"),"會員中心",1)<>0 then response.Write("checked") %> />
會員中心</label> <label>
<input name="quanxian" type="checkbox" id="quanxian" value="招聘管理" <%if instr(1,rs("pro"),"招聘管理",1)<>0 then response.Write("checked") %> />
招聘管理</label> <label>
<input name="quanxian" type="checkbox" id="quanxian" value="產(chǎn)品管理" <%if instr(1,rs("pro"),"產(chǎn)品管理",1)<>0 then response.Write("checked") %> />
產(chǎn)品管理</label>
<label> <br />
<label>
<input name="quanxian" type="checkbox" id="quanxian" value="訂單管理" <%if instr(1,rs("pro"),"訂單管理",1)<>0 then response.Write("checked") %> />
訂單管理</label>
<label>
<input name="quanxian" type="checkbox" id="quanxian" value="留言管理" <%if instr(1,rs("pro"),"留言管理",1)<>0 then response.Write("checked") %> />
留言管理</label>
<label>
<input name="quanxian" type="checkbox" id="quanxian" value="調(diào)查管理" <%if instr(1,rs("pro"),"調(diào)查管理",1)<>0 then response.Write("checked") %> />
調(diào)查管理</label>
<label>
<input name="quanxian" type="checkbox" id="quanxian" value="下載管理" <%if instr(1,rs("pro"),"下載管理",1)<>0 then response.Write("checked") %> />
下載管理</label>
<input name="quanxian" type="checkbox" id="quanxian" value="系統(tǒng)管理" <%if instr(1,rs("pro"),"系統(tǒng)管理",1)<>0 then response.Write("checked") %> />
系統(tǒng)管理(可添加管理員)</label>
</td>
</tr>
<tr>
<td height="32"> </td>
<td><input type="submit" name="Submit" value="添加" />
<input type="reset" name="Submit2" value="取消" /></td>
</tr>
</table> </form>
</body>
</html>
<%end if%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -