classmanage.asp
来自「网店批发系统,很好很强大,很好很强大很好很强大」· ASP 代码 · 共 109 行
ASP
109 行
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../inc/check_inc.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<title>商品类别管理</title>
</head>
<body>
<!--#include file="inc/ClassManage_inc.asp"-->
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="22" colspan="4" class="listtitle" style="padding-top:2px;">
<span style="float:left;">当前类别:
<select onchange="window.open(options[selectedIndex].value,'_self')">
<%
if ClassLevel=0 then
%>
<option>请选择您想添加类别的小类</option>
<%
else
%>
<option><%=ClassNameNow%>下小类别管理</option>
<%
end if
%>
<option>----------------------</option>
<%
if ClassNum <> -1 then
for j = 0 to (i-1)
%>
<option value="ClassManage.asp?ClassLevel=<%=ClassLevel+1%>&ClassID=<%=proClass(j,0)%>"><%=proClass(j,1)%></option>
<%
next
end if
%>
</select></span>
<%
if ClassLevel<>0 and ClassLevel<>"" then
%>
<a href="ClassManage.asp?ClassLevel=<%=ClassLevel-1%>&ClassID=<%=ClassIDNow%>" style="float:right;"><img src="images/up.gif" width="15" height="18" align="absmiddle" border="0" /> 点击返回上一层</a>
<%
end if
%> </td>
</tr>
<tr>
<td align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
<td align="center"> </td>
</tr>
<tr>
<td width="70" height="24" align="center" class="listtop">ID号</td>
<td width="348" align="center" class="listtop">类别名称</td>
<td width="347" align="center" class="listtop">排序号</td>
<td width="200" align="center" class="listtop">操作</td>
</tr>
<%
if ClassNum <> -1 then
for j = 0 to (i-1)
%>
<form name="ClassForm" method="post" action="cs.asp">
<tr onMouseOver="this.style.backgroundColor='#FBF9F4';" onMouseOut="this.style.backgroundColor='#FFFFFF'">
<td height="28" align="center" class="listitem"><%=proClass(j,0)%></td>
<td align="center" class="listitem"><input name="ClassName" type="text" class="input_text" value="<%=proClass(j,1)%>" /></td>
<td align="center" class="listitem"><input name="orderID" type="text" class="input_text" value="<%=proClass(j,2)%>" /></td>
<td align="center" class="listitem"><input name="submit" type="submit" class="Button" value="修改" /> <input type="button" class="Button" value="删除" onclick="window.location.href='cs.asp'" /></td>
</tr>
</form>
<%
next
end if
%>
</table>
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" colspan="4"> </td>
</tr>
<tr>
<td width="70" height="24" align="center" class="listtop"> </td>
<td width="348" align="center" class="listtop">类别名称</td>
<td width="347" align="center" class="listtop">排序号</td>
<td width="200" align="center" class="listtop">操作</td>
</tr>
<form name="ClassForm" method="post" action="ClassManage.asp?Action=save&ClassLevel=<%=ClassLevel%>&ClassID=<%=ClassID%>">
<tr>
<td height="28" align="center" class="listitem">
<input name="ClassTree" type="hidden" value="<%=ClassTreeNow%>" /></td>
<td align="center" class="listitem"><input name="ClassName" type="text" class="input_text" value="" /></td>
<td align="center" class="listitem"><input name="orderID" type="text" class="input_text" value="<%
if ClassNum = -1 then
response.Write "10000"
else
response.Write proClass(i-1,2)+1
end if
%>" /></td>
<td align="center" class="listitem"><input name="submit" type="submit" class="Button" value="添加" />
</td>
</tr>
</form>
</table>
<!--#include file="inc/closeconn_inc.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?