<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Admin_Database.aspx.vb" Inherits="LuckBetBBS.Forum.Admin.Admin_Database" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Admin_Database</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<%Select Case Request("Action")%>
			<% Case "CompressData"%>
			<FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体">
			</FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体">
			</FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体">
			</FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体">
			</FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体">
			</FONT>
			<br>
			<table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" class="tableBorder">
				<tr>
					<th height="23" colspan="2" align="left">
						压缩论坛数据库</th>
				</tr>
				<tr align="left">
					<td height="23" colspan="2" class="Forumrow"><b>注意：</b><br>
						执行压缩操作后将会清空数据库日志</td>
				</tr>
				<tr align="left">
					<td width="75%" height="23" class="Forumrow" align="center">
						<input type="submit" name="Submit" value="开始压缩" id="Submit1" runat="server"></td>
				</tr>
			</table>
			<!--------------------------------------------------------------->
			<%Case "BackupData"%>
			<br>
			<table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" class="tableBorder">
				<tr>
					<th height="23" colspan="2" align="left">
						备份论坛数据库</th>
				</tr>
				<tr align="left">
					<td height="23" colspan="2" class="Forumrow" align="center"><FONT face="宋体">
							<asp:Label id="Label1" runat="server" Font-Bold="True" Font-Size="12pt">备份数据库至服务器的</asp:Label>
							<asp:TextBox id="txtpath" runat="server" CssClass="textbox" Width="195px"></asp:TextBox>&nbsp;&nbsp;<BR>
							&nbsp; （虚拟主机提供商一般不提供支持Web备份方式）<INPUT id="Submit3" type="submit" value="开始备份" name="Submit2" runat="server"></FONT>
					</td>
				</tr>
			</table>
			<!--------------------------------------------->
			<%Case "RestoreData"%>
			<br>
			<table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" class="tableBorder">
				<tr>
					<th height="23" colspan="2" align="left">
						恢复论坛数据库</th>
				</tr>
				<tr align="left">
					<td height="23" colspan="2" class="Forumrow">还原（还原数据库）请参照下图在SQL 
						Server的企业管理器中进行，在还原数据库窗口中选择文件组或文件，再勾选要还要的备份文件再确定还原。<BR>
						<IMG src="../Images/RestoreData1.jpg" border="0"><BR><IMG src="../Images/RestoreData2.jpg" border="0">
					</td>
				</tr>
			</table>
			<%End Select%>
			<a id="based"></a>
			<Script Language="Javascript" Src="../../Inc/southidcj2f.Js"></Script>
		</form>
		<%BBS.Footer()%>
	</body>
</HTML>
