<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_user_website_addlink" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<title>添加友情链接</title>
<script type="Text/JavaScript" language="javascript">
function TableMouseClick(Url){
	window.location=Url;
}
//表单验证
function check(){
	if(document.form.L_title.value=="" || (document.form.L_title.value).length<2 || (document.form.L_title.value).length>30){
		alert("网站名称不能为空,且名称长度不能小于两个文字,不能大于30个文字！");
		document.form.L_title.focus();
		return false;
	}
	if(document.form.L_type.value==""){
		alert("友情链接类型不能为空！");
		document.form.L_type.focus();
		return false;
	}
		if(document.form.L_comment.value==""){
		alert("请输入链接网址！");
		document.form.L_comment.focus();
		return false;
	}

}
</script>
</head>

<body>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="width:700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="width:100"><div align="center"><a href="user_company_modi.aspx"><img src="images/website_07.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_website_config.aspx"><img src="images/website_01.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_website_style.aspx"><img src="images/website_02.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_website_class.aspx"><img height="48" src="images/website_04.gif" width="50" border="0" /></a></div>
          <a href="User_work_search.aspx"></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_company_html.aspx"><img height="48" src="images/website_03.gif" width="50" border="0" /></a></div>
          <a href="User_work_favorite.aspx"></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_website_link.aspx"><img height="48" src="images/website_05.gif" width="50" border="0" /></a></div>
          <a href="User_work_person.aspx"></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_website_addlink.aspx"><img height="48" src="images/website_06.gif" width="50" border="0" /></a><a href="User_products_add.aspx"></a></div>
          <a href="User_work_search.aspx"></a></div></td>
      </tr>
      <tr>
        <td style="width:100"><div align="center"><strong>修改企业介绍</strong></div></td>
        <td style="width:100"><div align="center"><strong>网站信息配置</strong></div></td>
        <td style="width:100"><div align="center"><strong>网站风格设置</strong></div></td>
        <td style="width:100"><div align="center"><strong>网站栏目设置</strong><strong></strong></div></td>
        <td style="width:100"><div align="center"><strong>生成网站</strong></div></td>
        <td style="width:100"><div align="center"><strong>友情链接管理</strong></div></td>
        <td style="width:100"><div align="center"><strong>添加友情链接</strong></div></td>
      </tr>
    </table></td>
  </tr>
</table>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
  <tr>
    <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>添加友情链接</strong></span></strong></td>
    <td class="bottom"><div align="right">注意：带*号为必填</div></td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
  <tr>
    <td style="background-color:#FFFFFF"><table style="width:100%; height:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
      <tr>
        <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%" cellspacing="1" cellpadding="3" align="center" border="0">
          <form name="form" onsubmit="return check()" method="post">
            <tr>
              <td style="background-color:#F6F6F6; height:7; width:22%" align="right"><span class="00002">*</span> 网站名称：</td>
              <td style="background-color:#FAFAFA; height:15; width:78%" align="left"><input name="L_title" id="L_title" size="30" />
                  <span class="style5">（请保持在2-30个字）</span></td>
            </tr>
            <tr>
              <td style="background-color:#F6F6F6; height:15; width:22%" align="right"><span class="00002">*</span> 链接类型：</td>
              <td style="background-color:#FAFAFA; height:15" align="left"><input type="radio" name="L_type" value="0" onclick="javascript:document.form.Submit2.disabled=true" />
                文字
                <input name="L_type" type="radio" value="1" checked="checked" onclick="javascript:document.form.Submit2.disabled=false" />
                图片</td>
            </tr>
            <tr>
              <td style="background-color:#F6F6F6; height:23" align="right" ><span class="00002">*</span> 链接地址：</td>
              <td style="background-color:#FAFAFA; height:31" align="left"><input name="L_comment" type="text" id="L_comment" value="" size="30" />
              </td>
            </tr>
            <tr>
              <td style="background-color:#F6F6F6; height:23" align="right" ><span class="00002">*</span> 是否审核：</td>
              <td style="background-color:#FAFAFA; height:31" align="left"><input name="L_unit" type="radio" value="1" checked="checked" />
                是　
                <input type="radio" name="L_unit" value="0" />
                否</td>
            </tr>
            <tr>
              <td style="background-color:#F6F6F6" align="right" valign="top" ><span class="00002">*</span> LOGO地址：</td>
              <td style="background-color:#FAFAFA; height:31" align="left"><input name="L_logo" type="text" id="L_logo" size="25" readonly="readonly" />
                  <input type="button" name="Submit2" value="上传LOGO图片" onclick="window.open('../Include/load.aspx?formname=form&editname=L_logo&uppath=../ad/userlink/&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" /></td>
            </tr>
            <tr>
              <td style="background-color:#F6F6F6" align="right" valign="top" >&nbsp;</td>
              <td style="background-color:#FAFAFA; height:31" align="left"><input name="提交" type="submit" value="填好了，发布!" />
                  <input name="send" type="hidden" id="send" value="isok" /></td>
            </tr>
          </form>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
