<!--#include file=byshop_conn.asp-->
<!--#include file=webhead.asp-->
<title><%=webname%>-链接申请</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

  <div align="center"><br>

  <table border="1" width="780" cellpadding="0" style="border-collapse: collapse" bordercolor="#bddbe9">
	<tr>
		<td align=center>
		<table width="95%" height="336" border="0" cellpadding="0" cellspacing="0">
  <form name="form1" method="post" action="savelink_apply.asp">
    <tr> 
      <td colspan="2"><div align="center"><strong><font color="#FF0000"><%=webname%></font>-申请链接</strong></div></td>
    </tr>
    <tr> 
      <td width="43%" >
		<p align="right">联系人：</td>
      <td height="30"><input name="user" type="text" id="user" class=wenbenkuang>
      <%
    response.write   "<input name='byshoplink'  type='hidden' id=byshoplink' value='1'>"
    %>
      <font color="#FF0000">*</font></td>
      
    </tr>
    <tr> 
      <td width="43%"><div align="right">联系电话：</td>
      <td height="28"> 
        <input name="tel" type="text" id="tel"class=wenbenkuang>      </td>
    </tr>
    <tr> 
      <td width="43%"><div align="right">邮箱：</div></td>
      <td height="28"> 
        <input name="email" type="text" id="email"class=wenbenkuang>      </td>
    </tr>
    <tr> 
      <td width="43%"><div align="right">网站名称：</div></td>
      <td height="28"> 
        <input name="site_name" type="text" id="site_name"class=wenbenkuang>      </td>
    </tr>
    <tr> 
      <td width="43%"><div align="right">链接类型： </div></td>
      <td height="28">
<select name="link_class" id="link_class"class=wenbenkuang>
<option value="1" selected>图片链接</option>
<option value="0">文字链接</option>
</select>
      </td>
    </tr>
    <tr> 
      <td width="43%"><div align="right">LOGO地址或文字：</div></td>
      <td height="28"> 
        <input name="logo" type="text" id="logo" size="30"class=wenbenkuang>      </td>
    </tr>
    <tr> 
      <td width="43%"><div align="right">链接地址：</div></td>
      <td height="28"> 
        <input name="url" type="text" id="url" size="30"class=wenbenkuang value="http://">      </td>
    </tr>
    <tr> 
      <td width="43%">　</td>
      <td width="57%"><input type="submit" name="Submit" value="确定提交" class=go-wenbenkuang onClick="return check();"> <input type="reset" name="Submit2" value="重新填写" class=go-wenbenkuang></td>
    </tr>
    <tr> 
      <td height="48" colspan="2"><strong><font color="#FF0000">注</font></strong><font color="#FF0000">：</font>1.申请加入的网站请先做好与本站的交换链接，本站看见做好链接后将会马上做好您的链接。<br>
&nbsp;&nbsp;&nbsp; 2.希望我们之间的努力可以带给我们双方的网站更好的宣传效益！<br>
		<font color="#FF0000"><b><span lang="zh-cn"></td>
    </tr>
  </table></td>
	</tr></form>
	</table>
	</div>
</body>
<br>
<SCRIPT LANGUAGE="JavaScript">
<!--

function check()
{

  if(checkspace(document.form1.user.value)) {
	document.form1.user.focus();
    alert("请输联系人！");
	return false;
  }
  
      if(checkspace(document.form1.site_name.value)) {
	document.form1.site_name.focus();
    alert("请输网站名称！");
	return false;
  }
  
    if(checkspace(document.form1.url.value)) {
	document.form1.url.focus();
    alert("请输链接地址！");
	return false;
  }
}
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>
<script>
	function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
</script>
<!--#include file=webfoot.asp--> 
  