<%@ Page Language="c#" Inherits="Web.Wpdcc.manageSitePara" CodeBehind="manageSitePara.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>网站高级属性设置</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file="../Css/adminCss.htm"-->

    <script type="text/javascript">
    $(document).ready(function(){
        $("#btnStatic").click( function(){
            
            }).fancybox({
                'width'		: 840,
				'height'	: 600,
				'type'		: 'iframe',
				'padding':'0'
    })
        $("#btnWeike").click( function(){
            
            }).fancybox({
                'width'		: 750,
				'height'	: 380,
				'type'		: 'iframe',
				'padding':'0'
    })
    
    })
    
    </script>

</head>
<body>
    <div class="edit-func-box func-box">
        <div class="hd">
             您的位置：系统选项 &gt; 网站高级属性设置</div>
        <form id="form1" method="post" runat="server">
        <div class="bd">
            <table class="edit-table">
                <tr>
                     <th width="25%">
                        图片自动压缩宽度：
                    </th>
                    <td>
                        <asp:TextBox ID="txtPicWidth" CssClass="input-txt" runat="server" notNull="true"
                            dataType="integer" mimvalue="0" maxvalue="2000" msgname="图片自动压缩宽度" Text="1000"></asp:TextBox>
                        <span class="tip">(单位:像素)</span>
                    </td>
                </tr>
                <tr>
                    <th>
                        手机版首页：
                    </th>
                    <td>
                        <asp:DropDownList ID="ddlMbIndex" runat="server" DataValueField="pkId" CssClass="drop-txt w3"
                            DataTextField="name">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>
                        手机版新闻页模板：
                    </th>
                    <td>
                        <asp:DropDownList ID="ddlMbNewsTmpid" runat="server" DataValueField="pkId" CssClass="drop-txt w3"
                            DataTextField="name">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>
                        开启静态化功能：
                    </th>
                    <td>
                        <asp:RadioButtonList ID="rblIsStatic" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="1">是 &emsp;</asp:ListItem>
                            <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                        </asp:RadioButtonList>
                        &nbsp;
                        <input id="btnStatic" type="button" value="频道配置" class="btn1 btn" href="manageStaticPage.aspx" />
                    </td>
                </tr>
                             <tr>
                    <th>
                        静态页更新方式：
                    </th>
                    <td>
                        <asp:RadioButtonList ID="rblIsAuto" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="1" Selected="True">自动更新  &emsp;</asp:ListItem>
                            <asp:ListItem Value="0">一键手动更新</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                     <th>
                        开启子站向主站投稿：
                    </th>
                    <td>
                        <asp:RadioButtonList ID="rblIsAllowCtb" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" >
                            <asp:ListItem Text="开启 " Value="1"></asp:ListItem>
                            <asp:ListItem Text="关闭 " Value="0"></asp:ListItem>
                        </asp:RadioButtonList>
                        &emsp; <span class="tip">（仅适用站群模式下的子站使用）</span>                 
                    </td>
                </tr>
                <tr>
                    <th>
                        开启推送微课功能：
                    </th>
                    <td>
                        <asp:RadioButtonList ID="rblIsWeike" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="1">是 &emsp;</asp:ListItem>
                            <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                        </asp:RadioButtonList>
                        &nbsp;
                        <input id="btnWeike" type="button" value="微课配置" class="btn1 btn" href="manageWeike.aspx" />
                    </td>
                </tr>
            </table>
            <!--/edit-table-->
        </div>
        <div class="ft">
            <div class="action-field btn-pl">
                <asp:Button ID="editSystem" class="btn" runat="server" Text="保 存" OnClientClick="return checkAllValidate();"
                    OnClick="editSystem_Click"></asp:Button>
                &nbsp;<asp:Button ID="reset" class="btn" runat="server" Text="重 载" OnClick="reset_Click">
                </asp:Button>
            </div>
            <!--/action-field-->
        </div>
        </form>
    </div>
    <!--/universal-box-->
</body>
</html>
