<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_data_backup, App_Web_wrcbq7tn" %>

<html  >
<head id="Head1" runat="server">
    <title>数据文件备份</title>
    <link href="../CssHtml.css" rel="stylesheet" type="text/css" />
</head>
<body style ="text-align:center">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        
    <div >
    <table style="font-size: 9pt;width:100%; border-bottom: inactivecaption 1px solid;" cellpadding="0" cellspacing="0">
            <tr>
                <td align =left >目前位置：系统管理 - 数据维护 - 数据备份
                </td>
                <td align ="right" >
                    <asp:Button ID="btn_backup" runat="server" OnClick="btn_backup_Click" Text="手工备份" /><a href="../OnlineHelp/OnlineHelp.aspx" target="_blank"><img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>
                </td>
                
            </tr>
           
        </table>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
       
        <div  style ="text-align :center; width :100%;">
            <table width ="60%" style="text-align :center ; border-right: #0066ff 1px solid; border-top: #0066ff 1px solid; border-left: #0066ff 1px solid; border-bottom: #0066ff 1px solid;">
                <tr>
                    <td style="font-weight: bold; color: white; background-color: #4898ce;" colspan="2">
                        数据备份设置</td>
                </tr>
                <tr>
                    <td style="width: 30%; background-image: url(../Images/bg04.gif);">
                        备份文件根目录（服务器目录）</td>
                    <td style="width: 70%">
                        <asp:TextBox ID="txt_goalPath" runat="server" Width="100%"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 30%; background-image: url(../Images/bg04.gif);">
                        备份周期</td>
                    <td align="left" style="width: 70%">
                        <asp:DropDownList ID="dropd_period" runat="server">
                            <asp:ListItem>0-每天</asp:ListItem>
                            <asp:ListItem>1-每周</asp:ListItem>
                            <asp:ListItem>2-每月</asp:ListItem>
                          
                        </asp:DropDownList></td>
                </tr>
                 <tr>
                    <td style="width: 30%; background-image: url(../Images/bg04.gif);">
                        保留备份文件（天）</td>
                    <td align="left" style="width: 70%">
                        <asp:DropDownList ID="dropd_days" runat="server">
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                             <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                            <asp:ListItem>13</asp:ListItem>
                            <asp:ListItem>14</asp:ListItem>
                            <asp:ListItem>15</asp:ListItem>
                            <asp:ListItem>16</asp:ListItem>
                            <asp:ListItem>17</asp:ListItem>
                             <asp:ListItem>18</asp:ListItem>
                            <asp:ListItem>19</asp:ListItem>
                            <asp:ListItem>20</asp:ListItem>
                            <asp:ListItem>21</asp:ListItem>
                            <asp:ListItem>22</asp:ListItem>
                            <asp:ListItem>23</asp:ListItem>
                            <asp:ListItem>24</asp:ListItem>
                            <asp:ListItem>25</asp:ListItem>
                            <asp:ListItem>26</asp:ListItem>
                            <asp:ListItem>27</asp:ListItem>
                             <asp:ListItem>28</asp:ListItem>
                            <asp:ListItem>29</asp:ListItem>
                            <asp:ListItem>30</asp:ListItem>
                          
                        </asp:DropDownList>
                        </td>
                </tr>
                <tr>
                    <td style="width: 30%; background-image: url(../Images/bg04.gif);">
                        备份方式</td>
                    <td align="left" style="width: 70%">
                        <input id="Radio1" runat="server"  name="bway" title="自动备份" type="radio"
                            value="auto" />
                        自动备份&nbsp;
                        <input id="Radio2" runat="server" name="bway" type="radio" value="manual" />手工备份</td>
                </tr>
                 <tr>
                    <td style="border-top: #0066ff 1px solid;" align="left" colspan="2">
                        &nbsp; &nbsp;<asp:Label ID="lbl_state" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="background-color: #f2f8fd;" align="right" colspan="2">
                        <asp:Button ID="btn_save" runat="server" Text="保 存" OnClick="btn_save_Click" /></td>
                </tr>
            </table>
            </div>
          <div style ="width :80%; text-align :left ; position :relative ; top :10px; left :10px;">
             <asp:UpdateProgress ID="UpdateProgress1" runat="server"  AssociatedUpdatePanelID="UpdatePanel1">
                         <ProgressTemplate>
                         <asp:Image runat="server" ID="img_pro"  ImageUrl="../Images/loading/loading2.gif">
                            </asp:Image>
                         </ProgressTemplate> 
                        </asp:UpdateProgress></div>
           
        </ContentTemplate>
        </asp:UpdatePanel>
    </div>
   
    </form>
</body>
</html>
