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{ private _title; 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(SafeString $title, $startTime) { $this -> _title = $title -> toHTTPValue(); $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(); echo "</head>\n"; } private function displayTitle() { echo "<title> ". $this -> _title . "</title>"; }}?>