📄 news_add.asp
字号:
<%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="#cccccc" bordercolordark="#FFFFFF">
<form name="addform" method="post" action="newssave.asp?action=add">
<tr>
<td width="21%" align=center height=30>新闻标题</td>
<td width="79%"> <input name="title" type="text" size="39"> 20个汉字</td>
</tr>
<tr>
<td align=center height=30>内容</td>
<td> <INPUT type="hidden" name="news" value=""><IFRAME ID="eWebEditor1" src="../../oledit/ewebeditor.asp?id=news&style=s_light" frameborder="0" scrolling="no" width="550" height="350"></IFRAME></td>
</tr>
<tr>
<td height=30 align=center>新闻分类</td>
<td> <select name="newssort">
<option value="">请选择...</option>
<%sql="select * from SMT_xxnewssort order by SMT_date desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
while not rs.eof%>
<option value="<%=rs("SMT_id")%>"><%=rs("SMT_newssort")%></option>
<%rs.movenext
wend
rs.Close()%>
</select></td>
</tr>
<tr>
<td width="21%" align=center height=30>新闻来源</td>
<td width="79%"> <input name="ly" type="text" size="30" maxlength="10" value="<%=cityname%>"></td>
</tr>
<tr>
<td width="21%" align=center height=30>添加人</td>
<td width="79%"> <input name="addr" type="text" size="30" maxlength="10" value="<%=session("admin")%>"></td>
</tr>
<tr>
<td height=30 align=center colspan="2"><input type="submit" name="Submit" value="提 交" class="input1"></td>
</tr>
</form>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -