Current Path : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/src-views-_error.latte--b6dcbe31e9.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/_error.latte */ final class Templateb6dcbe31e9 extends Latte\Runtime\Template { protected const BLOCKS = [ ['title' => 'blockTitle', 'content' => 'blockContent'], ]; public function main(): array { extract($this->params); echo "\n"; if ($this->getParentName()) { return get_defined_vars(); } $this->renderBlock('title', get_defined_vars()) /* line 3 */; echo ' '; $this->renderBlock('content', get_defined_vars()) /* line 5 */; echo "\n"; return get_defined_vars(); } public function prepare(): void { extract($this->params); $this->parentName = '_layout.latte'; } /** {block title} on line 3 */ public function blockTitle(array $ʟ_args): void { echo 'Pomucky'; } /** {block content} on line 5 */ public function blockContent(array $ʟ_args): void { extract($this->params); extract($ʟ_args); unset($ʟ_args); echo ' <div class="d-flex align-items-center justify-content-center"> <div class="text-center"> <h1 class="display-1 fw-bold">'; if ($code) /* line 8 */ { echo LR\Filters::escapeHtmlText($code) /* line 8 */; } else /* line 8 */ { echo 'Chyba'; } echo '</h1> <p class="fs-3"> <span class="text-danger">Opps! </span>'; echo LR\Filters::escapeHtmlText($message) /* line 10 */; echo '</p> <p class="lead">'; if ($submessage) /* line 11 */ { echo $submessage /* line 11 */; } echo '</p> <div class="my-2"> <a href="/" class="btn btn-primary rounded-0">Domů</a> </div> '; $cesta = $domain . "assets/images/$code.jpg" /* line 15 */; $cesta = $domain . trim(dirname(explode('/', $_SERVER['PHP_SELF'])[1]), '.') . "assets/images/$code.jpg" /* line 16 */; echo ' <img class="img-fluid" src="'; echo LR\Filters::escapeHtmlAttr(LR\Filters::safeUrl($cesta)) /* line 17 */; echo '"> '; if (file_exists($cesta)) /* line 18 */ { echo ' '; } echo ' </div> </div> '; } }