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

class Template89af1bc1bb9750b26af936b34915cf6e 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('5eddbfc530', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lb72fbb8215c_content')) { function _lb72fbb8215c_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><h1>Štěňata</h1>
<div class="stenata">
<h3>Aktuální vrhy:</h3>
<table>
    <tr><th>Chovatelská stanice</th><th>Spojení</th><th>Datum vrhu</th><th class="pocstenat fr">Počet štěňat (psi + fenky)</th><th>Kontakt</th></tr>
<?php $iterations = 0; foreach ($aktualni 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></tr>
<?php $iterations++; } ?>
</table>
    
<h3>Očekávané vrhy:</h3>
<table>
    <tr><th>Chovatelská stanice</th><th>Spojení</th><th>Očekávané datum vrhu</th><th>Kontakt</th></tr>
<?php $iterations = 0; foreach ($ocekavane as $ocek) { ?>
        <tr><td><?php if ($ocek->www !=null) { ?><a href="http://<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($ocek->www), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($ocek->stanice, ENT_NOQUOTES) ?></a> <?php } else { ?>
 <?php echo Latte\Runtime\Filters::escapeHtml($ocek->stanice, ENT_NOQUOTES) ?> <?php } ?></td>
            <td><?php echo Latte\Runtime\Filters::escapeHtml($ocek->otec, ENT_NOQUOTES) ?>
<br><?php echo Latte\Runtime\Filters::escapeHtml($ocek->matka, ENT_NOQUOTES) ?></td><td><?php echo Latte\Runtime\Filters::escapeHtml($ocek->datum_vrhu, ENT_NOQUOTES) ?></td>
            <td>
                <?php echo $ocek->kontakt ?>

            </td></tr>
<?php $iterations++; } ?>
</table>

<h3>Chovatelské plány:</h3>
Zde se zařazují kontakty na chovatelské stanice, které si zažádaly o vystavení doporučení ke krytí.
<table>
    <tr><th>Chovatelská stanice</th><th>Kontakt</th></tr>
<?php $iterations = 0; foreach ($plany as $ocek) { ?>
        <tr><td><?php if ($ocek->www !=null) { ?><a href="http://<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($ocek->www), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($ocek->stanice, ENT_NOQUOTES) ?></a> <?php } else { ?>
 <?php echo Latte\Runtime\Filters::escapeHtml($ocek->stanice, ENT_NOQUOTES) ?> <?php } ?></td>
            
            <td>
                <?php echo $ocek->kontakt ?>

            </td></tr>
<?php $iterations++; } ?>
</div>
</table>

<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lbefa449c25f_breadcrumb')) { function _lbefa449c25f_breadcrumb($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?>&nbsp;&nbsp; > &nbsp;&nbsp; Chovní psi  &nbsp;&nbsp; > &nbsp;&nbsp; Štěňata
<?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
//
?>

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