<!--#include file="../../here99login/0.asp"--><!--#include file="../../conn/zkconn.asp"-->
<html>
<head>
<SCRIPT language=javascript>
function Validnumber(item){
	etext=item;
	elen=item.length;
	for (i=0;i<=elen-1;i++){
  		aa=etext.charAt(i)
  		if (aa<'0'||aa>'9') return false;
  	}
  	return true;
}

function check_input() 
{  
	if (frmAnnounce.pic1.value=="")
	{ alert("请上传图片1");
	frmAnnounce.pic1.focus();
	return false;
	}
	if (frmAnnounce.link1.value=="")
	{ alert("请输入图片1链接");
	frmAnnounce.link1.focus();
	return false;
	}
	return true;
}
</SCRIPT>
<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">
<div align="center"><font size="2"><br>&gt;&gt;当前位置：<font color="#FF3300"><strong>增加首页推荐产品</strong></font> 
  </font> </div>
<form action="firstpic_addtodb.asp" method="POST" onSubmit="return check_input()" name="frmAnnounce">
  <table width="90%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#CCCCCC">
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td colspan=2 width="44%" height="25">图片位置： 
        <select name="lbid" class="wenbenkuang" id="lbid">
          <option value="0">首页</option>
          <% set rs = conn.execute("select * from lb order by lbid")
		  do while not rs.eof%><option value="<%=rs("lbid")%>"><%=rs("lbname")%></option>
<%rs.movenext
loop
%>
        </select> </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td width="44%" height="25"> 图片1: <input name="pic1" type="text" class="wenbenkuang"> 
        <input type="checkbox" name="ifbr1" value="<br>">
        在此图片后换行 </td>
      <td width="56%" height="25"><iframe name="ad" frameborder=0 height=20 scrolling=no src=shangchuan1.asp></iframe> 
      </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td height="25" colspan="2">链接： 
        <input name="link1" type="text" class="wenbenkuang" size="100"> </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td width="44%" height="25">图片2: <input name="pic2" type="text" class="wenbenkuang"> 
        <input type="checkbox" name="ifbr2" value="<br>">
        在此图片后换行 </td>
      <td width="56%" height="25"><iframe name="ad" frameborder=0 height=20 scrolling=no src=shangchuan2.asp></iframe> 
      </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td height="25" colspan="2">链接： 
        <input name="link2" type="text" class="wenbenkuang" size="100"> </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td width="44%" height="25">图片3: <input name="pic3" type="text" class="wenbenkuang"> 
        <input type="checkbox" name="ifbr3" value="<br>">
        在此图片后换行 </td>
      <td width="56%" height="25"><iframe name="ad" frameborder=0 height=20 scrolling=no src=shangchuan3.asp></iframe></td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td height="25" colspan="2">链接： 
        <input name="link3" type="text" class="wenbenkuang" size="100"> </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td width="44%" height="25">图片4: 
        <input name="pic4" type="text" class="wenbenkuang"> </td>
      <td width="56%" height="25"><iframe name="ad" frameborder=0 height=20 scrolling=no src=shangchuan4.asp></iframe></td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td height="25" colspan="2">链接： 
        <input name="link4" type="text" class="wenbenkuang" size="100"> </td>
    </tr>
    <tr valign="middle" bgcolor="#FFFFFF"> 
      <td height="25" colspan="2">&nbsp;</td>
    </tr>
    <tr align="center" valign="middle" bgcolor="#FFFFFF"> 
      <td height="25" colspan="2"> <input name="Submit" type="submit" class="go-wenbenkuang" value="添加"> 
        <input name="Submit2" type="reset" class="go-wenbenkuang" value="重写"> 
      </td>
    </tr>
  </table>
</form>
</body>
</html>
