<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_Setting.aspx.cs" Inherits="QiCms.Web.Admin.Admin_Setting" %>
<%@ Register assembly="FCKeditorV2.6.3" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<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 class="am-active">系统设置</li>
            </ol>
            <div class="tpl-portlet-components">
                        
                       <div class="am-tabs tpl-index-tabs" data-am-tabs>
                            <ul class="am-tabs-nav am-nav am-nav-tabs" style="position:static">
                                <li class="am-active"><a href="#tab1">网站信息</a></li>
                                <li><a href="#tab2">站点设置</a></li>
                                <li><a href="#tab3">开关设置</a></li>
                            </ul>

                            <div class="am-tabs-bd am-g tpl-amazeui-form">
                                <div class="am-tab-panel am-fade am-in am-active" id="tab1">
                                    <div id="wrapperA" class="am-u-sm-12 am-u-md-9">
                                        <div id="scroller" class="am-form am-form-horizontal">

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站名称：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebName" type="text" id="oWebName" placeholder="网站名称" runat="server">
                                                </div>
                                            </div>
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站域名：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebUrl" type="text" id="oWebUrl" placeholder="www.qibusi.com" runat="server">
                                                </div>
                                            </div>
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站logo：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebLogo" type="text" id="oWebLogo" placeholder="images/logo.png" runat="server">
                                                </div>
                                            </div>
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站后台目录：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebAdminPath" type="text" id="oWebAdminPath" placeholder="Admin" runat="server">
                                                </div>
                                            </div>
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">文件上传目录：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebUpload" type="text" id="oWebUpload" placeholder="UpLoad" runat="server">
                                                </div>
                                            </div>
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">图片水印LOGO：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebMark" type="text" id="oWebMark" placeholder="images/mark.png" style="width:50%;float:left;" runat="server">
                                                    <div class="am-u-sm-12 am-u-md-3 right" style="width:100px;">
                                                    <select data-am-selected="{btnSize: 'sm'}" ID="MarkLocusDrop" runat="server">
                                                      <option value="0">左上</option>
                                                      <option value="1">左下</option>
                                                      <option value="2">右上</option>
                                                      <option value="3">右下</option>
                                                      <option value="4">中间</option>
                                                    </select>
                                                    </div>
                                                </div>
                                                
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">URL重写后缀：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oUrlMode" type="text" id="oUrlMode" placeholder=".aspx" style="width:50%;float:left;" runat="server" readonly="readonly">
                                                    <div class="am-u-sm-12 am-u-md-3 right" style="width:100px;">
                                                    <select data-am-selected="{btnSize: 'sm'}" ID="UrlModeDrop" runat="server" onchange="ctl00_QBSCmsContentPlaceHolder_oUrlMode.value = this.options[this.selectedIndex].value; this.selectedIndex = 0">
                                                        <option selected="selected">←</option>
                                                        <option value=".aspx">.aspx</option>
                                                        <option value=".ashx">.ashx</option>
                                                    </select>
                                                    </div>
                                                </div>
                                                
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站全局样式：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebStyle" type="text" id="oWebStyle" placeholder="Styles/Index.css" style="width:50%;float:left;" 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="AdvancedStyleChk" name="AdvancedStyleChk" runat="server"/>
                                                        <div class="tpl-switch-btn-view">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success " style="float:right;" onclick="ShowDialog('StyleConfig.aspx',700,500)">高级样式</button>
                                                </div>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站备案号：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oBnum" type="text" id="oBnum" placeholder="京ICP备00000000号" runat="server">
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站Copyright：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oCopyright" type="text" id="oCopyright" placeholder="Copyright  2017-2018  All rights reserved. " runat="server">
                                                </div>
                                            </div>
                                            
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                <div class="am-tab-panel am-fade" id="tab2">
                                    <div id="wrapperB" class="am-u-sm-12 am-u-md-9">
                                        <div id="scroller" class="am-form am-form-horizontal">
                                            
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">列表页条数：</label>
                                                <div class="am-u-sm-9" style="margin-top:10px;font-size:12px;">
                                                    <asp:RadioButtonList ID="NewsListNumRadl" runat="server" RepeatDirection="Horizontal">
                                                        <asp:ListItem>10条</asp:ListItem>
                                                        <asp:ListItem>15条</asp:ListItem>
                                                        <asp:ListItem>20条</asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">首页顶部广告：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebBanner" type="text" id="oWebBanner" placeholder="Images/banner.swf" runat="server">
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">首页置顶图片数：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebTopImg" type="text" id="oWebTopImg" placeholder="2" runat="server">
                                                    <asp:RegularExpressionValidator ID="TopImgNumValRE" runat="server" ErrorMessage="*"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">首页头条内容数：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebTopArtNum" type="text" id="oWebTopArtNum" placeholder="14" runat="server">
                                                    <asp:RegularExpressionValidator ID="TopArtNumValRE" runat="server" ErrorMessage="*"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">列表页图片数：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebListImg" type="text" id="oWebListImg" placeholder="18" runat="server">
                                                     <asp:RegularExpressionValidator ID="ListImgNumValRE" runat="server" ErrorMessage="*"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">一周热门条数：</label>
                                                <div class="am-u-sm-9">
                                                    <input name="oWebHitsNum" type="text" id="oWebHitsNum" placeholder="10" runat="server">
                                                    <asp:RegularExpressionValidator ID="HitsNumValRE" runat="server" ErrorMessage="*"></asp:RegularExpressionValidator>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">首页关键字：</label>
                                                <div class="am-u-sm-9">
                                                    <textarea class="" rows="3" name="oIndexKeywords" id="oIndexKeywords" placeholder="奇布思,QiBuSi,奇布思为企业而生" runat="server"></textarea>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">首页描述：</label>
                                                <div class="am-u-sm-9">
                                                    <textarea class="" rows="3" name="oIndexDescription" id="oIndexDescription" placeholder="奇布思,QiBuSi,奇布思为企业而生" runat="server"></textarea>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">统计代码：</label>
                                                <div class="am-u-sm-9">
                                                    <textarea class="" rows="6" name="oWebStati" id="oWebStati" placeholder="请放入统计代码" runat="server"></textarea>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站简介：</label>
                                                <div class="am-u-sm-9">
                                                    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="300px"></FCKeditorV2:FCKeditor>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <div class="am-tab-panel am-fade" id="tab3">
                                    <div id="wrapperC" class="am-u-sm-12 am-u-md-9">
                                        <div id="scroller" class="am-form am-form-horizontal">
                                            
                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">网站URL重写：</label>
                                                <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="RewriterChk" name="RewriterChk" runat="server" />
                                                        <div class="tpl-switch-btn-view">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">动态生成HTML：</label>
                                                <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="CreateHtmlChk" name="CreateHtmlChk" runat="server"/>
                                                        <div class="tpl-switch-btn-view">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">页面平滑过渡：</label>
                                                <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="TransitionChk" name="TransitionChk" runat="server" />
                                                        <div class="tpl-switch-btn-view">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="am-form-group">
                                                <label for="user-name" class="am-u-sm-3 am-form-label" style="text-align:left;">防刷新策略：</label>
                                                <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="RefreshChk" name="RefreshChk" runat="server"/>
                                                        <div class="tpl-switch-btn-view">
                                                            <div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>

                            </div>

                           <div class="am-form-group">
                                <div class="am-u-sm-9 am-u-sm-push-3">
                                    <asp:Button ID="ConfigBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" Text="保存" onclick="ConfigBtn_Click" />
                                </div>
                            </div>

                        </div>


                
             </div>


        </div>
</form>
</asp:Content>
