📄 move.asp
字号:
<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('请先登录!');history.go(-1);</script>"
response.End
else
if session("rank")>1 then
response.Write "<div align=center><font size=5 color=red><b>你的权限不够!</b></font></div>"
response.End
end if
end if
%>
<title>转移类别</title>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699cc">
<tr>
<td height="20" bgcolor="#6699cc" align="center"><font color="#FFFFFF">商品类别转移</font></td>
</tr>
<tr>
<td height="89" bgcolor="#FFFFFF"> <br>
<table width="56%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
<form name="form1" method="post" action="savemove.asp">
<tr bgcolor="#FFFFFF">
<td width="40%" align="right">请选择您要转移的小类:</td>
<td width="60%"> <select name="sortsid" size="1" class="smallinput" >
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select sortsid,sorts from sorts order by sortsid",conn,1,1
if rs.EOF and rs.BOF then
response.Write "<option value=0>还没有分类</option>"
else
do while not rs.EOF
%>
<option value="<%=int(rs("sortsid"))%>"><%=trim(rs("sorts"))%></option>
<%rs.MoveNext
loop
rs.Close
set rs=nothing
end if%>
</select> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="right">请选择所属大类:</td>
<td> <select name="categoryid" size="1" class="smallinput" >
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select categoryid,category from category order by categoryorder",conn,1,1
if rs.eof and rs.bof then
response.Write "<option value=0>还没有分类</option>"
else
do while not rs.eof
%>
<option value="<%=int(rs("categoryid"))%>"><%=trim(rs("category"))%></option>
<%rs.movenext
loop
rs.close
set rs=nothing
end if%>
</select> </td>
</tr>
<tr bgcolor="#FFFFFF" align="center">
<td height="30" colspan="2"><input type="submit" name="Submit" value="确定转移"></td>
</tr>
</form>
</table></td>
</tr>
</table>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699cc">
<tr>
<td height="20" bgcolor="#6699cc"> <div align="center"><font color="#FFFFFF">操作注意事项及说明</font></div></td>
</tr>
<tr>
<td height="34" bgcolor="#FFFFFF"> <table width="80%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td height="16"><font color="#FF0000">·转移小类的同时也转移小类下所有的商品。<br>
·转移后需要修改小分类的排序。</font></td>
</tr>
</table></td>
</tr>
</table>
<br>
<!--#include file="footer.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -