<!--#include file="Conn.asp"-->
<!--#include file="sd_myfunction.asp"-->
<!--#include file="sd_site.asp"-->
<%
id=request("id")
Set rsnews=Server.CreateObject("ADODB.RecordSet") 
sql="update sd_article set sd_hits=sd_hits+1 where id="&cstr(request("id"))
conn.execute sql
sql="select * from sd_article where id="&id
rsnews.Open sql,conn,1,1
id=rsnews("id")
if rsnews.eof and rsnews.bof then
response.Write("<script language=javascript>alert('没有该记录');this.location.href='index.asp';</script>")
else
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><%= rsnews("sd_title") %>_IDC资讯_<%=sd_hostname%></title>
<meta name="keywords" content="<%=rsnews("sd_ArtKeyWord")%>,IDC资讯,<%=sd_hostname%>">
<meta name="description" content="<%=rsnews("sd_ArtDescription")%>">
<LINK href="sd_style.css" type=text/css rel=stylesheet>
<script src="images/default.js" type="text/javascript"></script>
<META content="MSHTML 6.00.2800.1613" name=GENERATOR>
</head>
<BODY>
<div id="container" class="wrapper">
<!--#include file="sd_top_news.asp"-->
  <div id="main">
    <div class="left2">
      <div class="sidebar2">
        <div class="title2">
          <h3><a href="index.asp"><%=sd_hostname%></a> > <a href="sd_newsclass.asp">IDC资讯</a> > 阅读资讯:<%= rsnews("sd_title") %></h3>
	</div>
        <div class="content2">
            <h1><%= rsnews("sd_title") %></h3>
            <div class="times"><%= rsnews("sd_DateAndTime") %> 来源:<%= rsnews("sd_CopyFrom") %> 作者:<%= rsnews("sd_Author") %> 阅读:<%= rsnews("sd_hits") %>次 【<a href="javascript:doZoom(16)">大</a> <a href="javascript:doZoom(14)">中</a> <a href="javascript:doZoom(12)">小</a>】
	    </div>
            <p class="ads"><span id=ggad1></span></p>
            <div class="article_content" id="_article_content"><%=rsnews("sd_content") %>
		<p class="tags"><strong>Tags:<%
sPic = rsnews("sd_ArtKeyWord")
sPic = split(sPic, ",")
for i=0 to ubound(sPic)
   response.write "<a href='sd_newsclass.asp?key="&sPic(i)&"&order=2' target='_blank'>"&sPic(i)&"</a>,"
next 
%></strong></p></div>
	    <div class="c_pages">
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from sd_article where id<"&id&" order by id desc",conn,1,3
while not rs.eof
response.write "<li>上一篇：<a href='sd_news.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
call listunder(1)
rs.movenext
wend
set rs=server.createobject("adodb.recordset")
rs.open "select top 1 * from sd_article where id>"&id&" order by id asc",conn,1,3
while not rs.eof
response.write "<li>下一篇：<a href='sd_news.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
call listunder(1)
rs.movenext
wend
%>

	    </div>
          <div class="clear"></div>          
        </div>
        <div class="bottom"></div>
      </div>
    </div>
    <div class="right2">
      <div class="sidebar1">
        <div class="title"><span style="width:197px;"><h3>最新资讯</h3></span></div>
        <div class="content">
          <div class="toplist">
            <ol>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from sd_article order by id desc",conn,1,3
while not rs.eof
response.write "<li><a href='sd_news.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
call listunder(1)
rs.movenext
wend
%>
            </ol>
          </div>
        </div>
        <div class="bottom"><span style="width:210px;"></span></div>
      </div>
      <div class="sidebar1">
        <div class="title"><span style="width:197px;"><h3>推荐内容</h3></span></div>
        <div class="content">
          <div class="toplist">
            <ol>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from sd_article where sd_hot=1 order by id desc",conn,1,3
while not rs.eof
response.write "<li><a href='sd_news.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
call listunder(1)
rs.movenext
wend
%>
            </ol>
          </div>
        </div>
        <div class="bottom"><span style="width:210px;"></span></div>
      </div>
      <div class="sidebar1">
        <div class="title"><span style="width:197px;"><h3>热点内容</h3></span></div>
        <div class="content">
          <div class="toplist">
            <ol>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from sd_article order by sd_hits desc,id",conn,1,3
while not rs.eof
response.write "<li><a href='sd_news.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
call listunder(1)
rs.movenext
wend
%>
            </ol>
          </div>
        </div>
        <div class="bottom"><span style="width:210px;"></span></div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
<!--#include file="sd_bottom.asp"-->
</div>
<% 
end if
rsnews.close
set rsnews=nothing
%>
<span id=span_ggad1><script src="sd_dy.asp?id=2&menu=js" language="JavaScript" charset="gb2312"></script></span>
<script language="javascript">ggad1.innerHTML=span_ggad1.innerHTML;span_ggad1.innerHTML="";</script>
</BODY></HTML>