<%@ page language="C#" autoeventwireup="true" inherits="user_link, App_Web_wvcfy0ha" %><%@ Register TagPrefix="qth8" TagName="userManageLeft" Src="~/inc/userManageLeft.ascx" %><%@ Register TagPrefix="qth8" TagName="userManageTop" Src="~/inc/userManageTop.ascx" %><!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>
    <title><%=sWebName %> - 友情链接管理</title>
    <link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
<div align="center">
<div class="main" align="left">
<qth8:userManageTop runat="server" ID="userManageTop" />
<div class="clear"></div>
<qth8:userManageLeft runat="server" selectValue="9" ID="userManageLeft" />
<div class="userRight">
<div><img src="images/right_01.gif" /></div>
<div class="userRightContent">
<div class="userRightContentTop">·友情链接修改 ·</div>
<div>
<div>
<form action="action.aspx?s=addLink" method="post" onsubmit="return valiForm()" name="linkForm">
<table width="600" border="0" align="center" cellpadding="5" cellspacing="0" class="userMessTable">
  <tr class="messTd">
    <td class="head" width="250">链接关键字</td>
    <td class="head" width="250">链接网址</td>
    <td class="head" width="50">排序</td>
    <td class="head" width="50"></td>
  </tr>
  <tr>
  <td><input type="text" size="25" class="inputText" name="linkName" /></td>
  <td><input type="text" size="25" class="inputText" value="http://" name="linkUrl" /></td>
  <td></td>
  <td><input type="submit" value="添加" /></td></tr>
  <%=linkTableStr%>
  
</table>
</form></div>
</div>
</div>
<div><img src="images/right_03.gif" /></div></div>
   </div>
    </div>
    <script language="javascript" type="text/javascript">
    function valiForm()
    {
        if(document.linkForm.linkName.value=="")
        {
            alert("请输入链接关键字！")
            return false
        }
        if(document.linkForm.linkUrl.value=="" || document.linkForm.linkUrl.value=="http://" )
        {
            alert("请输入链接网址！")
            return false
        }
        return true
    }
    </script>
</body>
</html>
