<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Html_Html_ModeSet, V5Shop.Shop.Html" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />    
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <uc3:ManageHeader ID="PageHead" runat="server" />
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
                    <tr>
                        <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                            <asp:Label ID="lblModeSet" runat="server" Text="站点访问模式："></asp:Label></td>
                        <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                            <asp:DropDownList ID="ddlMode" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlMode_SelectedIndexChanged">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlMode"
                                ErrorMessage="请选择模式"></asp:RequiredFieldValidator></td>
                    </tr>
                </table>
                <div id="ASPX" runat="server">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table1">
                        <tr>
                            <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                                <cc1:HelpCtrl ID="HelpCtrl1" runat="server" FontColor="red" Header="缓存时间" ImageURL="images/help.gif"
                                    Text="缓存最长保留的时间，注意单位是秒。在缓存时间内，您所做的部分更改可能在前台无法即时显示。建议最佳时间为3600" />
                                <asp:Label ID="lblCacheTime" runat="server" Text="设置缓存时间："></asp:Label></td>
                            <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                                <asp:TextBox ID="txtCacheTime" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="HTML" visible="false" runat="server">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table2">
                        <tr>
                            <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                            </td>
                            <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                                <a href="Html_Html_Public.aspx">发布页面</a>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="REWRITE" visible="false" runat="server">
                    <%--                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table3">
                    <tr>
                        <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        </td>
                        <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                            rewrite
                        </td>
                    </tr>
                </table>--%>
                </div>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table4">
                    <tr>
                        <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        </td>
                        <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                            <asp:Button ID="btnConfirm" runat="server" CssClass="button" OnClick="btnConfirm_Click"
                                Text="确定" />
                            <asp:Label ID="lblShowSuccess" runat="server" Text="设置成功" Visible="False"></asp:Label></td>
                    </tr>
                </table>

                <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
                </script>

            </div>
            <uc1:PageBottom ID="PageBottom1" runat="server" />
    </form>
</body>
</html>
