📄 view_news.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../../config.asp"-->
<!--#include file="../checklogin.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../img/css1.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
line-height:150%
}
.style1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style>
</head>
<%
id=replace(request.QueryString("id"),"'","")
conn.execute("update oa_news set hits=hits+1 where id="&id)
sqle="select * from oa_news where id="&id
set rs=conn.execute(sqle)
if not rs.eof then
addtime=rs("addtime")
title=rs("title")
content=rs("content")
end if
rs.close
set rs=nothing
%>
<body>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#F2F2F2" class="tabel1">
<tr align="center">
<td height="25" bgcolor="#CC0000"><Font color="#FFFFFF" style="font-size:16px"><strong><%=title%></strong></Font></td>
</tr>
<tr bgcolor="#F9F9F9">
<td height="25" align="center"><%=addtime%></td>
</tr>
<tr bgcolor="#F9F9F9">
<td height="25" align="left"><%=content%></td>
</tr>
<tr bgcolor="#F9F9F9">
<td height="25" align="center"><input name="Submit" type="button" class="tabel1" onClick="window.history.go(-1)" value="返回"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -