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

class Template1690cd4c22562b39ebc1c53d477eda37 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('b3e04a8574', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lb426653a63a_content')) { function _lb426653a63a_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><div class="psilist plback">



<h2>Chovní psi a feny plemene welsh springer spaniel v ČR</h2>

<p>Databáze obsahuje údaje o všech chovných psech a fenách plemene welsh springer spaniel evidovaných v České republice. Jednotliví chovní jedinci jsou řazeni podle registračního čísla, které jim přidělil poradce chovu.
Kliknutím na jméno psa/feny zobrazíte jeho chovnou kartu, kliknutím na obrázek psa/feny zobrazíte jeho fotokartu.</p>

<a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Psi:add"), ENT_COMPAT) ?>
">Přidat nového psa</a> <br>
<a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Psi:archiv"), ENT_COMPAT) ?>
">Archiv vyřazených</a> <br>

<h3>Chovní psi WSS:</h3>
<table>
    <tr><th>Reg. č.</th><th class="pljm">Jméno psa</th><th class="pldn">Datum narození</th><th>Foto</th><th class="plmaj">Majitel</th></tr>
<?php $iterations = 0; foreach ($psi as $pes) { ?>
    
    <tr></tr>
    <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->reg_c, ENT_NOQUOTES) ?>
</td><td><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Psi:edit", array($pes->id)), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?></a></td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->datum_nar, ENT_NOQUOTES) ?></td><td> 
    <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->maly_nahled), ENT_COMPAT) ?>"></a></td>
    <td> <?php echo $pes->majitel ?><br>
                
    </td><td class="noborder"><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("vyradPsa!", array($pes->id)), ENT_COMPAT) ?>
">Vyřadit</a></td>
    <td class="noborder"><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("deletePes!", array($pes->id)), ENT_COMPAT) ?>
">Smazat</a></td></tr>
<?php $iterations++; } ?>
</table>

<h3>Chovné feny WSS:</h3>
<table>
    <tr><th>Reg. č.</th><th class="pljm">Jméno feny</th><th class="pldn">Datum narození</th><th>Foto</th><th class="plmaj">Majitel</th></tr>
<?php $iterations = 0; foreach ($feny as $pes) { ?>
    
    <tr></tr>
    <tr><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->reg_c, ENT_NOQUOTES) ?>
</td><td><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Psi:edit", array($pes->id)), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?></a></td><td><?php echo Latte\Runtime\Filters::escapeHtml($pes->datum_nar, ENT_NOQUOTES) ?></td><td> 
    <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->maly_nahled), ENT_COMPAT) ?>"></a></td>
    <td><?php echo $pes->majitel ?><br>
                
    </td><td class="noborder"><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("vyradPsa!", array($pes->id)), ENT_COMPAT) ?>
">Vyřadit</a></td>
    <td class="noborder"><a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("deletePes!", array($pes->id)), ENT_COMPAT) ?>
">Smazat</a></td></tr>
<?php $iterations++; } ?>
</table>

<?php $_l->tmp = $_control->getComponent("editTextForm"); if ($_l->tmp instanceof Nette\Application\UI\IRenderable) $_l->tmp->redrawControl(NULL, FALSE); $_l->tmp->render() ?>
</div>
<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lb10e2017109_breadcrumb')) { function _lb10e2017109_breadcrumb($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?>&nbsp;&nbsp; > &nbsp;&nbsp; Chovní psi  &nbsp;&nbsp; > &nbsp;&nbsp; Databáze chovných psů a fen
<?php
}}

//
// block scripts
//
if (!function_exists($_b->blocks['scripts'][] = '_lb410f506a9f_scripts')) { function _lb410f506a9f_scripts($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><script type="text/javascript" src="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT) ?>/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
    tinymce.init({
        selector: "textarea[name=text]",  forced_root_block : "", automatic_uploads: 'true',
  
  link_list: [
    { title: 'Stranky', value: '/bpzk2/www/images/Stranky' }
  ],height: "250",

        plugins: [
            "advlist link autolink lists image charmap print preview anchor",
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table contextmenu paste filemanager jbimages"
        ],
        toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link jbimages | filemanager ",
        entities: "160,nbsp",
        entity_encoding: "named",relative_urls: false,
       
        
});
//jbimages link


</script>
<?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())  ?>


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