<%@ Page Language="c#" Inherits="Web.User.addLinkGang" CodeBehind="addLinkGang.aspx.cs" %>
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>addLetterLink</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
    <script type="text/javascript">
        function checkAll() {
            //验证
            if (checkAllValidate()) {
                return true;
            } else {
                return false;
            }
        }
        //关闭弹出层 刷新列表
        function divClose(bigclassid, menuid, groupId) {
            parent.$.fancybox.close();
            parent.location = "manageLinkGang.aspx?bigclassId=" + bigclassid + "&menuId=" + menuid + "&groupId=" + groupId;
        };
        function divClosed() {
            parent.$.fancybox.close();
            parent.location = "AuditingLinkGang.aspx";
        };

        function delayClose(bigclassid, menuid, groupId) {
            setTimeout("divClose(" + bigclassid + "," + menuid + "," + groupId + ")", 1000);
        }
        function delayClosed() {
            setTimeout("divClosed()", 1000);
        }
    </script>
</head>
<body>
    <form id="addLetterLink" method="post" runat="server">
    <div class="edit-func-box func-box">
        <div class="hd b">
            文字链接项编辑</div>
        <div class="bd">
            <table class="edit-table">
                <tr>
                    <th>
                        链接名称：
                    </th>
                    <td>
                        <asp:TextBox ID="name" runat="server" class="input-md w3" notNull="true" msgName="链接名称" ></asp:TextBox>
                        &nbsp;
                        <asp:CheckBox ID="isTop" runat="server" Text="固顶"></asp:CheckBox>
                    </td>
                </tr>
                <tr>
                    <th>
                        链接地址：
                    </th>
                    <td>
                        <asp:TextBox ID="url" runat="server" class="input-md w3" MaxLength="100" ></asp:TextBox>
                        <br />
                        <span class="lgrey">外链地址需加上http://</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        <%--浏览权限：--%>
                        显示等级：
                    </th>
                    <td>
                        <%--<asp:DropDownList ID="gate" runat="server" CssClass="input-md">
                            <asp:ListItem Value="0">无限制</asp:ListItem>
                            <asp:ListItem Value="1">仅内网可见</asp:ListItem>
                            <asp:ListItem Value="2">仅登录可见</asp:ListItem>
                            <asp:ListItem Value="3">内网或登录可见</asp:ListItem>
                        </asp:DropDownList>--%>
                        <asp:DropDownList ID="grade" runat="server"  CssClass="input-md">
                        </asp:DropDownList>

                    </td>
                </tr>
            </table>
            <div class="ft">
                <div class="action-field text-center">
                    <asp:Button ID="add" class="btn btn-sm btn-primary" runat="server" Text="添 加" OnClientClick="return checkAll();" OnClick="add_Click"></asp:Button>
                    &emsp;
                     <input type="button" class="btn btn-sm btn-primary" value="取 消" onclick="parent.$.fancybox.close();" />&emsp;
                    <asp:Label ID="lbTip" runat="server" ForeColor="Red" Text=""></asp:Label>
                </div>
                <!--/action-field-->
            </div>
        </div>
    </div>
    </form>
        <!--#include file = "../Css/foot.htm" -->
    
</body>
</html>
