<!--#include file="sd_mdb.asp"-->
<!--#include file="sd_checkuser.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%></title>
<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">
<%
set rs=server.CreateObject("adodb.recordset")
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">
<script language="JavaScript">
function check()
{
	if (submit_form.sd_classid.value=="") {alert("请填写链接分类!");submit_form.sd_classid.focus();return false;}
	if (submit_form.submit_price.value=="") {alert("请填写联系QQ!");submit_form.submit_price.focus();return false;}
}
</script>
<form id="submit_form" name="submit_form" method="post" action="sd_submit4.asp" onSubmit="return check();">
    <tr height="32" align="left">
      <td width="119" align="right">友情链接&nbsp;&nbsp;</td>
      <td><a href="http://<%=request.form("url")%>" target="_blank"><b><%=request.form("submit_linkname")%></b></a>
<input name="submit_linkname" type="hidden" id="submit_linkname" value="<%=request.form("submit_linkname")%>" />
<input name="sd_url" type="hidden" id="sd_url" value="<%=request.form("sd_url")%>" />
<input name="submit_baidu" type="hidden" id="submit_baidu" value="<%=request.form("seo_baidu_0")%>" />
<input name="submit_google" type="hidden" id="submit_google" value="<%=request.form("seo_google_0")%>" />
<input name="submit_pr" type="hidden" id="submit_pr" value="<%=request.form("seo_pr_0")%>" />
<input name="submit_kz" type="hidden" id="submit_kz" value="<%=request.form("seo_kz_0")%>" />
<input name="submit_qz" type="hidden" id="submit_qz" value="<%=request.form("seo_qz_0")%>" />
<input name="submit_alexa" type="hidden" id="submit_alexa" value="<%=request.form("seo_alexa_0")%>" /></td>
    </tr>
    <tr height="32" align="left">
      <td align="right">交易方式&nbsp;&nbsp;</td>
      <td><input name="submit_class1" type="radio" value="1" checked="checked">交换　<input name="submit_class1" type="radio" value="2">购买　<input name="submit_class1" type="radio" value="3">出售</td>
    </tr>
    <tr height="32" align="left">
      <td align="right">链接类型&nbsp;&nbsp;</td>
      <td><input name="submit_class3" type="radio" value="1" checked="checked">文字　<input name="submit_class3" type="radio" value="2">图片　<input name="submit_class3" type="radio" value="3">图文</td>
    </tr>
    <tr height="32" align="left">
      <td align="right">链接分类&nbsp;&nbsp;</td>
      <td><select name="sd_classid" id="sd_classid">
	      <option value="">请选择分类</option>
<%
Set rst = Server.CreateObject("ADODB.Recordset")
sql="select classid,sd_classname from sd_class order by sd_topid desc"
rst.open sql,conn,1,3
do while not rst.eof
%>
	      <option value="<%=rst("classid")%>"><%=rst("sd_classname")%></option>
<%
rst.movenext 
loop
rst.close
set rst=nothing
%></select></td>
    </tr>
    <tr height="32" align="left">
      <td align="right">预期价格&nbsp;&nbsp;</td>
      <td><input name="submit_price" type="text" id="submit_price" value="0" size="4" maxlength="4" style="color:#0000FF" onkeyup="if(isNaN(this.value)){alert('只能输入数字');this.value='';}"/> 元/月　默认0表示价格需要商议，<span class="STYLE1">如果是交易方式是交换则价格不显示</span>。</td>
    </tr>
    <tr height="32" align="left">
      <td>　</td>
      <td><input type="image" src="images/submit_next.gif" value="提交"/>　<img src="images/back.gif" onclick="history.back(-1);" style="cursor:pointer"/></td>
    </tr>
</form>
  </table>
</div></div>
<!--#include file="sd_foot.asp"-->
</div>
</body>
</html>