The Browser returns this: /var/www/rboop /var/www/rboop/class/page.php ....from the following: index.php ---------- '; //echo $DOCUMENT_ROOT; echo $_SERVER['DOCUMENT_ROOT'].'/class/page.php'; require $_SERVER['DOCUMENT_ROOT'].'/class/page.php'.'
'; // echo "$title"; echo $_SERVER['DOCUMENT_ROOT'].'/class/page.php'.'br />'; $homepage = new Page(); // $homepage->content ='

Welcome to the home of TLA Consulting. Please take some time to get to know us.

We specialize in serving your business needs and hope to hear from you soon.

'; $homepage->Display(); ?> /var/www/rboop/class/page.php ----------------------------- '; ?> 'home.php', 'Contact' => 'contact.php', 'Services' => 'services.php', 'Site Map' => 'map.php' ); // class Page's operations public function __set($name, $value) { $this->$name = $value; } public function Display() { echo "\n\n"; $this -> DisplayTitle(); $this -> DisplayKeywords(); $this -> DisplayStyles(); echo "\n\n"; $this -> DisplayHeader(); $this -> DisplayMenu($this->buttons); echo $this->content; $this -> DisplayFooter(); echo "\n\n"; } public function DisplayTitle() { echo ' '.$this->title.' '; } public function DisplayKeywords() { echo "keywords\" />"; } public function DisplayStyles() { ?>

Rivers-Bend

\n"; //calculate button size $width = 100/count($buttons); while (list($name, $url) = each($buttons)) { $this -> DisplayButton($width, $name, $url, !$this->IsURLCurrentPage($url)); } echo " \n"; echo "\n"; } public function IsURLCurrentPage($url) { if(strpos($_SERVER['PHP_SELF'], $url )==false) { return false; } else { return true; } } public function DisplayButton($width, $name, $url, $active = true) { if ($active) { echo " $name $name"; } else { echo " $name"; } } public function DisplayFooter() { ?>

© TLA Consulting Pty Ltd.

Please see our legal information page