index = $index; $this->setImage(); unset($index); return; } function setIndex() { $this->index = true; } function setTitle($title) { $this->title = $title; unset($title); return; } function setImage() { global $wd; $self = preg_replace('/(.*?\/)+(\w+)(\.\w+)$/i', "\$2", $_SERVER['PHP_SELF']); $self = strtolower($self); switch($self) { case 'whatisgendayton': $this->headerImg = 'Generation Dayton'; break; case 'sponsors': $this->headerImg = 'Generation Dayton'; break; case 'legal': $this->headerImg = 'Generation Dayton'; break; case 'events': $this->headerImg = 'Generation Dayton'; break; case 'membersdirectory': case 'featured': $this->headerImg = 'Generation Dayton'; break; case 'sitemap': $this->headerImg = 'Generation Dayton'; break; case 'search': $this->headerImg = 'Generation Dayton'; break; case 'contact': $this->headerImg = 'Generation Dayton'; break; case 'volunteer': $this->headerImg = 'Generation Dayton'; break; case 'steering_committee': $this->headerImg = 'Generation Dayton'; break; case 'application': case 'profile': $this->headerImg = 'Generation Dayton'; break; case 'privacy': $this->headerImg = 'Generation Dayton'; break; } } function setDescription($description) { $this->description = $description; unset($description); return; } function setKeywords($keywords) { $this->keywords = $keywords; unset($keywords); return; } function getHeader() { global $wd; echo << {$this->title}
html; if(!$this->index){ echo << html; } echo <<
html; if($this->index){ echo << html; }else{ echo << html; } } function getFooter() { global $wd; echo << html; if($this->index){ echo << html; } $wd->bb->validateSession(); if($this->index){ echo <<
view all

Events Calendar

html; echo $wd->blocks->getEventCalendar(); echo $wd->blocks->getEvents(); echo <<
html; } echo <<
html; if($this->index){ echo << html; }else{ echo << html; } echo <<
html; if($this->index){ echo <<
view all

Sponsors

view community

Latest Chatter

html; echo $wd->blocks->getChatter(); echo <<
view public profile

Featured Professional

Nicolette Ryan

Community Volunteer Liaison

United Way's Volunteer Connection
 
html; } echo <<
html; if($this->index){ $flashfile = "{$wd->paths['SITE_TPL_URL']}flash/headerbuild.swf"; }else{ $flashfile = "{$wd->paths['SITE_TPL_URL']}flash/headernobuild.swf"; } echo << //index){ echo <<paths['SITE_TPL_URL']}flash/sponsor_fader.swf, name=movie, height=91, width=118, quality=high, wmode=transparent'); html; } echo << html; $wd->stopTimer(); $et =& $wd->getTotal(); echo ''; } } ?>