<?php
// source: C:\wamp\www\bpzk2\app\AdminModule/templates/Stenata/archivVrhu.latte

class Templatee2d3e51b6c497d1e6ec3b708a833a7b7 extends Latte\Template {
function render() {
foreach ($this->params as $__k => $__v) $$__k = $__v; unset($__k, $__v);
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('5094e17be3', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lbf9944cdc8f_content')) { function _lbf9944cdc8f_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><div class="stenata">
<h1>Archiv vrhů:</h1>
<table>
        <tr><th>Chovatelská stanice</th><th>Spojení</th><th>Datum vrhu</th><th class="pocstenat">Počet štěňat (psi + fenky)</th><th>Kontakt</th></tr>
<?php $iterations = 0; foreach ($archivni as $akt) { ?>
            <tr><td><?php if ($akt->www !=null) { ?><a href="http://<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($akt->www), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($akt->stanice, ENT_NOQUOTES) ?></a> <?php } else { ?>
 <?php echo Latte\Runtime\Filters::escapeHtml($akt->stanice, ENT_NOQUOTES) ?> <?php } ?></td>
                <td><?php echo Latte\Runtime\Filters::escapeHtml($akt->otec, ENT_NOQUOTES) ?>
<br><?php echo Latte\Runtime\Filters::escapeHtml($akt->matka, ENT_NOQUOTES) ?></td><td><?php echo Latte\Runtime\Filters::escapeHtml($akt->datum_vrhu, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($akt->pocet_stenat, ENT_NOQUOTES) ?></td>
                <td><?php echo $akt->kontakt ?></td>
                <td class="noborder"><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Stenata:editAktualni", array($akt->id)), ENT_COMPAT) ?>
">Upravit</a></td><td class="noborder"><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("deleteVrh!", array($akt->id)), ENT_COMPAT) ?>
">Smazat</a></td>
            </tr>
<?php $iterations++; } ?>
</table>
</div>
<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lb2a1dc577d6_breadcrumb')) { function _lb2a1dc577d6_breadcrumb($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?>&nbsp;&nbsp; > &nbsp;&nbsp; Chovní psi  &nbsp;&nbsp; > &nbsp;&nbsp; <a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Stenata:list"), ENT_COMPAT) ?>
">Štěňata </a> &nbsp;&nbsp; > &nbsp;&nbsp; Archiv 
<?php
}}

//
// end of blocks
//

// template extending

$_l->extends = empty($_g->extended) && isset($_control) && $_control instanceof Nette\Application\UI\Presenter ? $_control->findLayoutTemplateFile() : NULL; $_g->extended = TRUE;

if ($_l->extends) { ob_start();}

// prolog Nette\Bridges\ApplicationLatte\UIMacros

// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
	return Nette\Bridges\ApplicationLatte\UIRuntime::renderSnippets($_control, $_b, get_defined_vars());
}

//
// main template
//
if ($_l->extends) { ob_end_clean(); return $template->renderChildTemplate($_l->extends, get_defined_vars()); }
call_user_func(reset($_b->blocks['content']), $_b, get_defined_vars())  ?>

<?php call_user_func(reset($_b->blocks['breadcrumb']), $_b, get_defined_vars()) ; 
}}