📄 manage_newsopen.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=../DataBase/conn.asp-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from tb_News where id="&request("id")
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新闻信息</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
.style1 {
font-size: 14px;
font-weight: bold;
}
body {
background-color: #efefef;
}
-->
</style>
<link href="../css/mangage.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="Manage_newssave.asp">
<table width="500" height="456" border="0" align="center">
<tr align="center">
<td height="55" colspan="2"><span class="style1">新闻信息</span></td>
</tr>
<tr>
<td width="15%" height="44" valign="top">新闻类别:</td>
<td width="85%" valign="top"><select name="type" class="wenben" id="type">
<option value="新闻报道" <%if rs("type")="新闻报道" then%>selected<%end if%>>新闻报道</option>
<option value="新车报道" <%if rs("type")="新车报道" then%>selected<%end if%>>新车报道</option>
<option value="集团动向" <%if rs("type")="集团动向" then%>selected<%end if%>>集团动向</option>
<option value="站内公告" <%if rs("type")="站内公告" then%>selected<%end if%>>站内公告</option>
</select>
<input name="post" type="hidden" id="post" value="<%if request("id")<>"" then%><%=request("id")%><%else%>true<%end if%>"></td>
</tr>
<tr>
<td height="44" valign="top">新闻标题:</td>
<td valign="top"><input name="title" type="text" class="wenben" id="title" value="<%=rs("title")%>" size="40"></td>
</tr>
<tr>
<td valign="top">新闻内容:</td>
<td><textarea name="content" cols="55" rows="20" class="wenben" id="content"><%=rs("content")%></textarea></td>
</tr>
<tr align="center">
<td colspan="2"><input type="submit" name="Submit" value=" 提 交 ">
<input type="reset" name="Submit3" value=" 重 置 ">
<input type="button" name="Submit2" value=" 关 闭 " onClick="window.close()"></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -