<?

/*
FlexCMS (http://www.flexcms.com)
Flexible, Powerful, Affordable.

Contents of this file are protected by the copyright
notice found at http://www.flexcms.com/flex/pages/copyright.html,
and its usage is subject to the terms of the licensing agreement 
available at http://www.flexcms.com/flex/pages/license.html
*/


	
	// ========================================================================================
	
	$PageTitle = '<img src="'.$ImagesURL.'/admin/admincp_backup.gif" width="20" height="21" align="middle"> '.$MsgText[0][583];
	$BrowserTitle = $MsgText[0][583];
	$LocationBar = '<a href="'.$IndexURL.'">'.$MsgText[0][1].'</a> > <a href="' . $MainURL . '/options.html">'.$MsgText[0][4].'</a> > '.$MsgText[0][583];
	
	if ($LoggedIn == 'y') {
		
		ReadPermissions();
		Global $Permissions;
		
		if ($Permissions[22] == 'y') {
		
			
			$PageContents = '<br><b>'.$MsgText[0][585].'</b><br><br><form action="'.$MainURL.'/admin/backup-create.html" method="post">

	<table border="0" cellpadding="5" cellspacing="0">
    <tr>
      <td width="40" align="center"><input type="checkbox" name="BackupItems-Database" value="y" checked></td>
      <td><font face="'.$FontFace.'" size="'.$FontSize.'"><b>'.$MsgText[0][586].'</b><br>'.$MsgText[0][587].'</font></td>
    </tr>
	<tr>
      <td width="40" align="center"><input type="checkbox" name="BackupItems-Sources" value="y" checked></td>
      <td><font face="'.$FontFace.'" size="'.$FontSize.'"><b>'.$MsgText[0][588].'</b><br>'.$MsgText[0][589].'</font></td>
    </tr>
	<tr>
      <td width="40" align="center"><input type="checkbox" name="BackupItems-Images" value="y" checked></td>
      <td><font face="'.$FontFace.'" size="'.$FontSize.'"><b>'.$MsgText[0][590].'</b><br>'.$MsgText[0][591].'</font></td>
    </tr>
    </table>

	
	<br><br><br>
	
	<div align="center"><input type="submit" value="'.$MsgText[0][583].'" style="'.$FormStyle.'"></div>

	

</form>';
			
		
		}
		else {
		
			$PageContents = $MsgText[0][97];
		
		}

	}
	else {
	
		RedirectToLogin();
	
	}



?>
