📄 product_fenlei.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="Check.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>商品分类</title>
<STYLE>BODY {
FONT-SIZE: 11pt
}
TD {
FONT-SIZE: 11pt
}
a { text-decoration: none; color: #0000FF }
a:hover { text-decoration: underline; color: #FF0000 }
</STYLE>
</head>
<body bgcolor="#FFFFFF" background="../pic/user/bg.jpg" text="#000000" leftmargin="0" topmargin="0">
<br>
<table width="630" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#FFFFFF" bordercolordark="#E0E0E0" align="center">
<tr>
<td height="273" align="center"><br>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center">
<td>
<input type="button" name="submit222" value="一级分类名称管理" onClick="javascript:window.location='product_fenlei.asp'">
</td>
<td>
<input type="button" name="submit23" value="二级分类名称管理" onClick="javascript:window.location='product_fenlei2.asp'">
</td>
</tr>
</table>
<br>
<%
if request("submit")<>"" then
response.Redirect "../test.htm"
end if
%>
<table width="320" border="1" align="center" cellpadding="3" cellspacing="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Class_1 "
rs.open sql,conn,1
while not rs.eof and not rs.bof
%>
<tr align="center">
<form method="post" action="product_fenlei.asp">
<td width="65">
<input type="submit" name="submit" src style="height:14pt" value="删除" onclick="return confirm('你确认删除该一级分类名称吗?\r \n提示:此操作将删除该分类里的全部商品资料,\n删除前请确认该分类没有任何商品资料。')">
</td>
<td width="182">
<input type="hidden" name="oldClass_1_Name" value="<%=rs("Class_1_Name")%>">
<input type="hidden" name="id" value=<%=rs("id")%>>
<input type="text" name="Class_1_Name" src style="height:13pt;BORDER-RIGHT: #eeeeee 1px solid; BORDER-TOP: #aaaaaa 1px solid; BORDER-LEFT: #aaaaaa 1px solid; BORDER-BOTTOM: #eeeeee 1px solid; BACKGROUND-COLOR: #FFFFFF; color: #FF0000" value="<%=rs("Class_1_Name")%>">
</td>
<td width="65">
<input type="submit" name="submit" src style="height:14pt" value="修改">
</td>
</form>
</tr>
<%
rs.movenext
wend
%>
</table>
<br>
<form method="post" action="product_fenlei.asp">
<input type="text" name="Class_1_Name">
<input type="submit" name="submit" value="增加">
</form>
</td>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -