<?php##################################################Content Management System#################################################// Get the requested URI(address of file)$url = $REQUEST_URI ;// Rip requested URI apart via a slash as diliminator$dir = explode ("/", $url);// Convert to an array$domain = $dir[0] ;$engine = $dir[1] ;$article = $dir[2] ;$nothing = $dir[3] ;//Create variables for file access to clean up code a bit$article_file = "/www/specials/150/$article.html";$php_file = "/www/specials/150/$article.php";$index = "/www/specials/150/index.html";$header = "/www/specials/150/header.php";$footer = "/www/specials/150/footer.php";$leftnav = "/www/specials/150/left.php";$rightnav = "/www/specials/150/right.php";$path = "/www/specials/150";//Check for hacking stuff for email this page but let em print I guessif(!$article)	{		$prop = "150Years_front";		require($header);		include($index);		require($footer);	}//Display Articleelseif($article && file_exists($article_file))	{		$prop = "150Years_stories";		require($header);		require($leftnav);		include($article_file);		require($rightnav);		require($footer);	}//Display Movie or articles that include php codeelseif($article && file_exists($php_file))	{		$prop = "150Years_stories";		require($header);		require($leftnav);		require($php_file);		require($rightnav);		require($footer);	}//Directory 4 should not existelseif($nothing)	{		$err = "404";		$prop = "150Years_stories";		require($header);		require($leftnav);		print("404 - The page you are looking for is unavailable.");		require($rightnav);		require($footer);		exit();	}//None of the above, too bad 404 a'ohe page, strip email and print version options - why in the world would you want to print this page anywayelse	{		$err = "404";		$prop = "150Years_stories";		require($header);		require($leftnav);		print("404 - The page you are looking for is unavailable.");		require($rightnav);		require($footer);		exit();	}?> 