{* Latte template *}

{block content}

{if ($pes->fena == 1)} 
    <h1>Karta chovné feny WSS - {$pes->jmeno}</h1> 
    {else}
        <h1>Karta chovného psa WSS - {$pes->jmeno}</h1>
     {/if}
    <div class="karta">
     
     
     <a n:href="Psi:foto $pes->id"><img src="{$basePath}{$pes->velky_nahled}"/></a>
     
     <table class="infopes-front">
         <tr><th>ČLP/WSS/{$pes->clp}</th><td>Reg. 4. {$pes->reg_c}</td></tr>
         <tr><th>Datum narození:</th><td>{$pes->datum_nar}</td></tr>
         <tr><th>Výška (cm):</th><td>{$pes->vyska}</td></tr>
         <tr><th>Barva oka:</th><td>{$pes->barva_oka}</td></tr>
         <tr><th>DKK/HD:</th><td>{$pes->dkk}/{$pes->hd}</td></tr>
         <tr><th>Chovatel:</th><td> {$pes->chovatel|noescape}</td></tr>
         <tr><th>Majitel:</th><td> {$pes->majitel|noescape}</td></tr>
         <tr><th>Výsledky výstav:</th><td>{$pes->vysledky_vystav}</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>
{foreach $zkousky as $zkouska}
    <tr ><td>{$zkouska->druh}</td><td>{$zkouska->body}</td><td>{$zkouska->cena}</td><td>{$zkouska->pole}</td><td>{$zkouska->nos}</td><td>{$zkouska->slideni}</td><td>{$zkouska->klid}</td><td>{$zkouska->hlasitost}</td></tr>
    {/foreach}

                 </table></td><tr>
         <tr><th>Poznámka:</th><td>{$pes->poznamka}</td></tr>
     </table>
     
     <table class="rodokmen-front">
  
        <tr><td class="otec" rowspan="8">{$pes->otec|noescape}</td><td class="otec2" rowspan="4">{$pes->otec_o}</td><td rowspan="2">{$pes->otec_31}</td><td>{$pes->otec_41}</td></tr>
        <tr><td>{$pes->otec_42}</td></tr>
        <tr><td rowspan="2">{$pes->otec_32}</td><td>{$pes->otec_43}</td></tr>
        <tr><td>{$pes->otec_44}</td></tr>
        <tr><td class="otec2" rowspan="4">{$pes->otec_m}</td><td rowspan="2">{$pes->otec_33}</td><td>{$pes->otec_45}</td></tr>
        <tr><td>{$pes->otec_46}</td></tr>
        <tr><td rowspan="2">{$pes->otec_34}</td><td>{$pes->otec_47}</td></tr>
        <tr><td>{$pes->otec_48}</td></tr>
        
        <tr><td class="otec" rowspan="8">{$pes->matka|noescape}</td><td class="otec2" rowspan="4">{$pes->matka_o}</td><td rowspan="2">{$pes->matka_31}</td><td>{$pes->matka_41}</td></tr>
        <tr><td>{$pes->matka_42}</td></tr>
        <tr><td rowspan="2">{$pes->matka_32}</td><td>{$pes->matka_43}</td></tr>
        <tr><td>{$pes->matka_44}</td></tr>
        <tr><td class="otec2" rowspan="4">{$pes->matka_m}</td><td rowspan="2">{$pes->matka_33}</td><td>{$pes->matka_45}</td></tr>
        <tr><td>{$pes->matka_46}</td></tr>
        <tr><td rowspan="2">{$pes->matka_34}</td><td>{$pes->matka_47}</td></tr>
        <tr><td>{$pes->matka_48}</td></tr>
        
</table>
    </div>
        {/block}
{block breadcrumb}
&nbsp;&nbsp; > &nbsp;&nbsp; Chovní psi &nbsp;&nbsp; > &nbsp;&nbsp; <a n:href="Psi:list">Databáze chovných psů a fen</a> &nbsp;&nbsp; > &nbsp;&nbsp; {$pes->jmeno}
{/block}
     
     