<%dbdns="../../"%>
<!--#include file="../../inc/conn.asp"-->
<!--#include file="../cook.asp"-->
<%if fla15<>1 then
response.write "<script>alert('操作权限出错，您没有权限操作些功能');history.go(-1);</Script>"
Response.End 
end if%>
<%=citycss%>
<br>

<table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#6C90D1" bordercolordark="#FFFFFF">
<%sql="select * from dlxf_xxnews where dlxf_id="&request("id")
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1%>
<form name="addform" method="post" action="newssave.asp?action=edit&page=<%=request("page")%>">
<input name="id" type="hidden" value="<%=request("id")%>">
  <tr>
    <td width="21%" align=center height=30>新闻标题</td>
	<td width="79%">　<input name="title" type="text" size="39" maxlength="20" value="<%=rs("dlxf_title")%>"> 20个汉字</td>
  </tr>
  <tr>
    <td align=center height=30>内容</td>
	<td>　<input type="hidden" name="news" value="<%=Server.HTMLEncode(rs("dlxf_news"))%>"><iframe ID="eWebEditor1" src="../../oledit/ewebeditor.asp?id=news&style=s_light" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe> 
  </tr>
  <tr>
    <td height=30 align=center>新闻分类</td>
	<td>　<select name="newssort">
<option value="">请选择...</option>
<%sql1="select * from dlxf_xxnewssort order by dlxf_date desc"
set rs1=server.createobject("ADODB.Recordset")
rs1.open sql1,conn,1,1
while not rs1.eof%>
<option value="<%=rs1("dlxf_id")%>"<%if rs("dlxf_newssort")=rs1("dlxf_id") then%> selected<%end if%>><%=rs1("dlxf_newssort")%></option>
<%rs1.movenext
wend
rs1.Close()%> 
</select></td>
  </tr>
  <tr>
    <td align=center height=30>新闻来源</td>
	<td>　<input name="ly" type="text" size="30" maxlength="10" value="<%=rs("dlxf_ly")%>"></td>
  </tr>
  <tr>
    <td align=center height=30>添加人</td>
	<td>　<input name="addr" type="text" size="30" maxlength="10" value="<%=rs("dlxf_addr")%>"></td>
  </tr>
  <tr>
    <td height=30 align="center" colspan="2"><input type="submit" name="Submit" value="提 交" class="input1"></td>
  </tr>
</form>
<%rs.close%>
</table>
