?? mclass.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'/*----------------------------------------------
'項目名: 東區(qū)網(wǎng)上書店(ASP課程設(shè)計)
'開始日期: 2003年12月18日18:00
'完成日期: 2003年12月27日53:00
'最后修改: -
'制作地點: 科干東區(qū)宿舍
'程序制作: 陳文杰
'聯(lián)系方式: QQ:168909
'
'
' Email:Cwj@edu.21cn.com
'
' *未經(jīng)同意本程序不得使用!*
'
' 請尊重他人勞動成果,保留上面信息!
'-----------------------------------------------*/
%><!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/chk.asp"-->
<%
if session("rank")>1 then
call Msgbox("你的權(quán)限不夠!","Back","None")
response.End
end if
%>
<%
if NOT isempty(request("MoveSubmit")) then
dim sortsid,categoryid
sortsid=int(request("sortsid"))
categoryid=int(request("categoryid"))
set rs=server.CreateObject("adodb.recordset")
rs.open "select sortsid,categoryid from sorts where sortsid="&sortsid ,conn,1,3
rs("categoryid")=categoryid
rs.Update
rs.Close
set rs=nothing
call MsgBox("轉(zhuǎn)移成功!","None","None")
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>東區(qū)網(wǎng)上書店</title>
<link href="../style.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--#include file="head.htm"-->
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="219" align="left" valign="top"><br>
<!--#include file="menu.htm"-->
<br></td><td width="561" align="left" valign="top">
<br> <table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../images/w.gif" width="18" height="18"></td>
<td style="color:#415373">商品類別轉(zhuǎn)移</td>
</tr>
</table> <br> <br> <form name="form1" method="post" action="">
<table width="56%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="56%" align="right">請選擇您要轉(zhuǎn)移的小類:</td>
<td width="44%">
<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>
<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 align="center">
<td height="30" colspan="2"><input name="MoveSubmit" type="submit" id="MoveSubmit" value="確定轉(zhuǎn)移"></td>
</tr>
</table>
</form> <br> <table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../images/w.gif" width="18" height="18"></td>
<td style="color:#415373">操作注意事項及說明</td>
</tr>
</table> <table width="80%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td height="16"><font color="#FF0000">·轉(zhuǎn)移小類的同時也轉(zhuǎn)移小類下所有的商品。<br>
·轉(zhuǎn)移后需要修改小分類的排序。</font></td>
</tr>
</table> <br>
</td>
</tr>
</table>
<!--#include file="foot.htm"-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -