<%@ page language="C#" autoeventwireup="true" inherits="Admin_WebSetting_DataBaseBack, ShopWe" %>

<!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>数据恢复</title>
    <link href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />

    


    <script type="text/javascript" src="../css/admin.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
        <tr>
		<td>
		<h4><img src="../css/images/help.png" width="10" height="10" alt="帮助" />
                      帮助：选中你所要删除的备份数据库，请点击</h4>
                         <asp:Button ID="DeleteSelect" runat="server" Text="删除所选备份数据库" OnClick="DeleteSelect_Click" class="butt_tle" style="height:22px; width:120px"/>
                    <h4><img src="../css/images/help.png" width="10" height="10" alt="帮助" />
                       帮助：如果你需要备份数据库，请点击</h4>
					    <a href="DataBaseBackup.aspx" class="blue_ys"><img src="../Themes/Default/Images/add.png" /> 备份数据库</a>
            </td>
        </tr>
    </table>
    <asp:Repeater ID="RepeaterTable" runat="server">
        <HeaderTemplate>
            <div id="all">
                <table width="100%" cellpadding="0" cellspacing="0" id="bk" >
                    <thead>
                        <tr>
                            <th style="width: 30px">
                                <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterTable')"
                                   />
                            </th>
                            <th style="width: 200px">
                                备份文件名
                            </th>
                            <th style="width: 150px">
                                文件大小（字节）
                            </th>
                            <th style="width: 150px">
                                版本号
                            </th>
                            <th style="width: 150px">
                                备份时间
                            </th>
                            <th>
                                恢复
                            </th>
                        </tr>
                    </thead>
                    <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%# Eval("Guid") %>' BorderStyle="None"
                        BorderWidth="0px" />
                </td>
                <td>
                    <a href='../../DataBaseBackup/<%# Eval("DataBaseName")%>' class="blue">
                        <%# Eval("DataBaseName")%>
                    </a>
                </td>
                <td>
                    <%# Eval("DataBaseSize")%>
                </td>
                <td>
                    <%# Eval("DataBaseVersion")%>
                </td>
                <td>
                    <%# Eval("BackupDate")%>
                </td>
                <td>
                    <asp:Button ID="ButtonBack" runat="server" Text="恢复" CommandArgument='<%# Eval("DataBaseName") %>'
                        OnClick="ButtonBack_Click"  CssClass="but_add" />
                </td>
            </tr>
        </ItemTemplate>
    </asp:Repeater>
    </form>
</body>
</html>
