<!--#include file="sd_mdb.asp"-->
<!--#include file="sd_checkuser.asp"-->
<%
weburl=LCASE(request.form("url"))
if trim(weburl)=""then
	Response.Write ("<script language=javascript>alert('请不要有/!谢谢');history.back(-1);</script>")
	response.end
end if
set rs=server.CreateObject("adodb.recordset")
sql="select * from [sd_web] where sd_weburl='"& weburl &"'"
rs.open sql,conn,1,1 
if not rs.eof and not rs.bof then
	Response.Write ("<script language=javascript>alert('该网址已经存在数据库中！');history.back(-1);</script>")
	response.end
end if
rs.close
%>
<!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%></title>
<link href="sd_style.css" rel="stylesheet" type="text/css">
<script language="javascript" src="images/check_submit2.js"></script>
<script language="javascript" src="images/ajax-site.js"></script>
</head>
<body>
<div id="container" class="wrapper">
<!--#include file="sd_top.asp"-->
<div id="main" align="center"><div class="linkcontent">
<%
sql="select count(*) from [sd_web] where sd_UserID="&session("sd_userid")&""
rs.open sql,conn,1,1 
links=rs(0)
rs.close
set rs=nothing
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="border:#FE962F solid 1px;BACKGROUND: #FED7B0; ">
<tr>
<td width="670" style="padding-left:12px" align="left"><strong><%=session("sd_username")%></strong> &nbsp;　您目前已经发布链接：<font color="#0000FF"><%=links%></font>个。<a href="sd_jinbi.asp" target="_blank">金币是干啥的？</a>　<a href="sd_jinbi2.asp" target="_blank">怎么免费获得金币？</a></td>
<td><a href="sd_user_main.asp"><img style="margin-top:4px;" src="images/linklist.gif" width="120" height="28" border="0"></a> <a href="sd_userinfo.asp"><img src="images/sd_userinfo.gif" width="120" height="28" border="0"></a></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style=" margin-top:5px;border:#FE962F solid 1px;BACKGROUND: #FED7B0; ">
<tr><td style="padding-left:12px;" height="32" align="left"><strong>发布友情链接-第二步</strong></td></tr>
</table>
  <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" style=" border-bottom:#FE962F solid 1px;border-left:#FE962F solid 1px;border-right:#FE962F solid 1px;font-size:14px">
<form id="submit_form" name="submit_form" method="post" action="sd_submit3.asp">
    <tr height="32" align="left">
      <td width="119" align="right">链接地址&nbsp;&nbsp;</td>
      <td><a href="http://<%=weburl%>" target="_blank"><b><%=weburl%><input name="sd_url" type="hidden" id="sd_url" value="<%=weburl%>" /></b></a></td>
      </tr>
    <tr height="32" align="left">
      <td align="right">链接名称&nbsp;&nbsp;</td>
      <td><input name="submit_linkname" type="text" id="submit_linkname" style="color:#0000FF">（<span class="STYLE1">不超过8个汉字</span>）</td>
      </tr>
    <tr height="32" align="left">
      <td align="right">Google PR&nbsp;&nbsp;</td>
      <td><input name="seo_pr_0" type="text" id="seo_pr_0" style="color:#0000FF" value="0" size="1" maxlength="1" readonly="true"/>&nbsp;<span id="flag_pr_0"><img src="images/loading.gif"> 请稍候，正在提取中...</span></td>
      </tr>
    <tr height="32" align="left">
      <td align="right">百度权重&nbsp;&nbsp;</td>
      <td><input name="seo_qz_0" type="text" id="seo_qz_0" style="color:#0000FF" value="0" size="1" maxlength="1" readonly="true"/>&nbsp;<span id="flag_qz_0"><img src="images/loading.gif"> 请稍候，正在提取中...</span></td>
    </tr>
    <tr height="32" align="left">
      <td align="right">百度快照&nbsp;&nbsp;</td>
      <td><input name="seo_kz_0" type="text" id="seo_kz_0" style="color:#0000FF" value="0" size="12" maxlength="1" readonly="true"/>&nbsp;<span id="flag_kz_0"><img src="images/loading.gif"> 请稍候，正在提取中...</span></td>
      </tr>
    <tr height="32" align="left">
      <td align="right">百度收录&nbsp;&nbsp;</td>
      <td><input name="seo_baidu_0" type="text" id="seo_baidu_0" style="color:#0000FF" value="0" size="12" maxlength="20" readonly="true"/>&nbsp;<span id="flag_baidu_0"><img src="images/loading.gif"> 请稍候，正在提取中...</span></td>
     </tr>
    <tr height="32" align="left">
      <td align="right">Google收录&nbsp;&nbsp;</td>
      <td><input name="seo_google_0" type="text" id="seo_google_0"  style="color:#0000FF" value="0" size="12" maxlength="20" readonly="true"/>&nbsp;<span id="flag_google_0"><img src="images/loading.gif"> 请稍候，正在提取中...</span></td>
     </tr>
    <tr height="32" align="left">
      <td align="right">Alexa排名&nbsp;&nbsp;</td>
      <td><input name="seo_alexa_0" type="text" id="seo_alexa_0" style="color:#0000FF" value="0" size="12" maxlength="20" readonly="true"/>&nbsp;<span id="flag_alexa_0"><img src="images/loading.gif" /> 请稍候，正在提取中...</span></td>
     </tr>
    <tr height="32" align="left">
       <td>　</td>
      <td><img src="images/submit_next.gif" onclick="submit_check();" style="cursor:pointer"/>　<img src="images/back.gif" onclick="history.back();" style="cursor:pointer"></td>
     </tr>
  </form></table>
</div></div>
<!--#include file="sd_foot.asp"-->
</div>
<script language="javascript" type="text/javascript" src="sd_doseo.asp?url=<%=weburl%>&sl=kz"></script>
<script language="javascript" type="text/javascript" src="sd_doseo.asp?url=<%=weburl%>&sl=qz"></script>
<script language="javascript" type="text/javascript" src="sd_doseo.asp?url=<%=weburl%>&sl=baidu"></script>
<script language="javascript" type="text/javascript" src="sd_doseo.asp?url=<%=weburl%>&sl=google"></script>
<script language="javascript" type="text/javascript" src="sd_doseo.asp?url=<%=weburl%>&sl=pr"></script>
<script language="javascript" type="text/javascript" src="sd_doseo.asp?url=<%=weburl%>&sl=alexa"></script>
</body>
</html>