<%@ page language="VB" autoeventwireup="false" inherits="parrot_admin_data_bak, App_Web_admin_data_bak.aspx.25f04327" %>
<!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>
<title>数据库备份与恢复</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="css/css.css" rel="stylesheet" type="text/css">
<link href="css/body.css" rel="stylesheet" type="text/css">
<link href="css/text.css" rel="stylesheet" type="text/css">
<link href="css/button.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">

    function MM_jumpMenu(targ, selObj, restore) { //v3.0
        eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value + "'");
        if (restore) selObj.selectedIndex = 0;
    }

function CheckAll(form) //传一个表单作参数
{ 
for (var i=0;i<form.elements.length;i++) //对这个表单里的元素进行循环
{ 
var e = form.elements[i]; //一个一个元素判断
if (e.Name != "mdb_bak_name"&&e.disabled!=true) //如果该元素的name属性为chkAll并且disabled!=true.即:该控件可用时.
e.checked = form.chkAll.checked; //控元素的checked与当前选中的控件checked保持一致.即:全选/全不选.
} 
} 
document.oncontextmenu=new Function('event.returnValue=false;'); 
    </script>
    </head>
    <body>
<form id="form1" runat="server">
<table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
          <tr>
            <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
              <tr>
                <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                  <tr>
                    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr>
                        <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                        <td width="76%" valign="bottom" class="huise12">数据库备份与恢复</td>
                        <td width="9%" valign="bottom" class="huise12"><asp:Button CssClass="btn" 
                                ID="Button1" runat="server" Text="备份数据库" />
                            </td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
              <tr>
                <td height="19" bgcolor="#F3F3F3"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                  
                  <tr>
                    <td bgcolor="#FFFFFF" class="wuse12"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                      <tr>
                        <td height="22" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><span class="wuse12">数据名称</span></td>
                        <td width="35%" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">操作管理</td>
                        </tr>
                    </table>
                             <asp:Repeater ID="data_bak" runat="server">
                              <ItemTemplate>
                                <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#F6F6F6">
                                  <tr onMouseOver="this.bgColor='#DBDBDB';" onMouseOut="this.bgColor='#ffffff';" bgColor=#ffffff >
                                    <td width="5%" class="wuse12"><input name="mdb_bak_name" type="checkbox" value="<%#Eval("imagename")%>" /></td>
                                    <td height="25" class="wuse12"><%# Eval("imagename")%></td>
                                    <td width="35%" align="center" class="wuse12"><a href="?mdb_bak_DownLoad=<%# Eval("imagename")%>">下载文件</a>&nbsp;|&nbsp;<a href="?mdb_bak_back=<%# Eval("imagename")%>" onclick="javascrip:return confirm('你确定要把数据库恢复到当前备份状态码？');">恢复备份</a></td>
                                    </tr>
                                </table>
                              </ItemTemplate>
                            </asp:Repeater></td>
                  </tr>
                  <tr>
                    <td><table border="0" cellspacing="3" cellpadding="0" class="wuse12">
                        <tr>
                          <td><input name="chkAll" type="checkbox" id="chkAll" onclick="CheckAll(this.form)" value="checkbox" style="border:0" /></td>
                          <td>全选/反选</td>
                          <td width="90" align="right"><asp:Button CssClass="btn1_mouseout" ID="mdb_delete" runat="server" Text="批量删除"/></td>
                        </tr>
                      </table>                    
                      </td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
    </form>
    </body>
    </html>