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

📄 view_news.asp

📁 个人网站系统,本人基于第三方源码进行更改!
💻 ASP
字号:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Config.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<!--#include file="Common/Inc_Code.asp"-->
<%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:176189168  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│【版权声明】                                                     │
'│                                                                 │
'│     本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│                                                                 │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│                                                                 │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
%>
<html>
<head>
<title><% = strSystemName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="交友, 征友, 速配, 约会, 聊天, 征婚, 婚介, 爱情, 友情, 友谊, 朋友, 伙伴, 情人, 伴侣, 同性, 异性, 女人, 男士, 女士, 男孩, 女孩, 帅哥, 美女, 单身, 独身, 性感, 浪漫, 激情, 手机交友, 手机, 短信, 彩信, 铃声, 图片, 照片, 靓照, 贴图, 语音, 视频, 搜索, 文章, 商城" name="KEYWORDS">
<link href="Common/Style.css" type="text/css" rel="stylesheet">
</head>

<body bgColor="#ffffff" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<table align="center" border="0" width="760" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" align="center"><img height="14" src="images/pic_top_01.gif" width="760" border="0"></td>
  </tr>
</table>
<div align="center">
<center>
<table cellSpacing="0" cellPadding="0" width="760" border="0">
  <tbody>
  <tr>
    <td vAlign="top" width="1" background="images/space_01.gif"><img height="1" src="images/space_01.gif" width="1" border="0"></td>
    <td vAlign="top" width="10"><img height="1" src="images/space.gif" width="10" border="0"></td>
    <td vAlign="top" width="580">
      <div align="center">
      <center>
      <table height="103" cellSpacing="0" cellPadding="0" width="580" border="0">
        <tbody>
        <tr>
          <td vAlign="top" height="3"></td>
        <tr>
          <td vAlign="top" height="100">
			<a target="_blank" href="#">
			<img src="images/ad_01.gif" width="580" height="100" alt="一号广告位" border="0"></a></td>
        </tr>
        </tbody>
      </table>
      </center>
      </div>
      <div align="center">
      <center>
      <table id="AutoNumber11" style="BORDER-COLLAPSE: collapse" height="73" cellSpacing="0" cellPadding="0" width="580" border="0">
        <tbody>
        <tr>
          <td vAlign="center" background="images/bg_quick_search_01.gif" height="63" align="center"><!--#include file="Common/Inc_Search.asp"--></td>
        </tr>
        <tr>
          <td vAlign="top" height="10"></td>
        </tr>
        </tbody>
      </table>
      </center>
      </div>
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100%" height="30">&nbsp;您的位置:<a href="index.asp" class="links">首 页</a> -&gt;&gt; <a href="News.asp" class="links">行业
			动态</a> -&gt;&gt; 浏览信息</td>         
        </tr>
      </table>
<%
Dim intNewsKey
Dim rdsNews
Dim sqlNews
Dim sqlUpdateNewsHits
intNewsKey = Replace(Request.QueryString("Id"),"'","")
intNewsKey =Replace(Request.QueryString("Id")," ","")
if intNewsKey = "" then intNewsKey = 0

set rdsNews = Server.CreateObject("ADODB.Recordset")
sqlNews = "Select * From Dat_News Where NewsClass = 2 And State = 1 And NewsKey = "& intNewsKey
rdsNews.Open sqlNews,Conn,1,1
if not rdsNews.EOF then
%>
      <table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/002.gif" height="25">
        <tr>
          <td width="100%">
            <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100%" align="center" class="F16">&nbsp;<font color="#FFFFFF"><% = rdsNews("Topic")%></font></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <div align="center">
            <center>
            <table borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="1">
            <tbody>
              <tr>
               <td vAlign="top" width="100%" align="center">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" style="line-height:120%;letter-spacing:1px">
                  <tr> 
                    <td align="center" valign="top"> 
                      <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                        <tr>
						  <td width="100%" height="30" align="center">发布时间:<% = FormatTime(rdsNews("CreateTime"),5)%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;来自:<% = rdsNews("From")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;浏览次数:<% = rdsNews("Hits")%> 次</td>
						</tr>
                        <tr>
						  <td width="100%" height="1" background="images/dotline.gif"></td>
						</tr>
						<tr>
						  <td width="100%" height="10"></td>
						</tr>
						<%if rdsNews("PhotoName") <> "" then%> 
						<tr> 
						  <td width="100%" align="center"><img border="0" src="<% = strUploadNewsPhotoUrl %><% = rdsNews("PhotoName")%>"></td>
						</tr>
						<tr>
						  <td width="100%" height="10"></td>
						</tr>
						<%end if%>
						<tr>
						  <td width="100%" height="50" class="F16"><% = Html2Txt(rdsNews("Content"))%></td>
						</tr>
						<tr>
						  <td width="100%" height="10"></td>
						</tr>
                        <tr>
						  <td width="100%" height="1" background="images/dotline.gif"></td>
						</tr>
						<tr>
						  <td width="100%" height="30" align="right"><font color="#478B47">『 <a href="Javascript:close();">关闭窗口</a> 』</font>&nbsp;&nbsp;&nbsp;</td>
						</tr>
                      </table>
				    </td>
                  </tr>
                </table>
               </td>
              </tr>
            </tbody>
            </table>
            </center>
      </div>
<%
end if
rdsNews.Close
set rdsNews = nothing

sqlUpdateNewsHits = "Update Dat_News Set Hits = Hits + 1 Where NewsKey = "& intNewsKey
Conn.Execute sqlUpdateNewsHits
%>
	</td>
    <td vAlign="top" width="10"><img height="1" src="images/space.gif" width="10" border="0"></td>
    <td vAlign="top" width="1" background="images/space_01.gif"><img height="1" src="images/space_01.gif" width="1" border="0"></td>
    <td class="bg01" vAlign="top" width="157">
      <div align="center">
      <center>
      <table id="AutoNumber11" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="176" cellSpacing="0" cellPadding="0" width="157" border="0">
        <tbody>
        <tr>
          <td vAlign="top" height="35"><img height="35" src="images/pic_520_passport_01.gif" width="157" border="0"></td></tr>
        <tr>
          <td vAlign="top" background="images/pic_520_passport_02.gif" bgColor="#ffffff" height="120" align="center"><!--#include file="Common/Inc_Login.asp"--></td>
        </tr>
        <tr>
          <td vAlign="top" height="21"><img height="21" src="images/pic_520_passport_03.gif" width="157" border="0"></td></tr></tbody></table></center></div>
      <div align="center">
      <center>
      <table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
        <tbody>
        <tr>
          <td vAlign="center" background="images/space_01.gif" height="25" width="155">&nbsp;&nbsp;<img src="images/arrow_02.gif" border="0">&nbsp;<b><font color="#FFFFFF">信息分类</font></b></td></tr>                                                                                   
        <tr>
          <td height="8" width="155"></td></tr>
        <tr>
          <td width="155" align="center" valign="top"><!--#INCLUDE FILE="Common/Inc_Catalog.asp"--></td>
        </tr>
        <tr>
          <td height="8" width="155" colspan="2"></td></tr></tbody></table></center></div>
      <div align="center">
      <center>
      <table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
        <tbody>
        <tr>
          <td vAlign="center" background="images/space_01.gif" height="25">&nbsp;&nbsp;<img src="images/arrow_02.gif" border="0">&nbsp;<b><font color="#FFFFFF">合作伙伴</font></b></td></tr>
        <tr>
          <td height="8"></td>
        </tr>
        <tr>
          <td width="155" align="center" valign="top"><!--#INCLUDE FILE="Common/Inc_Cooperate.asp"--></td>
        </tr>
        <tr>
          <td height="8"></td>
        </tr>
        </tbody>
      </table>
      </center>
      </div>
      <div align="center">
      <center>
      <table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
        <tbody>
        <tr>
          <td vAlign="center" background="images/space_01.gif" height="25">&nbsp;&nbsp;<img src="images/arrow_02.gif" border="0">&nbsp;<b><font color="#FFFFFF">友情链接</font></b></td></tr>
        <tr>
          <td height="8"></td>
        </tr>
        <tr>
          <td width="155" align="center" valign="top"><!--#INCLUDE FILE="Common/Inc_Link.asp"--></td>
        </tr>
        <tr>
          <td height="8"></td>
        </tr>
        </tbody>
      </table>
      </center>
      </div>
      </td>
    <td vAlign="top" width="1" background="images/space_01.gif"><img height="1" src="images/space_01.gif" width="1" border="0"></td></tr>
  <tr>
    <td vAlign="top" width="760" colSpan="7" height="14"><img height="14" src="images/pic_bottom_01.gif" width="760" border="0"></td></tr></tbody></table></div>
<!--#include file="End.asp"-->
</body>
</html>

⌨️ 快捷键说明

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