<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_Ads.aspx.cs" Inherits="QiCms.Web.Admin.Admin_Ads" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="QBSCmsContentPlaceHolder" runat="server">
<form id="TableForm" 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_Ads.aspx">广告管理</a></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">
                               <div class="am-btn-toolbar" style="margin-top:6px;">
                                    <div class="am-btn-group am-btn-group-xs">
                                        <button type="button" class="am-btn am-btn-default am-btn-success" onclick="window.location.href='?Act=Head';">头部广告</button>
                                        <button type="button" class="am-btn am-btn-default am-btn-secondary" onclick="window.location.href='?Act=AllRight';">页面右部广告</button>
                                        <button type="button" class="am-btn am-btn-default am-btn-warning" onclick="window.location.href='?Act=ListOn';">列表页顶部广告</button>
                                        <button type="button" class="am-btn am-btn-default am-btn-danger" onclick="window.location.href='?Act=PageAdOn';">内容页头部广告</button>
                                        <button type="button" class="am-btn am-btn-default am-btn-secondary" onclick="window.location.href='?Act=PageLeft';">内容页左部广告</button>
                                        <button type="button" class="am-btn am-btn-default am-btn-warning" onclick="window.location.href='?Act=PageAdUnder';">内容页尾部广告</button>
                                        <button type="button" class="am-btn am-btn-default am-btn-success" onclick="window.location.href='?Act=Foot';">尾部广告</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <asp:Panel ID="ContentPH" runat="server">
                        <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="10" id="ContentTA" name="ContentTA" placeholder="请输入广告代码" runat="server"></textarea>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="OkBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="OkBtn_Click" Text="确定"/>
                            </div>
                        </div>
                        </asp:Panel>
                    </div>

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