<%@ page language="C#" autoeventwireup="true" inherits="user_link, kfenlei" %><%@ Register TagPrefix="qth8" TagName="userManageLeft" Src="~/inc/userWebSiteLeft.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" />
<link rel="stylesheet" type="text/css" href="/template/css.css" />
</head>
<body>
<div align="center">
<qth8:userManageTop runat="server" ID="userManageTop" selectValue="4" />
<div class="main" align="left">
<div class="clear"></div>
<qth8:userManageLeft runat="server" selectValue="9" ID="userManageLeft" />
<div class="userRight">
<div class="userRightContent">
<div class="userRightContentTop">友情链接管理</div>
<div>
<div>
<form action="action.aspx?s=addLink" method="post" onsubmit="return valiForm()" name="linkForm">
<table width="970" border="0" align="center" cellpadding="5" cellspacing="0" class="listTable">
<tr class="messTd">
<td class="head" width="250">链接关键字</td>
<td class="head" width="250">链接网址</td>
<td class="head" width="80">排序</td>
<td class="head" width="50"></td>
</tr>
<tr>
<td><input type="text" size="25" class="textInputA" name="linkName" /></td>
<td><input type="text" size="25" class="textInputA" value="http://" name="linkUrl" /></td>
<td></td>
<td><input type="submit" class="btn_1" value="添加" /></td></tr>
<%=linkTableStr%>  
</table>
</form></div>
</div>
</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>