⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shownews.asp

📁 北京商务网
💻 ASP
字号:
<%@ codepage ="936" %><!--#include file="../conn/dbconn1.asp"--><!--#include file="../inc/config.asp"--><script language="JavaScript" src="../inc/move.js"></script><LINK href="../css/Style.css" rel=stylesheet type=text/css><STYLE type=text/css><!--td { font-family: "宋体"; font-size: 9pt; line-height: 14pt; }--></STYLE><script language="javascript">function show_sader(mylink){window.open(mylink,'','top=50,left=50,width=500,height=480,scrollbars=no')}</script><%on error resume nextdim newsiddim hitsnewsid=request("newsid")hits=request("hits")dim sqldim sql1dim rsset rs=server.createobject("adodb.recordset")sql1="update hyxx set hits=hits+1 where newsid="+cstr(newsid)+"" rs.open sql1,conn,1,1%><%sql="select * from hyxx where newsid="+cstr(newsid)+" order by newsID desc"Set rs= Server.CreateObject("ADODB.Recordset") rs.open sql,conn,1,1 showContentrs.close set rs=nothingconn.closeset conn=nothing sub showContent%><title><%=rs("title")%></title><center><p><iframe src="../adshj/Ad.asp" width=482 height=62 border=0 frameborder=0 framespacing=0 marginheight=1 marginwidth=1 noResize scrolling=no vspace="0" name="I1"></iframe></p><table border="0" cellPadding="0" cellSpacing="0" align=center><tr><td valign="top"><table border="0" width="550" cellspacing="1" style="border-collapse: collapse" cellpadding="0"><tr><td align="center" width="550" height="49" bgcolor="#F4FAF1"><br><b><font color="#FF6600" class="f12"><span style="font-size: 13.5pt; "><%=rs("title")%></span></font></b><span style="font-size: 10.5pt">&nbsp;</span><font color="gray"><br>(发布日期:<%=rs("dateandtime")%>)</font><font color="#FF0000">&nbsp; </font><font color="#808080">浏览人数:</font><font color="#FF0000"><%=rs("hits")%></font></td></tr><tr><td align="center" width="550" height="7" bgcolor="#F4FAF1"><p align="right"><a href=javascript:initialize(); style="text-decoration: none"><font color="#800000"><img src=../pict/dotitem.gif widht=10 height=12 border=0 alt='点此滚屏'></font></a><font color="#800000">鼠标双击自动滚屏&nbsp;</font></td></tr><tr><TD background=images/bg_b.gif style="color: #000; font-family: 宋体; font-size: 12px; line-height:100%" bgcolor="#F4FAF1" height="1"><IMG height=1 src="" width=1></TD></tr><%if rs("selectpic")=1 then%><tr><td width="550" valign="top" height="221" bgcolor="#F4FAF1"><div align="center"><center><table border="0" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber1"><tr><td width="100%" height="55">&nbsp;&nbsp;<img hspace=1 src="pic/<%=rs("picurl")%>" vspace=1 align="left" style="border: 3px solid #8BC86F; "> <%=Replace(rs("content"),chr(13),"<br><br>&nbsp;&nbsp;&nbsp;")%></td></tr><tr><td width="100%" height="2"><p align="right"><b><font color="#111111"><%=rs("nfrom")%></font></b></td></tr></table></center></div></td></tr><%else%><td valign=top width="550" height="17" bgcolor="#F4FAF1"><div align="center"><center><table border="0" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber2"><tr><td width="100%">&nbsp;&nbsp; <%=Replace(rs("content"),chr(13),"<br><br>&nbsp;&nbsp;&nbsp;")%></td></tr><tr><td width="100%"><p align="right"><b><font color="#111111"><%=rs("nfrom")%></font></b></td></tr></table></center></div></td><%end if%><tr><TD background=images/bg_b.gif style="color: #000; font-family: 宋体; font-size: 12px; line-height:100%" bgcolor="#F4FAF1"><IMG height=1 src="" width=1></TD></tr><tr><td align="right" width="550" height="20" bgcolor="#F4FAF1"><a href="sendmail.asp?newsid=<%=rs("newsid")%>"><img border="0" src="images/emailtofriend.gif" alt="把本篇文章推荐给我的好友"></a>&nbsp;&nbsp;&nbsp;<a href="javascript:window.print();"><img border="0" src="images/print.gif" alt="打印本篇文章"></a>&nbsp;&nbsp;&nbsp;<a href="javascript:window.close()"><img border="0" src="images/back.gif" alt="关闭窗口"></td></tr></table></td></tr></table><%end sub%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -