📄 admin_menumodify.asp
字号:
<%PageName="admin_MenuModify"%>
<!--#include file="session.asp"-->
<%checkAdmin2%>
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<!--#include file="top.asp"-->
<!--#include file="INC/CHAR.INC"-->
<%
founderr=false
id=request("id")
sql="select * from Menu where id="&id
rs.open sql,conn,1,1
if rs.eof then
errmsg="<li>操作错误!该管理员不存在"
founderr=true
else
Name=rs("Name")
Url=rs("Url")
intro=rs("intro")
end if
rs.close
if founderr=true then
call error()
set rs=nothing
conn.close
set conn=nothing
else
%>
<br>
<table border="1" width="80%" cellspacing="0" cellpadding="1" bgcolor="<%=MainBgColor%>">
<tr>
<td align=center valign=top>
<table border="1" width="100%" cellspacing="0" cellpadding="0" Class="TableLine" bordercolorlight="<%=MainBColor%>" bgcolor="<%=MainCColor%>">
<form method="POST" action="admin_MenuSave.asp?id=<%=id%>">
<tr>
<td width="100%" height="20" colspan=2 bgcolor="<%=MainTColor%>" align=center background="images/admin/b3.gif"><b>修改首页目录</b></td>
</tr>
<tr>
<td width="30%" align="right">名称:</td>
<td width="70%"><input type="text" name="Name" value="<%=Name%>" size="20"></td>
</tr>
<tr>
<td align="right">地址:</td>
<td><input type="text" name="Url" value="<%=Url%>" size="20"></td>
</tr>
<tr>
<td align="right">简介:</td>
<td><TEXTAREA name=intro rows=3 cols=60><%=intro%></TEXTAREA></td>
</tr>
<tr>
<td colspan=2 align=center>
<input type="hidden" value="edit" name="act">
<input type="submit" value=" 修 改 " name="cmdok">
<input type="reset" value=" 清 除 " name="cmdcancel">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<%set rs=nothing%><%
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -