All pastes #591343 Raw Edit

Something

public php v1 · immutable
#591343 ·published 2007-06-27 04:27 UTC
rendered paste body
<?php/**This is the main layout handling class for the nights eyes frontend, log all changes in the section Changes for future reference.Changes:*/Class Layout{	public  _title = "The Nights Eyes Security Group: ";	private _startLoad;	private _keywords;	private _doctype;		/** 	Layout constructor, instantiates an object of type Layout 	@title as SafeString string	@startTime as integer	@return null	*/	private function __construct($startTime)	{		$this -> _startLoad = (int) intval($startTime);		$this -> _keywords  = "security, hacking, hackers, computer security, PHP, programming, coding, secure coding, encryption, security news, underground, whitehat, blackhat, greyhat, radio, computer help, computer information, webmaster help, coding tutorials";		$this -> _doctype   = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';	}		/** Displays the heading for the nights eyes website */	public function displayHeading()	{		echo $this -> _doctype;		echo "<html>\n<head>\n";		echo $this -> displayTitle();		echo $this -> displayKeywords();		echo $this -> displayStyles();		echo $this -> displayScripts();		echo "</head><body>\n";		echo $this -> displayMasthead();			}	/** Displays the keywords for search engines */	private function displayKeywords()	{?>		<meta name="keywords" content=" <?=htmlentities($this -> keywords);?>" /><? echo "\n";?>	<?}		/** Displays logo and member options, also gives the site its format */	private function displayMasthead()	{		//waiting on fag	}		/** Displays the javascript and ajax control includes for the page */	private function displayScripts()	{		//none at the moment	}		/** Includes the stylsheets for use in the site */	private function displayStyles()	{?>		<link rel="stylesheet" type="text/css" href="../css/stripdefaults.css" />		<link rel="stylesheet" type="text/css" href="../css/theme.css" />	<?}		/** Displays the title header information */	private function displayTitle()	{?>		<title><?=$this -> _title;?></title>	<?}}?>