require_once "functions.php"; 
	basic_nosid_redirect_check();
	require_once "sessions.php";
	require_once "sanity_check.php";
	require_once "version.php"; 
	require_once "config.php";
	require_once "db-prefs.php";
	$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);	
	login_sequence($link);
	$dt_add = get_script_dt_add();
?>
	
 if (get_pref($link, 'DISPLAY_HEADER')) { ?>
	
		
			
			| 
				   
			 | 
			
		 | 
			 if (!SINGLE_USER_MODE) { ?>
				Hello, = $_SESSION["name"] ?>
				(Logout)
			 } ?>
			 | 			
		  
	 | 
 } 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')) { ?>
	
		Tiny-Tiny RSS v= VERSION ?> © 2005-2006 Andrew Dolgov
		 if (WEB_DEMO_MODE) { ?>
		 Running in demo mode, some functionality is disabled.
		 } ?>
	 | 
 } ?>
 db_close($link); ?>