📄 yenewsinfo.asp
字号:
<!--#include file="Inc/syscode.asp"-->
<%
'=================================
'
' 冠龙网络科技有限公司
' 网址:http://www.glgk.com
' 电话 :0573-2123665
' 信箱:webmaster@glgk.com
' QQ:53180986
'
'=================================
%>
<!-- #include file="Inc/Head.asp" -->
<TABLE width="760" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
<TR>
<TD width=196 vAlign=top bgcolor="#FFFFFF">
<table width="92%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="top">
<!-- 会员登陆 -->
<!-- #include file="L_login.asp" -->
<!-- 新闻中心 -->
<!-- #include file="L_news.asp" -->
<!-- 邮件列表 -->
<!-- #include file="L_mail.asp" -->
</td>
</tr>
</table>
</TD>
<TD width=1 background=img/kropki_pion_naBialym.gif><IMG height=2 src="img/1x1_pix.gif" width=1></TD>
<TD vAlign=top>
<TABLE width="90%" border=0 align="right" cellPadding=0 cellSpacing=0>
<!-- 广告栏 -->
<!-- #include file="L_adcolumn.asp" -->
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="555" border=0>
<TR>
<TD height="25"><img src="Img/cnpt/pt_22.gif" width="450" height="30"></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height=1 background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" width=10></TD>
</TR>
<TR>
<TD height=1>
<%
if not isEmpty(request.QueryString("id")) then
id=request.QueryString("id")
else
id=1
end if
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * From Yenews where id="&id, conn,3,3
'纪录访问次数
rs("counter")=rs("counter")+1
rs.update
nCounter=rs("counter")
'定义内容
content=ubbcode(rs("content"))
%>
<table width="100%" height="19" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="22" bgcolor="#FDFFFB"> <img src="img/arrow.gif" width="16" height="13"
><strong>业内资讯 => <%=rs("title")%></strong></td>
</tr>
<tr>
<td height="1" bgcolor="#CCCCCC"></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FDFFFB">
<tr>
<td>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td height="5"></td>
</tr>
<tr>
<td><div align="center">发布日期:[<%=rs("time")%>] 共阅[<%=rs("counter")%>]次</div></td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td> <%=content%> <%rs.close%> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" height="19" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" colspan="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td width="77%" height="22" bgcolor="#FDFFFB"> <div align="right"></div></td>
<td width="23%" bgcolor="#FDFFFB"
>【<a href='javascript:window.print()'>打印此页</a>】 【<a href='javascript:history.back()'>返回</a>】</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD height=1 background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" width=10></TD>
</TR>
<TR>
<TD height=1> </TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -