<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="managemenubackupfile.aspx.cs" Inherits="Discuz.ForumPage.Admin.managemenubackupfile" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>无标题页</title>
    <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
    <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />        
    <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../js/modalpopup.js"></script>
    <script type="text/javascript" src="../js/common.js"></script>
</head>
<body>
<br />
    <form id="form1" runat="server">
	<div class="Navbutton" style="width:98%;"> 
			<table cellspacing="1" cellpadding="4" align="center" class="table1">
				<tbody>
					<tr>
						<td class="category" align="left"><input title="选中/取消选中 本页所有Case" onclick="CheckAll(this.form)" type="checkbox" name="chkall" id="chkall" />全选/取消全选
							<cc1:Button id="Delbackupfile" runat="server" Text="删 除" ButtonImgUrl="../images/del.gif" OnClick="Delbackupfile_Click" ></cc1:Button>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
    <cc1:datagrid id="DataGrid1" runat="server">
	   <Columns>
	    <asp:TemplateColumn HeaderText="选择">
			<ItemTemplate>
				<input id="backupname" onclick="javascript:SH_SelectOne(this)" type="checkbox" value="<%# DataBinder.Eval(Container, "DataItem.backupname").ToString() %>"	name="backupname" />
			</ItemTemplate>
		</asp:TemplateColumn>
	    <asp:BoundColumn DataField="backupdate" HeaderText="备份日期"></asp:BoundColumn>
          <asp:TemplateColumn HeaderText="操作">
            <ItemTemplate>
                <a href="managemenubackupfile.aspx?filename=<%# DataBinder.Eval(Container, "DataItem.backupname").ToString() %>" onclick='return confirm("您确认要将 <%# DataBinder.Eval(Container, "DataItem.backupdate").ToString() %> 的备份菜单恢复吗？\n\t注意：恢复将覆盖当前使用中的菜单！");'>恢复此备份</a>
            </ItemTemplate>
          </asp:TemplateColumn>
      </Columns>
	</cc1:datagrid>
	<p style="text-align:right;">
	    <button type="button" class="ManagerButton" id="Button3" onclick="window.location='managemainmenu.aspx';"><img src="../images/arrow_undo.gif"/> 返 回</button>
	</p>
    </form>
    <%=footer%>
</body>
</html>
