📄 saveupdatenews.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("adminname")="" then
response.redirect "relogin.asp"
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系统管理 | 新闻管理 | 新闻修改成功</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<body>
<%
title=request("title")
text= request.form("text")
id=request("id")
sql="select * from exam_news where id="&id
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
rs("title")=title
rs("text")=text
rs("fabsj")=date()
rs.update
%>
<div align="center">
<center>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="25">
<tr>
<td width="100%">当前位置: <a href="adminsomething.asp">综合管理</a>
<span lang="en-us">></span> 新闻管理<span lang="en-us">
</span><a href="postnews.asp">添加新闻</a></td>
</tr>
</table>
<br><br>
<table cellspacing="1" style="border-collapse: collapse" bordercolor="#799AE1" width="400" id="AutoNumber2" border="1">
<tr>
<td width="100%" height="25" bgcolor="#6699CC" background="images/admin_bg_1.gif" bordercolor="#799AE1">
<p align="center"><b><font color="#FFFFFF">操作成功</font></b></td>
</tr>
<tr>
<td width="100%" height="160" bgcolor="#FFFDE8">
<p align="center"><font size="2">祝贺您,已经成功修改新闻!</font></td>
</tr>
<tr>
<td width="100%" height="25" bgcolor="#FFFDE8">
<p align="center">
<input type="button" value="预览新闻" name="B3" class="s02" onclick="window.location='previewnews1.asp?id=<%=id%>'"><span lang="en-us">
</span>
<input type="button" value="返 回" name="B3" class="s02" onclick="window.location='adminnews.asp'"></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -