file_get_contents(http://www.uzemneplany.sk/aping/api/master_plans/author/111) [function.file-get-contents]: failed to open stream: HTTP request failed!
/home/sw015200/vendor/onionCMS/Modules/Atrium/Widgets/AtriumMenu/AtriumMenuWidget.php
https://www.atriumarchitekti.sk/en/news/250/cezaar-2024-soon (GET)
Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1
292293 foreach ($districts as $district) {294 $resource = array(295 'districtUrl' => $district['url']296 );297 $url = $this->app->router->createUrl('groundPlans', $resource);298299 $pageHtml = $parentHtml->create('li');300 $pageHtml->class[] = $page['url'];301 $pageHtml->create('a')302 ->href($url)303 ->setText($district['name']);304 }305306 return $menu;307 }308309 private function updateDistrictsCache($cache)310 {311 $json = file_get_contents('http://www.uzemneplany.sk/aping/api/master_plans/author/111');312 $_groundPlans = json_decode($json, true);313314 $_districts = array(315 2 => 'bbsk',316 3 => 'bsk',317 4 => 'ksk',318 5 => 'nsk',319 6 => 'psk',320 7 => 'tnsk',321 8 => 'task',
292293 foreach ($districts as $district) {294 $resource = array(295 'districtUrl' => $district['url']296 );297 $url = $this->app->router->createUrl('groundPlans', $resource);298299 $pageHtml = $parentHtml->create('li');300 $pageHtml->class[] = $page['url'];301 $pageHtml->create('a')302 ->href($url)303 ->setText($district['name']);304 }305306 return $menu;307 }308309 private function updateDistrictsCache($cache)310 {311 $json = file_get_contents('http://www.uzemneplany.sk/aping/api/master_plans/author/111');312 $_groundPlans = json_decode($json, true);313314 $_districts = array(315 2 => 'bbsk',316 3 => 'bsk',317 4 => 'ksk',318 5 => 'nsk',319 6 => 'psk',320 7 => 'tnsk',321 8 => 'task',
array ( 0 => 'http://www.uzemneplany.sk/aping/api/master_plans/author/111', )
246 $resource = array(247 'categoryUrl' => \Onion\Utils\Strings::webalize($category['name'])248 );249 $url = $this->app->router->createUrl('eshopCategory', $resource);250251 $pageHtml = \Onion\Utils\Html::element('li');252 $pageHtml->class[] = $page['url'];253 $pageHtml->create('a')254 ->href($url)255 ->setText($category['name']);256 $parentHtml->insert($i, $pageHtml);257 $i++;258 }259 }260261 // Kraje262 $cache = $this->services->cache;263 $districts = $cache->fetch('districts', 'groundPlans');264 if ($districts === false) {265 $this->updateDistrictsCache($cache);266 }267 $districts = $cache->fetch('districts', 'groundPlans');268269 $parent = $heap[41]; // Územné plány270 $parent->class[] = 'parent';271272 $iconBefore = \Onion\Utils\Html::element('span')273 ->class('icon icon-before')274 ->setText('d');275
array ( 0 => 'object (Onion\\Caching\\Cache)', )
array ( 0 => 'NULL', 1 => 2, )
93 if ($template === null) {94 $this['__TEMPLATE__'] = pathinfo($this->templateFile, PATHINFO_BASENAME);95 }96 $template = $this->compile($template);9798 foreach ($this->data as $var => $val) {99 $this->$var = $val;100 }101102 if (DEBUG === true) {103 $tempFile = TEMP_DIR . '/' . uniqid();104 file_put_contents($tempFile, $template);105106 ob_start();107 include($tempFile);108 $content = ob_get_clean();109 unlink($tempFile);110 } else {111 ob_start();112 $ret = eval(' ?>' . $template . '<?php ');113114 if ($ret === false) {115 trigger_error('Template parse error!');116 }117118 $content = ob_get_clean();119 }120121 if ($ajax === null) {122 return $content;
array ( )
163 $parameters = $this->currentRoute->getResource();164165 $this->runHooks('system.hooks.afterCreateController');166167 call_user_func_array(array($this->controller, 'before'), $parameters);168169 $this->runHooks('system.hooks.beforeControllerRun');170171 call_user_func_array(array($this->controller, $this->actionName), $parameters);172173 $this->runHooks('system.hooks.afterControllerRun');174175 call_user_func_array(array($this->controller, 'after'), $parameters);176177 if (is_object($this->controller->view) === true) {178 $view['flash'] = $this->flash['current'];179180 $this->runHooks('system.hooks.beforeRenderView');181182 $body = $view->render($this->request->isAjax());183184 $this->response->setBody($body);185 } else {186 $this->runHooks('system.hooks.beforeRenderView');187188 $this->response->setBody($this->controller->view);189 }190191 $_SESSION['onion.flash'] = $this->flash['next'];192
array ( 0 => 'false', )
132 WWW_DIR.'/js/vendor/cookie.js',133 WWW_DIR.'/js/vendor/scroll-top.js',134 ),135 'less' => array(136 )137 ),138 'after' => array(139 'js' => array(140 WWW_DIR.'/js/main.js',141 ),142 'less' => array(143 WWW_DIR.'/less/main.less'144 )145 )146 )147 );148149 $app = new \Onion\Application($configuration);150151 $app->run();152 exit;
array ( )
1213 // absolute filesystem path to the libraries14 define('LIBS_DIR', realpath(WWW_DIR.'/../vendor'));1516 // absolute filesystem path to the web root17 define('ONION_DIR', LIBS_DIR.'/Onion');1819 // absolute filesystem path to the application root20 define('APP_DIR', WWW_DIR.'/../app');2122 // absolute filesystem path to the temporary files23 define('TEMP_DIR', realpath(WWW_DIR.'/../temp'));2425 // absolute filesystem path to the cache26 define('CACHE_DIR', realpath(WWW_DIR.'/../cache'));2728 define('ONIONCMS_DIR', realpath(ONION_DIR.'/../onionCMS'));2930 // load bootstrap file31 require ONIONCMS_DIR.'/bootstrap.php';
array ( 0 => '/home/sw015200/vendor/onionCMS/bootstrap.php', )
array ( 'REDIRECT_SCRIPT_URL' => '/en/news/250/cezaar-2024-soon', 'REDIRECT_SCRIPT_URI' => 'https://www.atriumarchitekti.sk/en/news/250/cezaar-2024-soon', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.atriumarchitekti.sk', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/en/news/250/cezaar-2024-soon', 'SCRIPT_URI' => 'https://www.atriumarchitekti.sk/en/news/250/cezaar-2024-soon', 'HTTP_AUTHORIZATION' => '', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.atriumarchitekti.sk', 'HTTP_HOST' => 'www.atriumarchitekti.sk', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_ACCEPT_LANGUAGE' => 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7', 'HTTP_CACHE_CONTROL' => 'no-cache', 'HTTP_CONNECTION' => 'keep-alive, close', 'HTTP_PRAGMA' => 'no-cache', 'HTTP_UPGRADE_INSECURE_REQUESTS' => '1', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.atriumarchitekti.sk', 'SERVER_ADDR' => '93.184.77.83', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '170.106.11.141', 'DOCUMENT_ROOT' => '/home/sw015200/www_root', 'SERVER_ADMIN' => 'webmaster@sw015200.hh', 'SCRIPT_FILENAME' => '/home/sw015200/www_root/index.php', 'REMOTE_PORT' => '32810', 'REDIRECT_URL' => '/en/news/250/cezaar-2024-soon', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/en/news/250/cezaar-2024-soon', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME' => 1744919444, )
array ( )