Current Path : /data/web/virtuals/51568/virtual/session/ |
Current File : /data/web/virtuals/51568/virtual/session/php-exkurze-seznam.latte--30906fbb93.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/agenda/php/exkurze/seznam.latte */ final class Template30906fbb93 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 ' <script src="../www/js/studenti.js"></script> '; return get_defined_vars(); } public function prepare(): void { extract($this->params); if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") { foreach (array_intersect_key(['item' => '8'], $this->params) as $ʟ_v => $ʟ_l) { trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l"); } } $this->parentName = 'ExkurzeUcitelSeznam.latte'; } /** {block title} on line 3 */ public function blockTitle(array $ʟ_args): void { extract($this->params); extract($ʟ_args); unset($ʟ_args); echo '<div class="h4 mb-5">'; echo LR\Filters::escapeHtmlText($nadpis) /* line 3 */; echo '</div>'; } /** {block content} on line 5 */ public function blockContent(array $ʟ_args): void { extract($this->params); extract($ʟ_args); unset($ʟ_args); if (($povolit)) /* line 6 */ { echo '<table class="table table-striped w-50"> '; $iterations = 0; foreach ($data as $item) /* line 8 */ { echo ' <tr> <td>'; echo LR\Filters::escapeHtmlText(($this->filters->capitalize)($item->prijmeni)) /* line 10 */; echo ' '; echo LR\Filters::escapeHtmlText($item->jmeno) /* line 10 */; echo '</td> </tr> '; $iterations++; } echo '<table> '; } } }