<!--#include file="sd_mdb.asp"-->
<!--#include file="sd_myfunction.asp"-->
<!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="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>链接资讯_<%=sd_site%>,<%=sd_fbt%></TITLE>
<meta name="Keywords" content="<%=sd_Keywords%>">
<meta name="Description" content="<%=sd_Description%>">
<link href="sd_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container" class="wrapper">
<!--#include file="sd_top.asp"-->
  <div id="main" style="padding-top:8px;">
    <div class="right">
      <div class="sidebar2">
        <div class="title"><h3><a href="index.html"><%=sd_site%></a> > 链接资讯</h3></div>
	<div class="content">
          <div id="type">
	    <span class="s_sj">标题</span>
	    <span class="s_cs">日期</span>
	    <span class="s_szd">来源</span>
	  </div>
          <div id="edulist">
<%
sql="select * from sd_article order by id desc"

set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.EOF and rs.BOF then
response.write ("<UL><LI style='PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-SIZE: 16px; PADDING-BOTTOM: 20px; PADDING-TOP: 20px'><P>没有您要查找的资讯<STRONG></STRONG>？</P><P style='FONT-SIZE: 12px; PADDING-TOP: 15px'><A href='index.html'>请尝试换个条件搜索看看，<SPAN style='COLOR: #0099cc'>点此返回首页</SPAN>！</A></P></LI></UL>")
else

myPagesize=10
myPages rs,myPagesize

line=myPagesize
i=0                                  
do while not rs.eof and line>0
i=i+1
%>
          <ul>
              <li class="s_sj"><h4><a href="sd_news.asp?id=<%=rs("id")%>" target="_blank" title="<%=rs("sd_title")%>"><%=left(rs("sd_title"),32)%></a></h4></li>
              <li class="s_cs"><%=rs("sd_DateAndTime")%></li>
              <li class="s_szd"><%=rs("sd_CopyFrom")%></li>
              <li class="wypj" title="<%=rs("sd_ArtDescription")%>"><font color="#000000"><b>内容简介：</b></font><%=left(rs("sd_ArtDescription"),105)%>... [<a href="sd_news.asp?id=<%=rs("id")%>" target="_blank">阅读全文</a>]</li>
            </ul>
<%rs.movenext
line=line-1
loop
end if%>

          </div>
          <div class="clear"></div>         
	  <div class="pagehead"><%listpages("")%>&nbsp;&nbsp;</div>
          <div class="clear"></div>
	</div>
        <div class="bottom"></div>
        <div class="clear"></div>
      </div>
    </div>
    <div class="left">
      <div class="sidebar1">
        <div class="title"><span style="width:197px;"><h3>热门链接资讯</h3></span></div>
        <div class="content">
            <ol class="liststyle7">
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from sd_article order by sd_hot desc,id desc",conn,1,3
i=1
while not rs.eof
response.write "<li>"&i&". <a href='sd_news.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
i=i+1
call listunder(1)
rs.movenext
wend
%>
          </ol>
	</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">
            <ol class="liststyle7">
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 10 * from sd_know order by sd_hot desc,id desc",conn,1,3
i=1
while not rs.eof
response.write "<li>"&i&". <a href='sd_know.asp?id="&rs("id")&"'>"&rs("sd_title")&"</a></li>"&vbCrLf
i=i+1
call listunder(1)
rs.movenext
wend
%>
          </ol>
	</div>
        <div class="bottom"><span style="width:210px;"></span></div>
      </div>
    </div>

  </div>
<div id="footer"><!--#include file="sd_foot.asp"--></div>
</div>
</body>
</html>    