<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TopWinCMSSetting.aspx.cs"
    Inherits="TopWinCMS.WebUI.Admin.ControlPanel.TopWinCMSSetting" %>

<%@ Register TagPrefix="cc1" Namespace="TopWinCMS.WebControls" Assembly="TopWinCMS.WebControls" %>
<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!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 runat="server">
    <title>CMS 配置</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="No-cach" />
    <link href="../Style.css" type="text/css" rel="stylesheet" />

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

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="100%" class="TabelGrid">
                <tr>
                    <td align="center" colspan="2">
                        由于下列信息全部存放于web.config文件中。
                    </td>
                </tr>
                <tr runat="server" id="Access">
                    <td id="Td1" class="RowTitle" runat="server">
                        Access数据库：
                    </td>
                    <td id="Td2" width="509" runat="server">
                        <asp:TextBox ID="TB_ConnectionAccess" runat="server" Width="381px"></asp:TextBox>
                        &nbsp;<a href="ServerProbe.aspx" target="_blank">探针</a>
                    </td>
                </tr>
                <tr runat="server" id="SqlServer">
                    <td id="Td3" class="RowTitle" runat="server">
                        Sql Server数据库：
                    </td>
                    <td id="Td4" runat="server">
                        <asp:TextBox ID="TB_ConnectionSqlServer" runat="server" Width="450px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        网站域名：
                    </td>
                    <td>
                        <asp:TextBox ID="TB_WebSiteDomainName" runat="server" Width="160px"></asp:TextBox><br />
                        如果有虚拟目录，后面请带虚拟目录:如：www.TopWinCMS.com/cms
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        网站名称：
                    </td>
                    <td>
                        <asp:TextBox ID="TB_SiteName" runat="server" Width="160px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        水印图片地址：
                    </td>
                    <td>
                        <asp:TextBox ID="TB_WatherMakePath" runat="server" Width="260px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        水印位于右：
                    </td>
                    <td>
                        <cc1:NumericTextBox ID="NTB_right" runat="server" Width="80px" AllowDecimal="False"
                            AllowNegative="False" DecimalPlaces="-1"></cc1:NumericTextBox>
                        像素(填整数)、下：
                        <cc1:NumericTextBox ID="NTB_bottom" runat="server" Width="88px" AllowDecimal="False"
                            AllowNegative="False" DecimalPlaces="-1"></cc1:NumericTextBox>
                        像素(填整数)
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        透明度：
                    </td>
                    <td>
                        <cc1:NumericTextBox ID="NTB_transparent" runat="server" Width="80px" AllowDecimal="False"
                            AllowNegative="False" DecimalPlaces="-1"></cc1:NumericTextBox>
                        (填整数)
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        上传目录：
                    </td>
                    <td>
                        <asp:TextBox ID="TB_UP" runat="server" Width="190px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="RowTitle">
                        网站首页使用静态：</td>
                    <td>
                        <asp:CheckBox ID="CB_Static" runat="server" />
                    </td>
                </tr>
                     <tr>
                    <td class="RowTitle">
                        Url重写：</td>
                    <td>
                        <asp:CheckBox ID="CB_UrlRewrite" runat="server" />
                    </td>
                </tr>
                
            </table>
            <div style="text-align: center">
                <asp:Button ID="BT_OK" runat="server" Text="保存" CssClass="btn" OnClick="BT_OK_Click" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
