<!--#include file="../../here99login/0.asp"-->
<!--#include file="../../conn/zkconn.asp"-->
<% if request("add")="yes" then
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from zhuanti_g"
rs.open sql,conn,1,3
rs.addnew
rs("lbname")=request("lbname")
rs("bt")=request("bt")
rs("bg_kuan")=request("bg_kuan")
rs("bg_xingshi")=request("bg_xingshi")
rs("bg_beijing")=request("bg_beijing")
rs("bg_biankuang")=request("bg_biankuang")
rs("tp_gao")=request("tp_gao")
rs("tp_kuan")=request("tp_kuan")
rs("txt_s")=request("txt_s")
rs("bt_s")=request("bt_s")
rs("bj")=request("bj")
rs("cart")=request("cart")
rs("tp1")=request("tp1")
rs("tp2")=request("tp2")
rs("tp3")=request("tp3")
rs("tp4")=request("tp4")
rs.update
rs.close
set rs = conn.execute("select top 1 id from zhuanti_g order by id desc")
Response.redirect "tianjia2.asp?gid="&rs("id")&""
rs.close
set rs=nothing
end if%><html>
<head>
<title>专题录入第一步</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../css/css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
      
<form action="tianjia1.asp?add=yes" method="POST" name="myform" id="myform">
  第一步：录入页面基本信息
<p>
        
  <table bgcolor=#CCCCCC border=0 cellpadding=3 cellspacing=1 
        width="650" align="center" class="9bang">
    <tbody>
      <tr> 
        <td colspan=4>请选择专题大类&nbsp;<select name="lbname" class="wenbenkuang" onmouseover=this.focus(); >
	<option value="综合专题">综合专题</option>
	<% set rs = conn.execute("select * from lb order by lbid")
	do while not rs.eof%>
	<option value="<%=rs("lbname")%>"><%=rs("lbname")%></option>
	<%rs.movenext
	loop
	rs.close
	set rs=nothing%>
	</select></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" align="center">专题标题</td>
        <td bgcolor=#ffffff class="008c5e"><input name=bt type="text" class="wenbenkuang" id="bt" size="30"></td>
        <td align="center" bgcolor=#f1f1f1 class="008c5e">页面背景颜色</td>
        <td bgcolor=#ffffff class="008c5e"><input name="bj" type="text" class="wenbenkuang" id="bj" value="#f1f1f1"  size="8"> 
          <font color="#0000FF">（输入形式为red或#FFCC00）</font></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 width=15% class="008c5e" align="center">表格宽度</td>
        <td bgcolor=#ffffff width=35% class="008c5e"><span class="9bang"> 
          <input name="bg_kuan" type="text" class="wenbenkuang" id="bg_kuan" value="770" size="8">
          <font color="#0000FF">（输入600-760之间的数字）</font></span> </td>
        <td bgcolor=#f1f1f1 class="008c5e" width="15%"> <div align="center">表格背景颜色</div></td>
        <td bgcolor=#ffffff class="008c5e" width="35%"> <input name="bg_beijing" type="text" class="wenbenkuang" id="bg_beijing" value="#ffffff" size="8"> 
          <font color="#0000FF">（输入形式为red或#FFCC00）</font></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" width="15%" align="center"> <div align="center">表格边框颜色</div></td>
        <td class="008c5e" bgcolor=#FFFFFF width="35%"> <div align="left"> 
            <input name="bg_biankuang" type="text" class="wenbenkuang" id="bg_biankuang" value="#666666"  size="8">
            <font color="#0000FF">（输入形式为red或#FFCC00)</font></div></td>
        <td class="008c5e" bgcolor=#f1f1f1 width="15%"> <div align="center">表格边框形式</div></td>
        <td class="008c5e" bgcolor=#FFFFFF width="35%"> <div align="left"> 
            <input type="radio" name="bg_xingshi" value="2" checked>
            虚线 
            <input type="radio" name="bg_xingshi" value="0">
            无 
            <input type="radio" name="bg_xingshi" value="1">
            正常 </div></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" width="15%" align="center">产品图片宽度</td>
        <td class="008c5e" bgcolor=#FFFFFF width="35%"><span class="9bang"><span class="9bang"> 
          <input name="tp_kuan" type="text" class="wenbenkuang" id="tp_kuan" value="100" size="8">
          <font color="#0000FF">（输入80-200之间的数字）</font></span></span> </td>
        <td class="008c5e" bgcolor=#f1f1f1 width="15%"> <div align="center">产品图片高度</div></td>
        <td class="008c5e" bgcolor=#FFFFFF width="35%"><span class="9bang"> 
          <input name="tp_gao" type="text" class="wenbenkuang" id="tp_gao" value="100" size="8">
          <font color="#0000FF">（输入80-200之间的数字）</font></span></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" width="15%" align="center">普通文字颜色</td>
        <td class="008c5e" bgcolor=#FFFFFF width="35%"> <input name="txt_s" type="text" class="wenbenkuang" id="txt_s" value="#333333"  size="8"> 
          <font color="#0000FF"> （输入形式为red或#FFCC00）</font></td>
        <td class="008c5e" bgcolor=#f1f1f1 width="15%"> <div align="center">标题文字颜色</div></td>
        <td class="008c5e" bgcolor=#FFFFFF width="35%"> <input name="bt_s" type="text" class="wenbenkuang" id="bt_s" value="#ff6600" size="8"> 
          <font color="#0000FF">（输入形式为red或#FFCC00）</font></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 width=15% class="008c5e" align="center">购物车图标</td>
        <td bgcolor=#ffffff class="008c5e"><input name="cart" type="text" class="wenbenkuang" id="cart" value="buy.gif" size="30"></td>
        <td colspan="2" bgcolor=#FFFFFF class="008c5e"><iframe src="sc_cart.asp" width=250 height=20 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="NO"></iframe></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" align="center">tp1</td>
        <td bgcolor=#ffffff class="008c5e"><input name="tp1" type="text" class="wenbenkuang" id="tp1" size="30"></td>
        <td colspan="2" bgcolor=#FFFFFF class="008c5e"><iframe src="sc_tp1.asp" width=250 height=20 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="NO"></iframe></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" align="center">tp2</td>
        <td bgcolor=#ffffff class="008c5e"><input name="tp2" type="text" class="wenbenkuang" id="tp2" size="30"></td>
        <td colspan="2" bgcolor=#FFFFFF class="008c5e"><iframe src="sc_tp2.asp" width=250 height=20 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="NO"></iframe></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" align="center">tp3</td>
        <td bgcolor=#ffffff class="008c5e"><input name="tp3" type="text" class="wenbenkuang" id="tp3" size="30"></td>
        <td colspan="2" bgcolor=#FFFFFF class="008c5e"><iframe src="sc_tp3.asp" width=250 height=20 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="NO"></iframe></td>
      </tr>
      <tr> 
        <td bgcolor=#f1f1f1 class="008c5e" align="center">tp4</td>
        <td bgcolor=#ffffff class="008c5e"><input name="tp4" type="text" class="wenbenkuang" id="tp4" size="30"></td>
        <td colspan="2" bgcolor=#FFFFFF class="008c5e"><iframe src="sc_tp4.asp" width=250 height=20 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="NO"></iframe></td>
      </tr>
      <tr> 
        <td colspan="4" bgcolor=#ffffff class="008c5e" align="center"><input name="submit" type="submit" class="go-wenbenkuang" value="提交"> 
          <input name="Reset" type="reset" class="go-wenbenkuang" value="重填"></td>
      </tr>
    </tbody>
  </table>
        </form>
</body>
</html>