<!--#include file=CONN.ASP-->
<!--#include file=foxx.asp-->
<!--#include file="config.asp"-->
<%
if request("fox")="chk" then
call fox()
response.end
end if%>
<meta http-equiv="Content-Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="fox.CSS">
<title>合作链接申请</title>
<style type="text/css">
<!--
body {
	background-color: #F2F2F2;
}
-->
</style><body topmargin="0" leftmargin="0">
<div align="center">
  <center>
  <table width="345" height="64" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#F2F2F2" style="border-collapse: collapse" bordercolorlight="#FF6C3B" bordercolordark="#FF6C3B">
    <form action="?fox=chk" method="POST">
    <tr>
      <td width="353" height="25" style="border-bottom-style: none; border-bottom-width: medium" align="right" colspan="2" bgcolor="#FF6C3B">
      <p align="left"><b>
		<img border="0" src="images/a01.gif" width="25" height="25"><font color="#FFFFFF"><%=title%>合作链接申请</font></b></td>
    </tr>
    <tr>
      <td width="80" height="25" style="border-bottom-style: none; border-bottom-width: medium" align="right">
      <font color="#FF0000">网站名称：</font></td>
      <td width="273" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <input type="text" name="biaoti" size="20" class="button01"> 6字内</td>
    </tr>
    <tr>
      <td width="80" height="25" style="border-bottom-style: none; border-bottom-width: medium" align="right">
      <font color="#FF0000">网站LOGO：</font></td>
      <td width="273" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <input type="text" name="tupic" size="26" class="button01"> 88*31</td>
    </tr>
    <tr>
      <td width="80" height="25" style="border-bottom-style: none; border-bottom-width: medium" align="right">
      <p><font color="#FF0000">链接地址：</font></td>
      <td width="273" height="25" style="border-bottom-style: none; border-bottom-width: medium">
      <input type="text" name="neirong" size="26" class="button01" value="http://"></td>
    </tr>
    <tr>
      <td width="353" height="24" colspan="2" style="border-top-style: none; border-top-width: medium">
      <p align="center">
      <input class="inputb" type="submit" value="提交申请" name="B1"></td>
    </tr></form>
    <tr>
      <td width="353" height="157" colspan="2" style="border-top-style: none; border-top-width: medium" class="tdtxt07">
      <img border="0" src="images/kjind01a.gif" width="20" height="11">如果您愿意申请合作链接，请在<b><font color="#FF0000">申请后做好本站链接</font></b>，否则本站将拒绝审核并删除您的申请！<br>
		<img border="0" src="images/kjind02a.gif" width="20" height="11">申请LOGO链接，请填写好图片地址！文字链接不必填写！
		申请成功后贵站图片如果影响我站速度，将改为文字链接。<br>
		<img border="0" src="images/kjind03a.gif" width="20" height="11">本站链接是<b><font color="#FF0000">对等链接</font></b>，贵站必须做好我站链接，并且贵站必须合法并备案，有完善内容等，否则本站将删除！</td>
    </tr>
    
  </table>
  </center>
</div>
<%
sub fox()
dim rs,sql,biaoti,tupic,neirong
if len(trim(request("biaoti")))<2 or len(trim(request("biaoti")))>7 then
response.write "<li>注意网站名称规范！"
cl
response.end
end if
if len(trim(request("neirong")))<10 then
response.write "<li>链接地址填写！"
cl
response.end
end if
set rs=server.createobject("adodb.recordset")
sql = "select * from FOX_link "
rs.open sql,conn,1,3
rs.addnew
rs("biaoti")=trim(request("biaoti"))
rs("tupic")=trim(request("tupic"))
rs("neirong")=trim(request("neirong"))
rs("data")=now()
rs.update
rs.close
set rs=nothing 
response.write "<li>申请合作链接成功！"
closedb
cl
end sub
%>
<%sub cl()%>
<body onLoad="setTimeout(window.close, 1000)">
<%end sub%></body></html>