⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mod_admin.asp

📁 这是我根据动网新闻核心自行设计的校园新闻系统
💻 ASP
字号:
<!-- #include file="../inc/const.asp" -->
<%
pagename="modadmin"
pageadmin=10
%>

<!-- #include file="../inc/conn.asp" -->
<!-- #include file="../inc/function.asp" -->
<!-- #include file="../inc/vote_function.asp" -->
<!-- #include file="../inc/sql.asp" -->
<!-- #include file="../inc/config.asp" -->
<%set rs=conn.execute("select id,adminname,adminpassword,admin from vote_admin where id="&FormatText(request("id")))
dim adminname,adminpassword,admin,adminid
adminname=rs(1)
adminid=rs(0)
adminpassword=rs(2)
admin=rs(3)
rs.close
set rs=nothing
call connclose%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link rel="stylesheet" href="../Inc/styles.css" type="text/css">
</head>
<form method="POST" action="admin_Save.asp?action=mod&id=<%=Formattext(request("id"))%>">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" id="table1">
	<tr>
		<td width="15" height="18">
		</td>
		<td class="heading1" height="18">修改管理员资料</td>
	</tr>
	<tr>
		<td height="16" width="15"></td>
		<td class="body" height="16">
		在这里可以看到所有的管理员列表,并对这些管理员进行修改,删除操作,同样也可以进行增加操作</td>
	</tr>
	<tr>
		<td height="16" width="15"></td>
		<td class="body" height="16"></td>
	</tr>
	<tr>
		<td height="17" width="15"></td>
		<td class="body" height="17">
		<table width="98%" border="0" cellspacing="0" cellpadding="0" class="bevel1" id="table2">
			<tr>
				<td>&nbsp;&nbsp;修改管理员资料</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td height="17" width="15"></td>
		<td class="body" height="17">
		</td>
	</tr>
	<tr>
	
		<td height="17" width="15"></td>
		<td class="body" height="17">
		<table border="1" width="98%" id="table3" cellspacing="0" cellpadding="0" style="border-collapse: collapse" class="bevel2">
			<tr>
				<td align="center" class="body" height="30">
				<p align="left"> &nbsp; 登陆名:<input type="text" name="username" size="16" value="<%=adminname%>">&nbsp; 
				密码:<input type="text" name="password" size="18">&nbsp;&nbsp; 权限:<select size="1" name="admin">
				<option value="1"<%if admin="1" then response.write " selected"%>>普通管理员</option>
				<option value="10"<%if admin="10" then response.write " selected"%>>超级管理员</option>
				</select></td>
			</tr>
			</table>
		</td>
		
	</tr>
	<tr>
		<td height="17" width="15"></td>
		<td class="body" height="17">
		</td>
	</tr>
	<tr>
		<td height="17" width="15"></td>
		<td class="body" height="17">
		<input type="submit" value="修改管理员" name="B1">&nbsp;
		<input type="reset" value="重置" name="B2">&nbsp; <font color="#FF0000">*如果没有修改密码请留空</font></td>
	</tr>
	<tr>
		<td height="17" width="15"></td>
		<td class="body" height="17">
		</td>
	</tr>
	</table>
</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -