<%@ page language="C#" autoeventwireup="true" inherits="Admin_ContentManagement_AddFriendsLinks, ShopWe" validaterequest="false" %>

<!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 runat="server">
    <title>添加友情链接</title>
    <link href="../css/my.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="all">
            <div class="validate">
                <asp:ValidationSummary ID="ValidationSummaryPage" CssClass="val_ys" runat="server"
                    DisplayMode="List" ForeColor="#FF6600" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server" ErrorMessage="公告名称不能为空"
                    ControlToValidate="WebSiteName" Display="None"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorUrl" runat="server"
                    ControlToValidate="WebSiteUrl" Display="None" ErrorMessage="输入的URL格式错误" ForeColor="#FF6600"
                    ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?"></asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorUrl" runat="server" ControlToValidate="WebSiteUrl"
                    Display="None" ErrorMessage="连接地址不能为空"></asp:RequiredFieldValidator></div>
            <div class="come_title">
              <h2>
                    友情链接信息</h2>
                <div class="title_help">
						 <a href="http://www.shopwe.cn/bbs/" target="_blank">
                                <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                            <a href="http://help.shopwe.cn/help/Show.asp?id=12" target="_blank">
                                <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
            </div>
            <div class="k_all6">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 90px; height: 36px;">
                            网站名称：</td>
                        <td>
                            <input id="WebSiteName" runat="server" class="input" style="width: 220px" /><h4><img
                                src="../css/images/help.png" />
                            <span style="color: #999999">对方网站的名称。</span></h4></td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 90px; height: 36px;">
                            连接地址：</td>
                        <td>
                            <input class="input" id="WebSiteUrl" runat="server" style="width: 220px" value="http://" /><h4><img
                                src="../css/images/help.png" />
                            <span style="color: #999999">对方网站的连接地址。</span></h4></td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 90px; height: 36px;">
                            Logo图片URL：</td>
                        <td>
                            <asp:TextBox ID="FriendsLinksLogo" Text="http://" runat="server" CssClass="input"
                                Style="width: 220px"></asp:TextBox><h4><img src="../css/images/help.png" />
                            <span style="color: #999999">对方网站的LOGO，如果是文字连接则不填写此项。</span></h4></td>
                    </tr>
                </table>
                &nbsp;</div>
        </div>
        <div class="sub">
            <asp:Button ID="Submit" runat="server" Text="添加友情链接" OnClick="Submit_Click"  CssClass="but_add"/>
        </div>
    </form>
</body>
</html>
