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

class Template1af1a04f27778e5d47acf009268a5789 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('9f8ccfb3c9', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lb21c38d6399_content')) { function _lb21c38d6399_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
;if (($pes->fena == 1)) { ?>
    <h1>Karta chovné feny WSS - <?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?></h1> 
<?php } else { ?>
        <h1>Karta chovného psa WSS - <?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?></h1>
<?php } ?>
    <div class="karta">
     
     
     <a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Psi:foto", array($pes->id)), ENT_COMPAT) ?>
"><img src="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT) ;echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($pes->velky_nahled), ENT_COMPAT) ?>"></a>
     
     <table class="infopes-front">
         <tr><th>ČLP/WSS/<?php echo Latte\Runtime\Filters::escapeHtml($pes->clp, ENT_NOQUOTES) ?>
</th><td>Reg. 4. <?php echo Latte\Runtime\Filters::escapeHtml($pes->reg_c, ENT_NOQUOTES) ?></td></tr>
         <tr><th>Datum narození:</th><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->datum_nar, ENT_NOQUOTES) ?></td></tr>
         <tr><th>Výška (cm):</th><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->vyska, ENT_NOQUOTES) ?></td></tr>
         <tr><th>Barva oka:</th><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->barva_oka, ENT_NOQUOTES) ?></td></tr>
         <tr><th>DKK/HD:</th><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->dkk, ENT_NOQUOTES) ?>
/<?php echo Latte\Runtime\Filters::escapeHtml($pes->hd, ENT_NOQUOTES) ?></td></tr>
         <tr><th>Chovatel:</th><td> <?php echo $pes->chovatel ?></td></tr>
         <tr><th>Majitel:</th><td> <?php echo $pes->majitel ?></td></tr>
         <tr><th>Výsledky výstav:</th><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->vysledky_vystav, ENT_NOQUOTES) ?></td></tr>
         <tr><th>Výsledky zkoušek:</th><td>  
                 <table class="peszkousky-front">
    <tr><th>Druh</th><th>Body</th><th>Cena</th><th> -  </th><th>Nos</th><th>Slídění</th><th>Klid po výstřelu</th><th>Hlasitost (nepovinná)</th></tr>
<?php $iterations = 0; foreach ($zkousky as $zkouska) { ?>
    <tr ><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->druh, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->body, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->cena, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->pole, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->nos, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->slideni, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->klid, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($zkouska->hlasitost, ENT_NOQUOTES) ?></td></tr>
<?php $iterations++; } ?>

                 </table></td><tr>
         <tr><th>Poznámka:</th><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->poznamka, ENT_NOQUOTES) ?></td></tr>
     </table>
     
     <table class="rodokmen-front">
  
        <tr><td class="otec" rowspan="8"><?php echo $pes->otec ?></td><td class="otec2" rowspan="4"><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_o, ENT_NOQUOTES) ?>
</td><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_31, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_41, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_42, ENT_NOQUOTES) ?></td></tr>
        <tr><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_32, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_43, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_44, ENT_NOQUOTES) ?></td></tr>
        <tr><td class="otec2" rowspan="4"><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_m, ENT_NOQUOTES) ?>
</td><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_33, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_45, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_46, ENT_NOQUOTES) ?></td></tr>
        <tr><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_34, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_47, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->otec_48, ENT_NOQUOTES) ?></td></tr>
        
        <tr><td class="otec" rowspan="8"><?php echo $pes->matka ?></td><td class="otec2" rowspan="4"><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_o, ENT_NOQUOTES) ?>
</td><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_31, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_41, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_42, ENT_NOQUOTES) ?></td></tr>
        <tr><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_32, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_43, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_44, ENT_NOQUOTES) ?></td></tr>
        <tr><td class="otec2" rowspan="4"><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_m, ENT_NOQUOTES) ?>
</td><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_33, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_45, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_46, ENT_NOQUOTES) ?></td></tr>
        <tr><td rowspan="2"><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_34, ENT_NOQUOTES) ?>
</td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_47, ENT_NOQUOTES) ?></td></tr>
        <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->matka_48, ENT_NOQUOTES) ?></td></tr>
        
</table>
    </div>
<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lb02bf18c1c3_breadcrumb')) { function _lb02bf18c1c3_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("Psi:list"), ENT_COMPAT) ?>
">Databáze chovných psů a fen</a> &nbsp;&nbsp; > &nbsp;&nbsp; <?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?>

<?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
}}