Script 18.1 Header

Output
Source
<?php # Script 18.1 - header
// This page begins the header for the site.

// Start output buffering:
ob_start();

// Check for a $page_title value:
if (!isset($page_title)) {
	$page_title = 'User Registration';
}
?>
<div id="registration" <?php echo (isset($_SESSION['user_level']) && in_array($_SESSION['user_level'], array(1,2)))?'class="admin"':''; ?>>
	<div id="header">
		<?php 
		if(isset($_SESSION['user_level']) && in_array($_SESSION['user_level'], array(1,2))) {
			echo '<span>LOGGED IN AS ADMIN</span>User Management';
		} else {
			echo 'Test Application - User Registration';
		} ?>
	</div>
	<div id="content">
	<!-- End of Header -->