<!--#include file="sd_mdb.asp"-->
<%
webid=request.QueryString("id")
if trim(webid)="" then
	Response.Write ("<script language=javascript>alert('无法获得相关ID！');history.back(-1);</script>")
	response.end
end if
response.expires = 0 
response.expiresabsolute = now() - 1 
response.addHeader "pragma","no-cache" 
response.addHeader "cache-control","private" 
Response.cachecontrol = "no-cache" 
set rs=server.CreateObject("adodb.recordset")
sql="select * from [sd_web] where sd_id="&webid
rs.open sql,conn,1,1 
if not rs.eof and not rs.bof 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_WEBNAME")%>_<%=rs("sd_WEBUrl")%>的友情链接交易信息，<%=rs("sd_WEBNAME")%>的网站信息，<%=sd_site%></title>
<meta name="Keywords" content="<%=sd_Keywords%>">
<meta name="Description" content="<%=rs("sd_WEBNAME")%>的域名是<%=rs("sd_WEBUrl")%>，百度收录为<%=rs("sd_baidu")%>，GOOGLE收录为<%=rs("sd_google")%>，百度快照时间是<%=rs("sd_kz")%>，百度权重为<%=rs("sd_qz")%>，PR值为<%=rs("sd_pr")%>，Alexa排名为<%=rs("sd_alexa")%>，更多请登录<%=sd_siteurl%>">
<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" align="center"><div class="linkcontent">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px;border:#FE962F solid 1px;BACKGROUND: #FED7B0;margin-top:5px;">
<tr>
<td width="34%" style="padding-left:12px;" height="32" align="left"><strong><%=rs("sd_WEBNAME")%>基本信息</strong></td>
<td width="42%" style="padding-left:12px;" align="left"><strong>交易信息与链接要求</strong></td>
<td width="24%" style="padding-left:12px;" align="left"><strong>（更新时间：<%=rs("sd_regtime")%>）</strong></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="34%">
  <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" style="BORDER-bottom: #999999 1px dotted; BORDER-right: #999999 1px dotted; border-left:#FE962F solid 1px; font-size:14px;">
    <tr height="32" align="left">
      <td width="100">　链接名称：</td>
      <td><a href="http://<%=rs("sd_WEBUrl")%>" target="_blank"><%=rs("sd_WEBNAME")%></a></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　链接地址：</td>
      <td><b>http://<%=rs("sd_WEBUrl")%></b></td>
   </tr>
    <tr height="32" align="left">
      <td>　百度收录：</td>
      <td><a href="http://www.baidu.com/s?wd=site%3A<%=rs("sd_WEBUrl")%>" target="_blank" title="点击查看百度详细收录" class="green"><%=rs("sd_baidu")%></a></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　谷歌收录：</td>
      <td><a href="http://www.google.com.hk/search?hl=zh-CN&source=hp&biw=&bih=&q=site%3A<%=rs("sd_WEBUrl")%>" target="_blank" title="点击查看GOOGLE详细收录" class="green"><%=rs("sd_google")%></a></td>
    </tr>
    <tr height="32" align="left">
      <td>　百度权重：</td>
      <td><a href="http://mytool.chinaz.com/baidusort.aspx?host=<%=rs("sd_WEBUrl")%>" target="_blank" title="点击查看百度权重"><img src="../images/brs/<%=rs("sd_baiduqz")%>.gif" alt="<%=rs("sd_WEBNAME")%>的权重为<%=rs("sd_baiduqz")%>"></td>
    </tr>
    <tr height="32" align="left">
      <td>　谷歌PR：</td>
      <td><a href="http://pr.linkhelper.cn/?url=<%=rs("sd_WEBUrl")%>" target="_blank" title="点击查看GOOGLE PR"><img src="../images/pr/<%=rs("sd_pr")%>.gif" alt="<%=rs("sd_WEBNAME")%>的PR值为<%=rs("sd_pr")%>"></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　百度快照：</td>
      <td><%=rs("sd_kz")%></td>
    </tr>
    <tr height="32" align="left">
      <td>　Alexa排名：</td>
      <td><%=rs("sd_Alexa")%></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　联系方式：</td>
      <td style="color:#0066CC;"><a href="tencent://message/?uin=<%=rs("sd_QQ")%>&Site=9sd.cn&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:<%=rs("sd_QQ")%>:16" align="middle" border="0" width="77" height="17" /></a></td>
      </tr>
</table>
</td>
<td width="42%">
  <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" style="BORDER-bottom: #999999 1px dotted; border-right:#999999 dotted 1px;font-size:14px;">
  <tr height="32" align="left">
      <td>　SEO标准报告：</td>
      <td><a href="http://jcseo.zzcodes.net/seotest.php?url=<%=rs("sd_WEBUrl")%>" target="_blank" title="点击查看该站SEO标准检测报告" class="green"><%=rs("sd_WEBUrl")%></a>SEO标准检测报告</td>
    </tr>
    <tr height="32" align="left">
      <td width="120">　交易方式：</td>
      <td><% IF rs("sd_jy")=1 then %>交换<% elseif rs("sd_jy")=2 then %>购买<%else%>出售<%end if%>链接</td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　链接分类：</td>
      <td><%set rsc = Server.CreateObject("ADODB.RecordSet")
sql = "select sd_classname from sd_class where classid="&rs("sd_classid")&""
rsc.open sql, conn,1,1
%><%=rsc("sd_classname")%><%rsc.close
set rsc=nothing%></td>
    </tr>
    <tr height="32" align="left">
      <td>　预期价格：</td>
      <td style="color:#FF6600"><%if trim(rs("sd_jg"))="" or trim(rs("sd_jg"))="0" or trim(rs("sd_jg"))="价格需要商谈" then%>--<%else%><%=rs("sd_jg")%>元/月<%end if%></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td width="119">　要求百度收录：</td>
      <td style="color:#0066CC;"><%=rs("sd_yq1")%></td>
      </tr>
    <tr height="32" align="left">
      <td>　要求谷歌PR：</td>
      <td style="color:#0066CC;"><%=rs("sd_yq2")%></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　要求百度快照：</td>
      <td style="color:#0066CC;"><%=rs("sd_yq3")%></td>
    </tr>
    <tr height="32" align="left">
      <td>　要求首页外链：</td>
      <td style="color:#0066CC;"><%=rs("sd_yq4")%></td>
    </tr>
    <tr class="tr3" height="32" align="left">
      <td>　要求Alexa排名：</td>
      <td style="color:#0066CC;"><%=rs("sd_yq5")%></td>
    </tr>
</table>
</td>
<td width="24%" style=" BORDER-bottom: #999999 1px dotted; border-right:#FE962F solid 1px;"><img src="
http://open.thumbshots.org/image.pxf?url=<%=rs("sd_WEBUrl")%>" width="220" height="255" ></td>
</tr>
<tr><td colspan="3">
<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;">
    <tr height="32" align="left">
      <td width="100">　补充说明：</td>
      <td><span style="color:blue;"><%=rs("sd_content")%></span></td>
    </tr>
</table>
</td></tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px;border:#FE962F solid 1px;BACKGROUND: #FED7B0;margin-top:5px;">
<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;">
    <tr class="tr1" align="left">
      <td>
<script language="JavaScript">
function CheckForm(form)
{   
	if (form.sd_name.value=="") {
	alert("请填写你的名称! ");
	form.sd_name.focus();
	return false;
	}
	if (form.sd_qq.value=="") {
	alert("请填写你的QQ号码! ");
	form.sd_qq.focus();
	return false;
	}
	if (form.sd_content.value=="") {
	alert("请填写你的留言! ");
	form.sd_content.focus();
	return false;
	}
}   
</script>
<form name="reg" action="../sd_request.asp?id=<%=rs("sd_id")%>" method="post" onSubmit="return CheckForm(this)">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="5">
<TR><TD>留言：<textarea name="sd_content" style="height:35px; width:800px; border:1px double #cccccc;"></textarea></TD></TR>
<TR><TD><div align="left">姓名：<input name="sd_name" type="text"/> 　　Q Q：<input name="sd_qq" type="text"/>　　
验证：<input name="verifycode" type="text" size="6" maxlength="4" value="<%If GetCode=9999 Then Response.Write "9999"%>"> <iframe marginWidth="0" marginHeight="0" frameBorder="0" scrolling="no" src="../sd_getcodes.asp" style="width:40px; height:15px;"></iframe>　　
<input type="submit" value="提交" style="font-size:14px;line-height:19px"></DIV></TD></TR>
</TABLE>
</form>

<%
set rspl=server.createobject("adodb.recordset")
sql="select sd_name,sd_datas,sd_qq,sd_content,sd_ip,sd_dq from sd_pinglun where sd_show_id="&webid&" order by id desc"
rspl.open sql,conn,1,3
do while not rspl.eof
%>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"><TR><TD>
<div class="titt" align="left"><span>日期：<%=rspl("sd_datas")%></span>姓名：<font color="red"><%=rspl("sd_name")%></font>　　QQ：<font color="red"><%=rspl("sd_qq")%></font>　　地区：<font color="red"><%=rspl("sd_dq")%> (<%
ipstr= rspl("sd_ip")
ipstr=split(ipstr,".",-1,1)
ipstrout=ipstr(0)&"."&ipstr(1)&"."&ipstr(2)&".*"
response.write ipstrout
%>)</font></DIV>
<div align="left">留言内容：<font color=green><%=rspl("sd_content")%></font></DIV>
<DIV class="hr"></DIV>
</TD></TR></TABLE>
<%
rspl.movenext 
loop
rspl.close
set rspl=nothing
%>
</td>
      </tr>
</table>
</div></div>
<!--#include file="sd_foot.asp"-->
</div>
<%
rs.close
set rs=nothing
end if
%>
</body>
</html>