📄 news.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ubb.asp"-->
<!--#include file="include/config_ad.asp"-->
<%
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from news where news_id="&request("news_id")
rs.open sql,conn,3,3
news_title=rs("news_title")
news_person=rs("news_person")
news_time=rs("news_time")
%>
<%
'**********************************
'版本:Host_free 3.0 *
'官方网站:Http://www.850518.com *
'技术论坛:Http://forum.850518.com *
'QQ:54455245 (欢迎咨询商业版) *
'MSN: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="style.css" rel=stylesheet>
<title><%=news_title%></title>
</head>
<body bgcolor="#EEEEEE">
<div align="center">
<center>
<table width="550" border="1" cellpadding="0" cellspacing="0" bordercolor="#FF0000" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="22" bgcolor="#FF3300"> <p align="center"><font color="#FFFFFF"><strong><%=news_title%></font></td>
</tr>
<tr>
<td width="100%" height="1"></td>
</tr>
<tr>
<td width="100%" height="20"> <p align="center">
<%call news_ad%>
</td>
</tr>
<tr>
<td width="100%"> <hr align="center" size="1" color="#FF0000">
</td>
</tr>
<tr>
<td width="100%"> <div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="98%">
<tr>
<td width="100%"><%=code_jk(rs("news_text"))%></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td width="100%"> </td>
</tr>
<tr>
<td width="100%" height="20" bgcolor="#FF3300"> <p align="center"><font color="#FFFFFF">[
<a class="white" href="javascript:window.close()">关闭窗口</a> ]</font></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing%>
<%
'**********************************
'版本:Host_free 3.0 *
'官方网站:Http://www.850518.com *
'技术论坛:Http://forum.850518.com *
'QQ:54455245 (欢迎咨询商业版) *
'MSN: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -