<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/projection.css'); $this->storage->pageId = 'projection-page'; $this->storage->metatags->setTitle('Rzuty projektu adaptacji - '); $this->storage->metatags->setDescription('rzuty w svg'); $this->storage->metatags->setKeywords('projekt'); $link = new Model_Link_Container(); $link->setTitle('Rzuty projektu remontu i adapcji domu')->setRoot(); $this->storage->breadcrumbs->set(0, $link); $event = new Manager_Event(); $event->setName('fluid')->setClass('Projection_Module_Image'); $this->add($event); /* nawigacja */ $url = '/rzut,k,'; $nav = new Model_Collection(); $link = new Model_Link_Container(); $link->setId(1)->setUrl($url . 'parter-inwent')->setTitle('Rzut parteru')->setClass('parter'); $nav->append($link); $link = new Model_Link_Container(); $link->setId(2)->setUrl($url . 'poddasze-inwent')->setTitle('Rzut poddasza')->setClass('poddasze'); $nav->append($link); $link = new Model_Link_Container(); $link->setId(3)->setUrl($url . 'piwnica')->setTitle('Rzut piwnicy')->setClass('piwnica'); $nav->append($link); /* $link = new Model_Link_Container(); $link->setId(4)->setUrl($url . 'front-polnoc' )->setTitle('Rzut frontu północnego')->setClass('front-polnoc'); $nav->append($link);*/ $link = new Model_Link_Container();
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/gallery.css'); $this->storage->pageId = 'gallery-page'; $link = new Model_Link_Container(); $link->setTitle('Galeria inwestycji'); $this->storage->breadcrumbs->set(1, $link); $this->storage->metatags->setTitle('Galeria - '); $this->storage->metatags->setDescription('Galeria zdjęć obiektu inwestycji.', 'append'); $this->storage->metatags->setKeywords('zdjęcia,dom,'); //$this->config('offer/config/nav'); $event = new Manager_Event(); $event->setName('fluid')->setClass('Gallery_Module_List'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony listy galerii'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/contact.css'); $this->storage->pageId = 'contact-page'; $link = new Model_Link_Container(); $link->setTitle('Kontakt'); $this->storage->breadcrumbs->set(1, $link); $this->storage->metatags->setTitle('Formularz kontaktowy - '); $this->storage->metatags->setDescription('Kontakt.', 'append'); //$event = new Manager_Event(); //$event->setName('main')->setClass('Contact_Module_Main'); $event = new Manager_Event(); $event->setName('main')->setClass('Contact_Module_Main'); $this->add($event); $event = new Manager_Event(); $event->setName('aside')->setClass('Module_Module')->setTemplate('contact/view/aside.phtml'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony kontaktu'); }
$this->layout = 'common/view/layout.phtml'; self::$orderEvent = array('init', 'fluid', 'main', 'aside', 'brand', 'header', 'nav', 'footer'); $this->storage->metatags->setTitle('Remont domu'); $this->storage->metatags->setDescription('Projekt remontu domu.'); $this->storage->metatags->setKeywords('projekt,dom,remont'); $this->storage->scripts->setCss('/css/basic.css'); /* $this->storage->scripts->setCss('/css/old/normalize.css'); $this->storage->scripts->setCss('/css/old/grid.css'); $this->storage->scripts->setCss('/css/old/theme.css'); */ $this->storage->scripts->setJs(Manager_Config::istatUrl() . 'js/modernizr.js', Manager_Helper_Scripts::SLOT_HEAD); $this->storage->scripts->setJs(Manager_Config::istatUrl() . 'js/jquery/jquery-1.11.2.min.js', Manager_Helper_Scripts::SLOT_FOOT); //$this->storage->scripts->setJs(Manager_Config::istatUrl() . 'js/jquery/jquery.cookie.js', Manager_Helper_Scripts::SLOT_FOOT); $this->storage->scripts->setJQuery(); $link = new Model_Link_Container(); $link->setTitle('Dom')->setUrl('/'); $this->storage->breadcrumbs->set(0, (new Model_Link_Container())->setTitle('Dom')->setUrl('/')); /** * navigation start */ $nav = new Model_Collection(); $link = new Model_Link_Container(); $link->setUrl('/')->setTitle('Strona główna')->setClass('front-page'); $nav->append($link); $link = new Model_Link_Container(); $link->setUrl('/rzut')->setTitle('Rzuty')->setClass('image-page'); $nav->append($link); $link = new Model_Link_Container(); $link->setUrl('/kontakt')->setTitle('Dojazd')->setClass('contact-page'); $nav->append($link); $link = new Model_Link_Container();
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/cookie.css'); $this->storage->pageId = 'cookie-policy-page'; $this->storage->metatags->setTitle('Polityka cookie - '); $this->storage->metatags->setDescription('Informacje o polityce cookie.'); $this->storage->metatags->setKeywords('polityka cookie, cookie,'); $link = new Model_Link_Container(); $link->setTitle('Polityka cookie')->setRoot(); $this->storage->breadcrumbs->set(1, $link); $event = new Manager_Event(); $event->setName('main')->setClass('Module_Module')->setTemplate('index/view/cookie.phtml'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony głównej'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/index.css'); $this->storage->pageId = 'front-page'; $this->storage->metatags->setTitle('Strona główna projektu adaptacji - '); $this->storage->metatags->setDescription('Remont domu'); $this->storage->metatags->setKeywords('remont'); $link = new Model_Link_Container(); $link->setTitle('Remont')->setRoot(); $this->storage->breadcrumbs->set(0, $link); $event = new Manager_Event(); $event->setName('fluid')->setClass('Index_Module_Fluid'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony głównej'); }