<!--#include file="../../here99login/0.asp"--><!--#include file="../../conn/zkconn.asp"--><html>
<head>
<title>热点产品</title>
<SCRIPT language=javascript>
function check_input() 
{  
	   if (frmAnnounce.texts.value=="")
      { alert("请输入文字");
        frmAnnounce.texts.focus();
	   return false;
       }
	  if (frmAnnounce.texts.value.length>150)
      { alert("文字或彩色文字代码太长！");
        frmAnnounce.texts.focus();
	   return false;
       }

	    if (frmAnnounce.links.value=="")
      { alert("请输入文字链接");
        frmAnnounce.links.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"><br>
  &gt;&gt;当前位置：<font color="#FF3300"><strong>增加热点新闻或热门搜索 </strong></font></div>
<div align="center"> 
  <form name="frmAnnounce" method="post" onSubmit="return check_input()" action="addhotpro.asp">
    <table width="550" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
      <tr valign="middle" bgcolor="#FFFFFF"> 
        <td width="21%" height="25"> <div align="right">出现位置：</div></td>
        <td width="79%" height="25"> <select name="lbid" class="wenbenkuang">
            <option value="0">首页</option><option value="99">热门搜索</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="21%" height="25"> <div align="right">文字说明：</div></td>
        <td width="79%" height="25"> <textarea name=texts cols=48 rows=2 class=wenbenkuang id="texts" type="text"><% if Request.form("EditorValue")<>null or Request.form("EditorValue")<>"" then response.write replace(Request.form("EditorValue"),vbcrlf,"")%></textarea>
          <a href="edit/edit.asp">&gt;&gt;<font color="#FF0000">彩</font><font color="#00FF00">色</font><font color="#333300">文</font><font color="#FF6600">字</font>编辑器</a> 
        </td>
      </tr>
      <tr valign="middle" bgcolor="#FFFFFF"> 
        <td width="21%" height="25"> <div align="right">链接：</div></td>
        <td width="79%" height="25"> <input name="links" type="text" class="wenbenkuang" size="60" maxlength="200"> 
        </td>
      </tr>
      <tr valign="middle" bgcolor="#FFFFFF"> 
        <td height="25"> <div align="center"> </div></td>
        <td height="25"><input name="Submit" type="submit" class="go-wenbenkuang" value="增加">
          <input name="Submit2" type="button" class="go-wenbenkuang" value="返回" onclick="javascript:window.history.go(-1)">
        </td>
      </tr>
    </table>
  </form>
&gt;&gt;注意：文字说明不能超出12个汉字(不含彩色文字html代码)，否则会影响到前台页面显示效果。</div>
</body>
</html>
<% rs.close
set rs=nothing%>