<?PHP
include"../inc/var.php";
include "../inc/connect.php";
include $server_inc."/client_functions.php";
include $server_inc."/whm_functions.php";
include $server_inc."/login_functions.php";

include $server_admin_inc."/header.php";
echo("
	<table width='725' cellpadding='2' cellspacing='0' border='0'>
		<tr>
			<td colspan='2'><img src='".$http_images."/space.gif' width='1' height='5'></td>
		</tr>
		<tr>
			<td colspan='2'><img src='".$http_images."/space.gif' width='15' height='1'><a href='".$http_admin."/index2.php?sid=".trim($sid)."'><img border='0' src='".$http_images."/menu_arrow_back.gif'><b>Go back</b></a></td>
		</tr>
		<tr>
			<td colspan='2' align='left' valign='top'><hr color='#F0EFED'></td>
		</tr>
		<tr>
			<td width='1%' align='left' valign='top'><img src='".$http_images."/space.gif' width='15' height='1'></td>
			<td width='99%' align='left' valign='top'>
	");
echo dbbackup($email_admin, $server_backup, $dbhost, $dbuser, $dbpass, $db, $http_admin, $http_images, $which);
echo("
			</td>
		</tr>
		<tr>
			<td colspan='2'><img src='".$http_images."/space.gif' width='1' height='15'></td>
		</tr>
	</table>
	"); 
include $server_admin_inc."/footer.php";

mysql_close($dblink);
?>