<!--#include file="../prohead.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from productclass_1 where gsid="&session("id")&""
rs.open sql,conn,1,1
%>

<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=middle width=150>
      <SCRIPT LANGUAGE='JavaScript' SRC='../images/left.js' TYPE='text/javascript'></script>

      <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle width=150 
          background=../images/leftmanu_bg.gif>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD width=150 
                  background=../images/leftmanu_topbg.gif><IMG height=30 
                  src="../images/leftmanu_top.gif" 
              width=150></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="location.href='../index.asp'"><IMG 
                  height=18 src="../images/leftmanu_home.gif" width=16 
                  align=absMiddle> 商务助手首页</TD></TR><TR>
                <TD class=leftmenu1 
                onclick=javascript:menu_display(table1,img1);><IMG id=img1 
                  height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 发布商业信息</TD></TR>
              <TBODY id=table1><!-- 正常情况下  -->
              <TR>
                   <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/add_info.asp">发布供求信息</A> </TD>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/edit.asp">管理供求信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="add_product.asp">发布产品信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			  <TR>
                      <TD class=leftmenu3 height=29><IMG src="../images/minus.gif"> 
					  <A 
                  class=linkstyle3 
                  href="edit.asp"><STRONG>管理产品信息</STRONG></A> <IMG src="../images/now.gif"></TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/company_edit.asp">公司介绍</A></TD>
                    </TR><!-- 正常情况下  -->
					<TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../bizre/index.asp">商贸通档案</A></TD>
                    </TR></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 onclick=menu_display(table2,img2)><IMG 
                  id=img2 height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 查看商业往来</TD></TR>
              <TBODY id=table2><!-- 正常情况下  -->
               <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/receivemessagelist.asp">我收到的留言</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendmessagelist.asp">我发出的留言</A> </TD>
                    </TR>
					              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendnewmessage.asp">发新留言</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../myemail/index.asp">我订阅的信息</A></TD>
                    </TR><!-- 正常情况下  -->
              <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../myfriend/index.asp">我的商业伙伴</A> </TD>

                    </TR><TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../trust/index.asp">会员评价</A> </TD>

                    </TR></TBODY>
              
              <TR>
                    <TD class=leftmenu1 onclick=menu_display(table3,img3)><IMG 
                  id=img3 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的会员资料</TD>
                  </TR>
              <TBODY id=table3 style="DISPLAY: none"><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_info.asp">修改注册信息</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_pass.asp">修改密码</A> </TD>
                    </TR><!-- 正常情况下  -->
                    <TD class=leftmenu1 onclick=menu_display(table4,img4)><IMG 
                  id=img4 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的自助网站</TD>
                  </TR>
              <TBODY id=table4 style="DISPLAY: none">
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/webmod.asp">网站模板选择</A></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/cimg_add.asp?id=<%=session("id")%>">上传公司图片</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../feedback/contact_edit.asp?id=<%=session("id")%>">客户反馈管理</A></TD>
                    
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../work/work.asp">发布招聘信息</A></TD>
                    </TR>
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../work/edit.asp">管理招聘信息</A></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../../companyweb.asp" 
                  target=_blank>浏览我的网站</A></TD>
                    </TR></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="javascript:window.open('../../help/index.asp')"><IMG 
                  id=img5 src="../images/leftmenu_help.gif" 
                  align=absMiddle> 帮助</TD></TR></TBODY></TABLE>
            <IMG height=6 
            src="../images/leftmanu_bottom.gif" width=150><BR><BR>
            <!--#include file="../guestsubmit.asp"-->
            
            <BR><BR></TD></TR>
        </TABLE><BR><BR><BR></TD>
    <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(../images/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle width=628>
      <TABLE cellSpacing=0 cellPadding=0 width=628 border=0>
        <TBODY>
        <TR>
          <TD width=459><IMG height=30 
            src="../images/leftmanu_top1.gif" width=459></TD>
          <TD vAlign=top width=141 
          background=../images/top_nav_bg2.gif></TD>
          <TD width=28><IMG height=30 src="../images/top_nav_5.gif" 
            width=28></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=0 width=578 border=0>
        <TBODY>
        <TR>
              <TD><IMG height=32 src="../images/product_manage.gif" width=578 
            border=0></TD>
            </TR>
			</TBODY></TABLE>
  
	    <table border="1" cellspacing="0" cellpadding="0" Class="TableLine" bordercolor="#e0e0e0" width="578">
          <tr> 
            <td colspan="7" height="22" align=center><b>小 类 管 理</b> </td>
          </tr>
          <tr align="center" height="22"> 
            <td><font color="#FF0000">所属大类</font></td>			
            <td><font color="#FF0000">小类名称</font></td>
            <td><font color="#FF0000">操&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作</font></td>
          </tr>
<%	
if rs.eof or rs.bof then
response.write"<div align=center>您尚未创建产品分类</idv>"
else		
j=0
do while not rs.eof
j=j+1%>
<form name=form2 method=post action=upproductclass_1.asp?cmd=up&SmallClassID=<%=rs("SmallClassID")%>>
          <tr> 
            <td height="20" align="center" bgcolor="#FFFFFF">
			<%
			set rs4=conn.execute("select BigClassName from productclass where BigClassID="&rs("BigClassID")&" and gsid="&session("id")&"")
			response.write""&rs4("BigClassName")&""
			%>
			</td>
            <td height="20" align="center" bgcolor="#FFFFFF"><input type=text name="SmallClassName" value="<%=rs("SmallClassName")%>" size=30 maxlength=50></td>
              <td width="150" height="20" align="center" bgcolor="#FFFFFF"> 
                <input type=submit name=Submit3 value=修改> 
              <INPUT onclick="if(confirm('将删除该分类下的所有产品,确定吗?')){window.location.href='upproductclass.asp?cmd=del&SmallClassID=<%=rs("SmallClassID")%>';}" type=button value=删除 name=button2> 
          </tr>
</form>
<%
rs.MoveNext
Loop
end if
%>
          <tr> 
            <td colspan="7" height="40" align="center" bgcolor="#FFFFFF"><font color="#FF0000">删除操作请谨慎使用！</font></td>
          </tr>
<%
sql="select * from productClass where gsid="&session("id")&""
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1				
if rs.EOF or rs.eof then
response.write"<tr><td align='center' colspan='7' height='25'><a href='addclass.asp'>请先添加产品大类</a></td></tr>"
else
%>
          <tr> 
          <form name="form1" method="post" action="upproductclass_1.asp?cmd=add">
              <td align="center" colspan="7" height="25"> 

在
<select size="1" name="BigClassid" style="font-size: 9pt">
<%
do while not rs.EOF
%>

<option value="<%=rs("BigClassID")%>"><%=trim(rs("BigClassName"))%></option>

<%
rs.MoveNext
loop
%>
</select>
中添加小类：			   
                <input name="SmallClassName" size="25" maxlength="50"> 
        <input type="submit" name="Submit" value="提交">
        <input type="reset" name="Submit2" value="重写">
              </td>
            </form>
          </tr>
<%end if%>
        </table>
<br>
<br>
	  
	  
</tr>
</table>

<IMG 
height=10 src="../images/bottom.gif" width=778><BR>
<!--#include file="../end.asp"-->
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>