<?php
class Back_res {
	function display($args) {
		require_once("./includes/functions.php");
		include('./includes/header.php');
		$functions=new functions();
		$m = $_GET['m'];
		$ret .= "<br/><table class='contenttoc' id='table'>
            <tr>
	            <th nowrap>&nbsp;".BACKUP_RESTORE_DOWNLOAD_DIS."&nbsp;</th>
            	<th><a href=\"misc/files_download.php\" onmouseover=\"Tip('".BACK_RES_DOWNLOAD."')\" onmouseout='UnTip()'>".BACKUP_RESTORE_DOWNLOAD_LINK_DIS."</a></th>
            </tr>
            </table>
			<br/><br/>
			<form class='beroari_form' name='upload' action='misc/upload.php' method='POST' ENCTYPE=\"multipart/form-data\">
			<table class='contenttoc'>
			<tr>
				<th>&nbsp;".BACKUP_RESTORE_RESTORE_DIS."&nbsp;</th>
				<th><input type='file' size='28' name='uploadfile' onmouseover=\"Tip('".BACK_RES_FILE."')\" onmouseout='UnTip()'></th>
			</tr>
			<tr>
				<td colspan='2'>
					<input type='submit' value='".BUTTON_UPLOAD."' onmouseover=\"Tip('".BACK_RES_UPLOAD."')\" onmouseout='UnTip()'
					onclick=\"if(confirm('".BACKUP_RESTORE_CONFIRM_MESSAGE_DIS."') == false){return false;}\">&nbsp;&nbsp;
					<input type='reset' value='".BUTTON_RESET."' onmouseover=\"Tip('".BACK_RES_RESET."')\" onmouseout='UnTip()'>
				</td>
			</tr>
			</table>
			</form>
			<br/>";
		return $ret;
	}
}
?>
