📄 news_view.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="include.asp"-->
<%
dim dbid
dim sql
dbid=request("id")
set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from HN_news where id="&dbid
rs.open sql,conn,1,3
rs("hotclick")=rs("hotclick")+1
rs.update
demo=replace(rs("demo"),chr(10)+chr(13),"<br>")%>
<HTML><HEAD><TITLE><%
If WebTitle="" Then
Response.Write WebName
Else
Response.Write WebName&" --> "&WebTitle
End if
%></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="<%=W_WebSiteKeyword%>">
<meta name="description" content="<%=W_WebSiteIntr%>">
<LINK href="css.css" type=text/css rel=stylesheet>
<script language="JavaScript" src="images/js.js"></script>
</head>
<body onLoad="MM_preloadImages('images/index_03_011.gif','images/index_03_021.gif','images/index_03_031.gif','images/index_03_041.gif','images/index_03_051.gif','images/index_03_061.gif')">
<table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14" rowspan="2" valign="top"><img src="images/index_01.gif" width="14" height="600" alt=""></td>
<td width="298" height="83" valign="top"><a href="Index.asp"><img src="images/index_021.gif" alt="" width="298" height="83" border="0"></a></td>
<td valign="top" background="images/index_03_07.gif"><a href="News.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','images/index_03_011.gif',1)"><img src="images/index_03_01.gif" width="101" height="83" border="0" name="Image1"></a><a href="Article.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/index_03_021.gif',1)"><img src="images/index_03_02.gif" width="110" height="83" border="0" name="Image2"></a><a href="Product.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/index_03_031.gif',1)"><img src="images/index_03_03.gif" width="117" height="83" border="0" name="Image3"></a><a href="Download.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/index_03_041.gif',1)"><img src="images/index_03_04.gif" width="116" height="83" border="0" name="Image4"></a><a href="Aboutus.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/index_03_051.gif',1)"><img src="images/index_03_05.gif" width="109" height="83" border="0" name="Image5"></a><a href="Gbook.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/index_03_061.gif',1)"><img src="images/index_03_06.gif" width="103" height="83" border="0" name="Image6"></a></td>
</tr>
<tr>
<td height="517" colspan="2" valign="top" background="images/bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="503"><table width="700" height="192" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50" valign="top" background="images/bg2.jpg"><img src="images/index_v5_news.gif" width="50" height="492"></td>
<td valign="top" background="images/bg2.jpg"><br>
<br>
<table width="95%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td height="30"><div align="center" class="style1"><%=rs("title")%></div></td>
</tr>
<tr>
<td height="420" valign="top" class="unnamed1">
<iframe name="demo" width="600" height="415" src="show.asp?id=<%=rs("id")%>" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="baseline"><img src="images/copyright.jpg" width="330" height="13"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -