<!--#include file="admin_start.asp" -->
<!--#include file="../inc/config_databackup_name.asp" -->
<body topmargin="30"  marginwidth="10" marginheight="10">
<form  name=safe_database  method=post>
	<table cellpadding="3" cellspacing="4"  width="90%" height="30" align=center style='border:1px solid #ebebeb' >
<!--数据库更名-------------------------------------------------------------------------------- //-->
		
		<tr align="left" >
			<td height=30 colspan="2" valign="middle">
			<img alt='点击弹开编辑框' onclick="opencat(database_0_0_open)" style='CURSOR: hand' src="Images/index_search.gif" width="8" height="16" hspace="5" align="absmiddle">
			+ 数据库更名 +
			<font color="#ebebeb"> | </font>
			<img alt='点击弹开提示信息框' onclick="opencat(database_0_1_open)" style='CURSOR: hand' src="Images/icon_info.gif" width="13" height="13" hspace="0" align="absmiddle">			
			<font color="#ebebeb"> | </font>
			</td>
		</tr>
		<tr id="database_0_1_open" style="display:">
			<td colspan="2" align=left>
	        <table cellpadding="5" cellspacing="3" width="99%" height="30" align=center style='border:1px dashed #B7B7B7' >
			<tr>
				<td width=100% style='line-height:150%'>
				·进行数据库更名前请先备份好您的数据库！<br>
				·数据库名中不要包含特殊字符。<br>
				·数据库的后缀最好用".asp",防止其他人下载。<br>
				·本操作需要FSO支持，FSO相关帮助请看微软网站。
				</td>
			</tr>
			</table>
			</td>
		</tr>
		<tr id="database_0_0_open" style="display:">
			<td colspan="2" align=left>
	        <table width="99%" height="60" align=center cellpadding="4" cellspacing="2" bgcolor='#f7f7f7' style='border:1px dashed #808080' >
			<tr>
				<td width=25% align=right>新 数 据 库 名:</td>
			  <td width=75% align=left><input name='dataname' value='<%=dataname%>' size=50>
			    <img alt='提交更改数据库名称！' style='CURSOR: hand' onClick="safe_database.action='admin_safe_database_edit.asp?action=editname';safe_database.submit();" src="Images/go.gif" width="31" height="19" align="absmiddle"></td>
			</tr>
			</table>
			</td>
		</tr>

<!--数据库备份-------------------------------------------------------------------------------- //-->
		
		<tr>
			<td height='1' colspan="2" background='images/dot03.gif'></td>
		</tr>
		<tr align="left" >
			<td height=30 colspan="2" valign="middle">
			<img alt='点击弹开编辑框' onclick="opencat(database_1_0_open)" style='CURSOR: hand' src="Images/index_search.gif" width="8" height="16" hspace="5" align="absmiddle">
			+ 数据库备份 +
			<font color="#ebebeb"> | </font>
			<img alt='点击弹开提示信息框' onclick="opencat(database_1_1_open)" style='CURSOR: hand' src="Images/icon_info.gif" width="13" height="13" hspace="0" align="absmiddle">			
			<font color="#ebebeb"> | </font>
			</td>
		</tr>
		<tr id="database_1_1_open" style="display:">
			<td colspan="2" align=left>
	        <table cellpadding="5" cellspacing="3" width="99%" height="30" align=center style='border:1px dashed #B7B7B7' >
			<tr>
				<td width=100% style='line-height:150%'>
				·备份数据库的路径为相对系统的根目录的路径。<br>
				·备份数据库名中不要包含特殊字符。<br>
				·备份数据库的后缀最好用".asp",防止其他人下载。<br>
				·本操作需要FSO支持，FSO相关帮助请看微软网站。
				</td>
			</tr>
			</table>
			</td>
		</tr>
		<tr id="database_1_0_open" style="display:">
			<td colspan="2" align=left>
	        <table width="99%" height="60" align=center cellpadding="4" cellspacing="2" bgcolor='#f7f7f7' style='border:1px dashed #808080' >
			<tr>
				<td width=25% align=right>备份数据库路径:</td>
			  <td width=75% align=left><input name='databackup_path' value='<%=backupName%>' size=50>
			    <img alt='提交备份数据库！' style='CURSOR: hand' onClick="safe_database.action='admin_safe_database_edit.asp?action=backup';safe_database.submit();" src="Images/go.gif" width="31" height="19" align="absmiddle"></td>
			</tr>
			</table>
			</td>
		</tr>


<!--数据库压缩-------------------------------------------------------------------------------- //-->
		
		<tr>
			<td height='1' colspan="2" background='images/dot03.gif'></td>
		</tr>
		<tr align="left" >
			<td height=30 colspan="2" valign="middle">
			<img alt='点击弹开编辑框' onclick="opencat(database_2_0_open)" style='CURSOR: hand' src="Images/index_search.gif" width="8" height="16" hspace="5" align="absmiddle">
			+ 数据库压缩 +
			<font color="#ebebeb"> | </font>
			<img alt='点击弹开提示信息框' onclick="opencat(database_2_1_open)" style='CURSOR: hand'  src="Images/icon_info.gif" width="13" height="13" hspace="0" align="absmiddle">			
			<font color="#ebebeb"> | </font>
			</td>
		</tr>
		<tr id="database_2_1_open" style="display:">
			<td colspan="2" align=left>
	        <table cellpadding="5" cellspacing="3" width="99%" height="30" align=center style='border:1px dashed #B7B7B7' >
			<tr>
				<td width=100% style='line-height:150%'>
				·请选择备份数据库进行压缩。<br>
				·当前正在使用的数据库不可压缩。<br>
				·如果您的备份数据库为Access97版本，请在数据库版本中选择“Access97版本”，否则选择“更高版本”<br>
				·本操作需要FSO支持，FSO相关帮助请看微软网站。
				</td>
			</tr>
			</table>
			</td>
		</tr>
		<tr id="database_2_0_open" style="display:">
			<td colspan="2" align=left>
	        <table width="99%" height="60" align=center cellpadding="4" cellspacing="2" bgcolor='#f7f7f7' style='border:1px dashed #808080' >
			<tr>
				<td width=25% align=right>压缩数据库对象:</td>
				<td width=75% align=left><input name='data_tocompress' value='<%=backupName%>' size=50>
			    <img alt='提交压缩数据库！' style='CURSOR: hand' onClick="safe_database.action='admin_safe_database_edit.asp?action=compress';safe_database.submit();" src="Images/go.gif" width="31" height="19" align="absmiddle"></td>
			</tr>
			<tr>
				<td width=25% align=right>数 据 库 版 本:</td>
			  <td width=75% align=left>
				<select name='data_ver_97' >
				<option value=0 slected>更高版本</option>
				<option value=1 >Access97版本</option>
				</select>				</td>
			</tr>
			</table>
			</td>
		</tr>

<!--数据库恢复-------------------------------------------------------------------------------- //-->
		
		<tr>
			<td height='1' colspan="2" background='images/dot03.gif'></td>
		</tr>
		<tr align="left" >
			<td height=30 colspan="2" valign="middle">
			<img alt='点击弹开编辑框' onclick="opencat(database_3_0_open)" style='CURSOR: hand' src="Images/index_search.gif" width="8" height="16" hspace="5" align="absmiddle">
			+ 数据库恢复 +
			<font color="#ebebeb"> | </font>
			<img alt='点击弹开提示信息框' onclick="opencat(database_3_1_open)" style='CURSOR: hand'  src="Images/icon_info.gif" width="13" height="13" hspace="0" align="absmiddle">			
			<font color="#ebebeb"> | </font>
			</td>
		</tr>
		<tr id="database_3_1_open" style="display:">
			<td colspan="2" align=left>
	        <table cellpadding="5" cellspacing="3" width="99%" height="30" align=center style='border:1px dashed #B7B7B7' >
			<tr>
				<td width=100% style='line-height:150%'>
				·请选择备份数据库进行恢复。如果没有备份的数据库请先备份您的数据库！<br>
				·<font color=red>恢复后备份的数据库将覆盖当前的数据库，请慎用！</font><br>
				·本操作需要FSO支持，FSO相关帮助请看微软网站。
				</td>
			</tr>
			</table>
			</td>
		</tr>
		<tr id="database_3_0_open" style="display:">
			<td colspan="2" align=left>
	        <table width="99%" height="60" align=center cellpadding="4" cellspacing="2" bgcolor='#f7f7f7' style='border:1px dashed #808080' >
			<tr>
				<td width=25% align=right>将备份的数据库:</td>
				<td width=75% align=left><input name='databackup' value='<%=backupname%>' size=50></td>
			</tr>
			<tr>
				<td width=25% align=right>恢复为:</td>
			  <td width=75% align=left><input name='datatorestore' value='<%=dataname%>' size=50>
			    <img alt='提交恢复数据库！' style='CURSOR: hand' onClick="safe_database.action='admin_safe_database_edit.asp?action=restore';safe_database.submit();" src="Images/go.gif" width="31" height="19" align="absmiddle"></td>
			</tr>
			</table>
			</td>
		</tr>

	</table>
	
<SCRIPT language=javascript>
	function opencat(cat)
	{
 	 	if(cat.style.display=="none"){
     	cat.style.display="";
  		} else {
     	cat.style.display="none"; 
  		}
	}
	
</SCRIPT>
</form>
</body>
<!--#include file="admin_end.asp" -->