stronaDane = $stronaDane; $this->stronaParametry = empty($stronaDane['parametry'])? array() : unserialize($stronaDane['parametry']); $this->layout = new _View('layout/index.phtml'); /**@var $m_adres bib_Adres */ $m_adres = Rejestr::dane('adres'); if(!empty($this->stronaDane['metaTytul'])){ $this->layout->metaTytul = $this->stronaDane['metaTytul']; } else { if($this->stronaDane['poziom']==1){ $this->layout->metaTytul = _Controller::$configAdmin['metaTytul']; }else { $this->layout->metaTytul = $this->stronaDane['nazwa'] . ' - ' . _Controller::$configAdmin['metaTytul']; } } $this->layout->metaOpis = (!empty($this->stronaDane['metaOpis'])) ? $this->stronaDane['metaOpis'] : _Controller::$configAdmin['metaOpis']; $this->layout->metaKluczowe = (!empty($this->stronaDane['metaKluczowe'])) ? $this->stronaDane['metaKluczowe'] : _Controller::$configAdmin['metaKluczowe']; $this->layout->adresKanoniczny = _Controller::$config['adresStrony'] . '/' . $m_adres->get_param_link(); $this->layout->daneStrony = $this->stronaDane; //$this->reklamy = new model_Reklamy(); //$this->layout->reklamy = $this->reklamy->pobierzReklamy($this->stronaDane['id'], $this->stronaDane['lewa'], $this->stronaDane['prawa']); $this->layout->boksy_podswietl_miejsca = ''; //pokazanie miejsc na boksy na stronie $boksy_podswietl_miejsca = false; if(isset($_GET['pokaz_miejsca_boksow']) && $_GET['pokaz_miejsca_boksow'] == md5(PATH.PROJEKT) ) { $boksy_podswietl_miejsca = true; $this->layout->boksy_podswietl_miejsca = 'boksy_podswietl_miejsca'; } $m_boksy = new model_Boksy(); $boksyPobrane =$m_boksy->pobierzBoksy($this->stronaDane['id'], $this->stronaDane['lewa'], $this->stronaDane['prawa']); $this->boksyLista = array(); foreach(_Controller::$config['boksyMiejsca'] as $k => $b) { $this->boksyLista[ $b ] = array(); if( !empty( $boksyPobrane[ $b ] ) ) { $this->boksyLista[ $b ] = $boksyPobrane[ $b ]; } //dodajemy boks podświetlany na pierwszym miejscu if( $boksy_podswietl_miejsca ) { array_unshift( $this->boksyLista[ $b ], array( 'id'=>'0' , 'html'=>'
MIEJSCE: '.$k.' (id:'.$b.')
' ) ); } } $this->layout->boksy = $this->boksyLista; }}Error:Class "core_controller_podstawa" not found, Kod:0