session_start();
	require_once "sanity_check.php";
	require_once "version.php"; 
	require_once "config.php";
	require_once "db-prefs.php";
	require_once "functions.php"; 
	$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);	
	login_sequence($link);
?>
	
 if (get_pref($link, 'DISPLAY_HEADER')) { ?>
	
 } else { ?>
	| 
		   
		
	 | 
		 if (!SINGLE_USER_MODE) { ?>
			Hello, = $_SESSION["name"] ?>
			(Logout)
		 } ?>
 | 
 } ?>
	 if (get_pref($link, 'COMBINED_DISPLAY_MODE')) 
			$feeds_rowspan = 2;
		else 
			$feeds_rowspan = 3; ?>
	|  
		
	 | 
	
		
	 | 
 if (get_pref($link, 'COMBINED_DISPLAY_MODE')) { ?>
	| 
		
	 | 
 } else { ?>
	| 
		
	 | 
	| 
		
	 | 
 } ?>
 if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
	
 } ?>
 db_close($link); ?>