<script language="JavaScript">
function sotop(form)
{
	if (form.word.value=="") {alert("请填写搜索关键词! ");form.word.focus();return false;}
}   
</script>
        <form action="../sd_so.asp" method="get" name="formsearch" onSubmit="return sotop(this)">
          <span>关键词</span>
          <input name="word" type="text" class="inputtext" id="word" size="20" value="<%=word%>" />
          <span>链接类型</span>
          <label class="clip_select">
	<select name="pn" class="select"><option value="">不限制</option><option value='1'>交换链接</option><option value='2'>出售链接</option><option value='3'>购买链接</option></select>
          </label>
          <span>PR</span>
          <label class="clip_select">
	<select name="pr" class="select"><option value="">不限制</option><option value="0">PR 0</option><option value="1">PR 1</option><option value="2">PR 2</option><option value="3">PR 3</option><option value="4">PR 4</option><option value="5">PR 5</option><option value="6">PR 6</option><option value="7">PR 7</option><option value="8">PR 8</option><option value="9">PR 9</option><option value="10">PR 10</option></select>
          </label>
          <span>条件</span>
          <label class="clip_select">
	<select name="tj" class="select"><option value="">更新时间</option><option value="1" >百度收录从高到低</option><option value="2">百度收录从低到高</option><option value="3">Google收录从高到低</option><option value="4">Google收录从低到高</option><option value="9">百度权重从高到低</option><option value="10">百度权重从低到高</option><option value="5">PR从高到低</option><option value="6">PR从低到高</option><option value="7">Alexa排名从高到低</option><option value="8">Alexa排名从低到高</option></select>
          </label>
          <input type="submit" id="button" value="搜搜看" class="inputbtn"/>
        </form>
      </div>
      <dl id="recommend"><dt>推荐栏：</dt> <%
Set ads=Server.CreateObject("Adodb.Recordset")
SqlT="select top 100 id,sd_title,sd_url,sd_se from sd_ads where sd_weizhi=1 order by sd_topid desc,id"
ads.open SQLT,conn,1,1
numrow2=0

if ads.EOF and ads.BOF then
response.write "暂时没有内容"
else
numRows=0
While (Not ads.EOF)
if ads("sd_se")=1 then
response.write "<a href="&ads("sd_url")&" target=_blank><font color='#0000ff' style='font-size:12px;'>"&ads("sd_Title")&"</font></a>　"
else
if ads("sd_se")=2 then
response.write "<a href="&ads("sd_url")&" target=_blank><font color='#ff0000' style='font-size:12px;'>"&ads("sd_Title")&"</font></a>　"
else
response.write "<a href="&ads("sd_url")&" target=_blank><font style='font-size:12px;'>"&ads("sd_Title")&"</font></a>　"
end if
end if
numRows=numRows+1
ads.MoveNext
if (numRows mod 8 =0) Then
numrow2=numrow2+1
end if
Wend
end if
ads.close
Set ads = Nothing
%></dl>
    </div>
    <div class="right"></div>
  </div>
  
<DIV class="adggbg"><div align="right" style="padding-left:8px; height:40px;">
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
        <a class="bds_qzone"></a>
        <a class="bds_tsina"></a>
        <a class="bds_tqq"></a>
        <a class="bds_renren"></a>
        <a class="bds_hi"></a>
        <a class="bds_baidu"></a>
        <a class="bds_kaixin001"></a>
        <a class="bds_tqf"></a>
        <a class="bds_douban"></a>
        <a class="bds_tsohu"></a>
        <a class="bds_qq"></a>
        <a class="bds_tieba"></a>
        <a class="bds_sohu"></a>
        <a class="bds_t163"></a>
        <a class="bds_qy"></a>
        <a class="bds_tfh"></a>
        <a class="bds_ty"></a>
        <a class="bds_s51"></a>
        <a class="bds_taobao"></a>
        <a class="bds_fbook"></a>
        <a class="bds_twi"></a>
        <a class="bds_xg"></a>
		<a class="shareCount"></a>
    </div></div><DIV class="adtext">
<UL>
<%
Set rst = Server.CreateObject("ADODB.Recordset")
sql="select sd_se,sd_url,sd_title from sd_adtext order by sd_topid desc,id"
rst.open sql,conn,1,3
do while not rst.eof
%>
	  <li><a href="<%=rst("sd_url")%>" title="<%=rst("sd_title")%>" class="wdys<%=rst("sd_se")%>" target="_blank"><%=rst("sd_title")%></a></li>
<%
rst.movenext 
loop
rst.close
set rst=nothing
%>
</UL>
</DIV></DIV>
<div id="main" align="center"><div class="linkcontent">
<table width="100%" border="0" cellspacing="4" cellpadding="0">
<form name="form1" method="post" action="sd_chkuser.asp">
<tr>
<%if session("sd_username")<>"" and session("sd_password")<>"" and session("sd_userid")<>"" and session("sd_Points")<>"" then%>
<td height="32"><img src="images/men_online.gif"> 会员中心 <font color="#FF0000"><b><%=session("sd_Username")%></b></font>　金币：<font color="#0000FF"><%=session("sd_Points")%></font>个，<a href="../sd_user_main.asp">全部链接</a>　<a href="../sd_userinfo.asp">修改资料</a>　<a href="../sd_logout.asp">安全退出</a></td>
<%else%>
<td height="32">用户名：<input name="user" type="text" id="user" maxlength="22" style="width:100px;" value="" />　密码：<input name="pwd" type="password" id="pwd" maxlength="22" style="width:100px;" />　<input type="submit" name="button" id="button" value="立即登录">　<a href="zhuce.asp" class="STYLE1"><u>注册帐号</u></a></td>
<%end if%>
<td><span class="STYLE1"><%=sd_site%></span>加入QQ交流群:230125067</td>
</tr>
</form>
</table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr align="left">
        <td height="28" style="padding-left:4px"><span class="gred">注：</span>请您得记住本站，<span>爱链接,友情连接交换交易网站</span>的域名是：<span class="STYLE1">http://<%=sd_siteurl%></span>。</td>
        <td height="28" style="padding-left:4px"><span class="STYLE1">注：</span>在本站发布链接信息，<span class="STYLE7">无需审核</span>。交换链接，快捷方便。</td>
        <td width="147" rowspan="2" align="center"><a href="../sd_submit.asp"><img src="../images/free_submit.gif" alt="免费发布友情链接" width="120" height="28" border="0"></a></td>
      </tr>
      <tr align="left">
        <td style="padding-left:4px"><span class="STYLE11">注：</span>友情链接的可以在底部、侧边等，但必须是在首页的可见位置、非跳转。</td>
        <td style="padding-left:4px"><span class="STYLE10">注：</span>链接站点必须是符合中华人民共和国法律。否则删除！</td>
      </tr>
    </table>
</div></div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=380387" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
</script>