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-vypisySparovatDlgZaci.latte--ea8022a424.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/vypisySparovatDlgZaci.latte */ final class Templateea8022a424 extends Latte\Runtime\Template { public function main(): array { extract($this->params); echo '<div class="row"> <div class="col-6"> <table class="table table-sm table-striped table-bordered"> '; $i = 0; /* line 4 */; $iterations = 0; foreach ($zaci as $zak) /* line 5 */ { $i++ /* line 6 */; if ($i == 16) /* line 7 */ { echo ' </table> </div> <div class="col-6"> <table class="table table-sm table-striped table-bordered"> '; } echo ' <tr class="'; if ($idzaka == $zak->id) /* line 13 */ { echo 'table-warning'; } echo '"> <td> <div class="form-check ms-2"> <input class="form-check-input" type="radio" name="zaci" id="zaci-'; echo LR\Filters::escapeHtmlAttr($zak->id) /* line 16 */; echo '" '; if ($idzaka == $zak->id) /* line 16 */ { echo ' checked '; } echo '> <label class="form-check-label ms-3" for="zaci-'; echo LR\Filters::escapeHtmlAttr($zak->id) /* line 17 */; echo '">'; echo LR\Filters::escapeHtmlText($zak->prijmeni) /* line 17 */; echo ' '; echo LR\Filters::escapeHtmlText($zak->jmeno) /* line 17 */; echo '</label> </div> </td> <td> <label class="form-check-label" for="zaci-'; echo LR\Filters::escapeHtmlAttr($zak->id) /* line 21 */; echo '">'; echo LR\Filters::escapeHtmlText($zak->rodne_cislo) /* line 21 */; echo '</label> </td> </tr> '; $iterations++; } echo ' </table> </div> </div> <script> $("[id^=zaci-]").on(\'click\', function() { $(\'#btn-submit-dlg\').attr(\'disabled\', false); } ) </script> '; return get_defined_vars(); } public function prepare(): void { extract($this->params); if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") { foreach (array_intersect_key(['zak' => '5'], $this->params) as $ʟ_v => $ʟ_l) { trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l"); } } } }