<!--#include file="sd_mdb.asp"-->
<%
id=Trim(request("id"))
set rs=server.createobject("adodb.recordset")
rs.open "select sd_content,sd_name from sd_about where id="&id,conn,1,3
if not rs.eof then
%>
<!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=EmulateIE7" />
<title><%=rs("sd_name")%> - <%=sd_site%>,<%=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">
    <div class="left">
      <div class="sidebar1">
        <div class="title"><span style="width:197px;"><h3>关于<%=sd_site%></h3></span></div>
        <div class="content">
            <div class="about123">
                <ul>
<%
Set rslist = Server.CreateObject("ADODB.Recordset")
sql="select id,sd_name from sd_about order by sd_topid desc,id"
rslist.open sql,conn,1,3
do while not rslist.eof
%>
<li><a href="sd_about.asp?id=<%=rslist("id")%>"><%=rslist("sd_name")%></a></li>
<%
rslist.movenext 
loop
rslist.close
set rslist=nothing
%>
<li><a href="sd_book.asp">在线留言</a></li>
<li><a href="links.asp">友情链接</a></li>
                </ul>
            </div>
	</div>
        <div class="bottom"><span style="width:210px;"></span></div>
      </div>
    </div>
    <div class="right">
      <div class="sidebar2">
        <div class="title"><h3>友情链接-<%=rs("sd_name")%> - <%=sd_site%></h3></div>
        <div class="content">
	<div style="padding:25px;font-size:14px;line-height:25px;"><ul class='center'>
<li><a href="http://link.ai30.com" title="爱链接友情链接交换系统" target="_blank">爱链接</a></li>

<%
Set rst = Server.CreateObject("ADODB.Recordset")
sql="select sd_url,sd_title from sd_link order by id desc"
rst.open sql,conn,1,3
do while not rst.eof
%>
<li><a href="<%=rst("sd_url")%>" title="<%=rst("sd_title")%>" target="_blank"><%=rst("sd_title")%></a></li>
<%
rst.movenext 
loop
rst.close
set rst=nothing
%>
</ul></div> 
	</div>
        <div class="bottom"></div>
        <div class="clear"></div>
      </div>
    </div>
  </div>
<%
end if
rs.close
set rs=nothing
%>
<!--#include file="sd_foot.asp"-->
</div>
</body></HTML>