<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');history.go(-1);</script>"
response.End
else
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
end if
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>

<body bgcolor="#799AE1">
<table width="80%" border="1" cellspacing="0" cellpadding="1" bordercolor="#6699FF" align="center">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="../images/back_3.gif" rowspan="2"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
              <tr> 
                <td class="12v" > 
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                    <tr> 
                      <td> 
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#006600">
                          <tr> 
                            <td height="16" bgcolor="#FFFFFF"> 
                              <div align="center"><font color="#000000">商品类别转移</font></div>
                            </td>
                          </tr>
                          <tr> 
                            <td height="89" bgcolor="#E8F1FF"> <br>
                              <table width="56%" border="0" align="center" cellpadding="3" cellspacing="0">
                                <form name="form1" method="post" action="savemoveclass.asp">
                                  <tr> 
                                    <td width="40%">请选择您要转移的小类：</td>
                                    <td width="60%"> 
                                      <select name="nclassid" size="1" class="smallinput" >
                                        <%set rs=server.CreateObject("adodb.recordset")
                rs.Open "select nclassid,nclass from shop_nclass order by nclassid",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("nclassid"))%>"><%=trim(rs("nclass"))%></option>
                                        <%rs.MoveNext
                loop
                rs.Close
                set rs=nothing
                end if%>
                                      </select>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td>请选择所属大类：</td>
                                    <td> 
                                      <select name="anclassid" size="1" class="smallinput" >
                                        <%set rs=server.CreateObject("adodb.recordset")
                rs.Open "select anclassid,anclass from shop_anclass order by anclassidorder",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("anclassid"))%>"><%=trim(rs("anclass"))%></option>
                                        <%rs.movenext
                loop
                rs.close
                set rs=nothing
                end if%>
                                      </select>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td height="30" colspan="2"> 
                                      <div align="center"> 
                                        <input type="submit" name="Submit" value="确定转移">
                                      </div>
                                    </td>
                                  </tr>
                                </form>
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br>
<table width="80%" border="1" cellspacing="0" cellpadding="1" bordercolor="#6699FF" align="center">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="../images/back_3.gif" rowspan="2"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
              <tr> 
                <td class="12v" > 
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                    <tr> 
                      <td> 
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#006600">
                          <tr> 
                            <td bgcolor="#FFFFFF"> 
                              <div align="center"><font color="#000000">操作注意事项及说明</font></div>
                            </td>
                          </tr>
                          <tr> 
                            <td height="34" bgcolor="#E8F1FF"> 
                              <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>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
