All pastes #591318 Raw Edit

Something

public php v1 · immutable
#591318 ·published 2007-06-27 03:58 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 = 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 "<html>\n<head>\n";		$this -> displayTitle();		$this -> displayStyles();		echo "</head>\n";			}	/** Displays the title header information */	private function displayTitle()	{		echo "<title> ". $this -> _title . "</title>\n";	}		/** 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" />	<?}}?>