<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%qx=3%>
<!--#include file="check.asp"-->
<!--#include file="../include/conn.asp"-->
<html>
<head>
<title>添加类别</title>
<link rel="stylesheet" href="../include/css.css" type="text/css">
</head>
<script language="javascript">
<!--
   function check() {
       if (form1.newTitle.value == "")
       {
	   alert("请填写类别名称");
	   form1.newTitle.focus();
	   return false;	   
	   }
       return true;
    }
//-->
</script>
      
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" OnLoad = "form1.newTitle.focus();">
<br>
<%Select case Request("action")
case "Add"%>
<form method="POST" action="addlb.asp?action=step1" align="center" onSubmit="return check();" name="form1">
  <table width="80%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
    <tr align="center">
      <td height="21" background="../image/bk.gif" bgcolor="#FFFFFF"><font color="#FF3333">&gt;&gt;新增大类别</font></td>
    </tr>
    <tr align="center"> 
      <td height="30" bgcolor="#FFFFFF">
        <p>类别名称：
          <input type="text" name="newTitle" size="20" id="newTitle" class=wenbenkuang>&nbsp;&nbsp;
		  所属主题：
		  <select name="topic" id="topic">
		    <option value="数码" selected>数码</option>
		    <option value="女人">女人</option>
		    <option value="男人">男人</option>
		    <option value="爱家">爱家</option>
		    <option value="书籍音像">书籍音像</option>
		    <option value="运动">运动</option>
		    <option value="游戏">游戏</option>
		    <option value="花鸟市场">花鸟市场</option>
		    <option value="逛香港">逛香港</option>
	      </select>

          &nbsp;&nbsp;<input type="submit" value="新增" class="go-wenbenkuang" name="B3">
      </td>
    </tr>
    <tr align="center">
      <td height="21" background="../image/bk1.gif" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  </table>
</form>
<%case "Ndd"%>
<form method="POST" action="addlb.asp?action=step2" align="center" onSubmit="return check();" name="form1">
  <input type="hidden" name="lbid" value="<%=Request("lbid")%>">
  <table width="80%" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
    <tr align="center">
      <td height="21" background="../image/bk.gif" bgcolor="#FFFFFF"><font color="#FF3333">&gt;&gt;新增二类别</font></td>
    </tr>
    <tr align="center"> 
      <td height="30" bgcolor="#FFFFFF"> <p>类别名称： 
          <input type="text" name="newTitle" size="20" class=wenbenkuang>
          <input type="submit" value="新增" class="go-wenbenkuang" name="B3">
      </td>
    </tr>
    <tr align="center">
      <td height="21" background="../image/bk1.gif" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  </table>
</form>
<%
'商易仿淘宝4.0.1演示地址
'http://www.ftaobao.com
case "sdd"%>
<form method="POST" action="addlb.asp?action=step3" align="center" onSubmit="return check();" name="form1">
  <input type="hidden" name="lbid" value="<%=Request("lbid")%>">
  <input type="hidden" name="xlbid" value="<%=Request("xlbid")%>">
  <table width="80%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#efefef">
    <tr align="center">
      <td background="../image/bk.gif" bgcolor="#FFFFFF"><font color="#FF3333">&gt;&gt;新增小类别</font></td>
    </tr>
    <tr align="center"> 
      <td height="30" bgcolor="#FFFFFF"> <p>类别名称： 
          <input type="text" name="newTitle" size="20" class=wenbenkuang>
          <input type="submit" value="新增" class="go-wenbenkuang" name="B3">
      </td>
    </tr>
    <tr align="center">
      <td height="21" background="../image/bk1.gif" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  </table>
</form>
<%end Select%>
<div align="center">
  <input type="button" name="button" value="关闭窗口" OnClick="Javascript:window.close();" class="go-wenbenkuang">
</div>
</body>
</html>
