<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_SiteLinkMg.aspx.cs" Inherits="QiCms.Web.Admin.Admin_SiteLinkMg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="QBSCmsContentPlaceHolder" runat="server">
<form id="TableForm" runat="server">
    <asp:Panel ID="AddPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_Sitelink.aspx">链接管理</a></li>
            <li class="am-active">添加链接</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站名称：</label>
                            <div class="am-u-sm-9">
                                <input name="LinkNameTxt" type="text" id="LinkNameTxt" placeholder="网站名称" style="width:50%;float:left;" MaxLength="50" runat="server">
                                <div class="input-icon right">
                                    <div class="tpl-switch" style="width:10%;float:left;margin-left:5%;">
                                        <input type="checkbox" class="ios-switch tpl-switch-btn" ID="LinkIndexChk" name="LinkIndexChk" runat="server"/>
                                        <div class="tpl-switch-btn-view">
                                            <div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <label for="user-name" class="am-u-sm-3 am-form-label">作为首页链接</label>
                                <asp:RequiredFieldValidator ID="LinkNameValR" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>

                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站地址：</label>
                            <div class="am-u-sm-9">
                                <input name="LinkUrlTxt" type="text" id="LinkUrlTxt" placeholder="http://" maxlength="255" runat="server">
                                <asp:RegularExpressionValidator ID="LinkUrlValRE" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RegularExpressionValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站图标：</label>
                            <div class="am-u-sm-9">
                                <input name="LinkLogoTxt" type="text" id="LinkLogoTxt" placeholder="网站的LOGO地址" runat="server" style="width:50%;float:left;" MaxLength="255">
                                <div class="input-icon right">
                                    <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " style="float:left;margin-left:20px;" onclick="ShowDialog('UpFiles.aspx',576,280)">上传图片</button>
                                </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站简介：</label>
                            <div class="am-u-sm-9">
                                <textarea class="" rows="4" id="LinkRemarkTxt" name="LinkRemarkTxt" placeholder="网站简要说明小于255字" runat="server"></textarea>
                                <asp:RequiredFieldValidator ID="LinkRemarkValR" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="LinkAddBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="LinkAddBtn_Click" Text="添加"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="EditPH" runat="server">
                <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_Sitelink.aspx">链接管理</a></li>
            <li class="am-active">编辑链接</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站名称：</label>
                            <div class="am-u-sm-9">
                                <input name="LinkNameTxtEdit" type="text" id="LinkNameTxtEdit" placeholder="网站名称" style="width:50%;float:left;" MaxLength="50" runat="server">
                                <div class="input-icon right">
                                    <div class="tpl-switch" style="width:10%;float:left;margin-left:5%;">
                                        <input type="checkbox" class="ios-switch tpl-switch-btn" ID="LinkIndexChkEdit" name="LinkIndexChkEdit" runat="server"/>
                                        <div class="tpl-switch-btn-view">
                                            <div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <label for="user-name" class="am-u-sm-3 am-form-label">作为首页链接</label>
                                <asp:RequiredFieldValidator ID="LinkNameValREdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>

                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站地址：</label>
                            <div class="am-u-sm-9">
                                <input name="LinkUrlTxtEdit" type="text" id="LinkUrlTxtEdit" placeholder="http://" maxlength="255" runat="server">
                                <asp:RegularExpressionValidator ID="LinkUrlValREEdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RegularExpressionValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站图标：</label>
                            <div class="am-u-sm-9">
                                <input name="LinkLogoTxtEdit" type="text" id="LinkLogoTxtEdit" placeholder="网站的LOGO地址" runat="server" style="width:50%;float:left;" MaxLength="255">
                                <div class="input-icon right">
                                    <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " style="float:left;margin-left:20px;" onclick="ShowDialog('UpFiles.aspx',576,280)">上传图片</button>
                                </div>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">网站简介：</label>
                            <div class="am-u-sm-9">
                                <textarea class="" rows="4" id="LinkRemarkTxtEdit" name="LinkRemarkTxtEdit" placeholder="网站简要说明小于255字" runat="server"></textarea>
                                <asp:RequiredFieldValidator ID="LinkRemarkValREdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="LinkEditBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="LinkEditBtn_Click" Text="修改"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
</form>
</asp:Content>
