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-akceTridy.latte--9381e54591.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/akceTridy.latte */ final class Template9381e54591 extends Latte\Runtime\Template { public function main(): array { extract($this->params); echo '<div class="row gap-3 w-100"> <div id="col-akce-tridy" class="col-auto"> <table class="table table-striped table-sm table-bordered"> <thead class="sticky-top top-0 bg-white"> <tr> <th>třída</th> <th style="width: 3rem">platby</th> <th style="width: 3rem">tisk</th> </tr> </thead> '; $iterations = 0; foreach ($tridy as $trida) /* line 11 */ { echo ' <tr> <td>'; echo LR\Filters::escapeHtmlText($trida->trida) /* line 13 */; echo '</td> <td class="text-center p-0"> <button id="btn-platby-tridy" class="btn text-primary border-0" onclick="akceVyberyZaci('; echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($trida->trida)) /* line 15 */; echo ')"><i class="fa-solid fa-user-check"></i></button> </td> <td class="text-center p-0"> <form method="post" action="/akce-tridy-tisk/'; echo LR\Filters::escapeHtmlAttr(LR\Filters::safeUrl($trida->tridaAnchor)) /* line 18 */; echo '" target="_blank" id=\'tisk-'; echo LR\Filters::escapeHtmlAttr($trida->trida) /* line 18 */; echo '\' class="ms-auto"> <button id="btn-tisk" class="btn border-0"><i class="fa-solid fa-print"></i></button> </form> </td> </tr> '; $iterations++; } echo ' <tbody> </tbody> </table> </div> <div id="col-akce-zaci" class="col-6"> </div> </div>'; return get_defined_vars(); } public function prepare(): void { extract($this->params); if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") { foreach (array_intersect_key(['trida' => '11'], $this->params) as $ʟ_v => $ʟ_l) { trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l"); } } } }