📄 class_edit.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="chkadmin.asp"-->
<%dim id,sql,rs
id=Cint(Trim(Request.QueryString("id")))
sql="select ClassName from Class where ID="&id
set rs=conn.execute(sql)%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<STYLE>
BODY {
scrollbar-face-color : #96A2AD;
scrollbar-shadow-color : #96A2AD;
scrollbar-highlight-color : #96A2AD;
scrollbar-3dlight-color : #96A2AD;
scrollbar-darkshadow-color : #96A2AD;
scrollbar-track-color : #CCCCCC;
scrollbar-arrow-color : #FFFFFF;
}
</STYLE>
</head>
<body>
<form name="form1" method="post" action="class_edit_save.asp">
<table width="300" border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#EEEEEE">
<tr bgcolor="#708090">
<td colspan="2" align="center" class="TdBorderB"><font color="#FFFFFF">修改分类</font></td>
</tr>
<tr>
<td width="100" align="right" class="TdBorderRB">类别名称</td>
<td class="TdBorderB">
<input name="ClassName" type="text" class="input" id="ClassName" value="<%=rs(0)%>" size="22">
<input name="id" type="hidden" id="id" value="<%=id%>">
</td>
</tr>
<tr align="center">
<td colspan="2"> <%if power(5)="0" then
response.write "<font color=red>您没有修改分类的权限</font> "
else
response.write "<input name='Submit' type='submit' class='button' value=' 提 交 '> "
end if
response.write "<input name='Submit' type='button' class='button' value=' 返 回 ' onclick='javascript:history.back()'>"%> </td>
</tr>
</table>
</form>
</body>
</html>
<%set rs=nothing
conn.close
set conn=nothing%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -