<!--#include file="admin_chk.asp"-->
<!--#include file="admin_conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加文章</title>
<link href="page.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="188" height="34" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div align="center">文章添加</div></td>
  </tr>
</table>
<table width="568" height="366" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
  <tr>
    <td valign="top" bgcolor="#FFFFFF">        <br>
      <hr width="98%" size="1" class="form">
        <form name="form1" method="post" action="news_addto.asp">
          <table width="550" height="531" border="0" align="center" cellpadding="0" cellspacing="0">

            <tr>
              <td height="37" colspan="3">文章分类：

<select name="news_flm">
			  		  <%
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open "SELECT  * From news_flm order by news_px",conn,1,1
%>      <% if rs.eof and rs.bof then
response.write "目前还没有分类！"
else
while not rs.eof %>
  <option value="<%=rs("news_flm")%>"><%=rs("news_flm")%></option>
<% rs.movenext
	   wend
	  
	end if
	   rs.close
	   set rs=nothing
	 %>
</select>

              <textarea name="news_test" id="news_test" style="display:none"></textarea></td>
            </tr>
			
            <tr>
              <td height="25" colspan="3">文章标题：
              <input name="news_pt" type="text" class="form" id="news_pt" size="45">              　
</td>
            </tr>
			            <tr>
              <td height="25" colspan="3">标题图片： 
                <input name="shoppic" type="text" id="shoppic" size="30" class="form"> 
              &nbsp; <input type="button" name="Submit2" class="go-wenbenkuang" value="上传标题图片" onClick="window.open('../upload_flash.asp?formname=form1&editname=shoppic&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">　</td>
            </tr>
						            <tr>
                          <td width="216" height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td height="30">页面显示：</td>
                            </tr>
                            <tr>
                              <td><textarea name="ss" cols="50" rows="5" id="ss"></textarea></td>
                            </tr>
                          </table></td>
			            </tr>
            <tr>
              <td width="216" height="29">是否固顶：
              <input name="news_gd" type="checkbox" class="Gray" id="news_gd" value="1"></td>

            </tr>

            <tr>
              <td height="359" colspan="3"><IFRAME ID="eWebEditor1" SRC="../ewebeditor/ewebeditor.asp?id=news_test&style=standard" FRAMEBORDER="0" SCROLLING="no" WIDTH="550" HEIGHT="350"></IFRAME></td>
            </tr>
           <!-- <tr>
              <td height="40" colspan="3">文章作者：
              <input name="news_zz" type="text" class="form" id="news_zz" value=""></td>
            </tr>-->
            <tr>
              <td colspan="3"><input type="submit" name="Submit" value="提交">
              <input type="reset" name="Submit" value="重置"></td>
            </tr>
          </table>
        </form>
    <hr width="98%" size="1" class="form"></td>
  </tr>
</table>

</body>
</html>
 
