Your IP : 52.14.147.215


Current Path : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/
Upload File :
Current File : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/src-views-akceTable.latte--e018f633b0.php

<?php

use Latte\Runtime as LR;

/** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/akceTable.latte */
final class Templatee018f633b0 extends Latte\Runtime\Template
{

	public function main(): array
	{
		extract($this->params);
		echo '<table class="table table-striped table-bordered table-sm mt-2" >
    <thead class="sticky-top top-0  bg-white">
        <tr>
            <th>Název akce</th>
            <th>období</th>
            <th>edit</th>
            <th>platby</th>
        </tr>
    </thead>
    <tbody>
';
		$iterations = 0;
		foreach ($seznam as $akce) /* line 11 */ {
			echo '        <tr id="table-akce-tr-';
			echo LR\Filters::escapeHtmlAttr($akce->id) /* line 12 */;
			echo '">
            <td>';
			echo LR\Filters::escapeHtmlText($akce->akce) /* line 13 */;
			echo '</td>
            <td>';
			echo LR\Filters::escapeHtmlText($akce->rok) /* line 14 */;
			echo ' - ';
			echo LR\Filters::escapeHtmlText($akce->mesic) /* line 14 */;
			echo '</td>
            <td class="text-center p-0 btn-table">
              <button id="btnedit-';
			echo LR\Filters::escapeHtmlAttr($akce->id) /* line 16 */;
			echo '" class="btn text-primary border-0" onclick="akceDetail(';
			echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($akce->id)) /* line 16 */;
			echo ')"><i class="far fa-edit "></i></button>
            </td>
            <td class="text-center p-0 btn-table">
              <button id="btnvybery-';
			echo LR\Filters::escapeHtmlAttr($akce->id) /* line 19 */;
			echo '" class="btn text-primary border-0" onclick="akceVybery(';
			echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($akce->id)) /* line 19 */;
			echo ')"><i class="fa-solid fa-user-check"></i></button>
            </td>            
        </tr>
';
			$iterations++;
		}
		echo '    </tbody>
</table>';
		return get_defined_vars();
	}


	public function prepare(): void
	{
		extract($this->params);
		if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") {
			foreach (array_intersect_key(['akce' => '11'], $this->params) as $ʟ_v => $ʟ_l) {
				trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l");
			}
		}
		
	}

}