/**
	* Function to show the log for the upgrade
	**/
	function wpau_show_backup_log($automated = false) {
		global $wpdb;
		$logData = '';
		wpauStartHtml();
		echo '<strong>Congratulations!!! Your Wordpresss installation has been upgraded.</strong>';
		echo '<br /><strong>Please download your backup files if you have not done it.</strong><br />';
		echo '<a href="'.get_bloginfo('siteurl').'/'.WPAU_BACKUP_DIR.'/'.$_SESSION['filesbakname'].'">DOWNLOAD FILES BACKUP</a><br />';
		echo '<a href="'.get_bloginfo('siteurl').'/'.WPAU_BACKUP_DIR.'/'.$_SESSION['dbbakname'].'">DOWNLOAD DATABASE BACKUP</a><br />';
		echo 'Don\'t forget to run  <a href="'.get_bloginfo('siteurl').'/wp-admin/upgrade.php" target="_blank">Database Upgrade</a> if you have not done it.';
		echo 'You can <a href="?page='.WPAU_PAGE.'&task=cleanup">Clean up</a> the ugradation files once your done';
		echo "<hr /><strong>Below is the log for the upgradation</strong><br /><hr />";
		$logData = getDBLog();
		$wpauHelper = new wpauHelper;
		$dirName = trailingslashit(ABSPATH);
		$dirName = trailingslashit($dirName);
		if($wpauHelper->writeLogToDisk($dirName, WPAU_LOG_FILE, $logData)) {
			echo '<strong>Click <a href="'.get_bloginfo('siteurl').'/'.WPAU_LOG_FILE.'" target="_blank">here</a> to download the log file</strong><br>';
		}
		unset($wpauHelper);
		echo $logData;
		wpauEndHtml();
	}