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

class Templatee2b91d5455462190e3655f41c70e9a99 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('48237fe43a', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lb3804a2b319_content')) { function _lb3804a2b319_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
;if (($pes->fena == 1)) { ?>
    <h1>Fotokarta chovné feny WSS - <?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?></h1> 
<?php } else { ?>
        <h1>Fotokarta chovného psa WSS - <?php echo Latte\Runtime\Filters::escapeHtml($pes->jmeno, ENT_NOQUOTES) ?></h1>
<?php } ?>

<?php $iterations = 0; foreach ($fotky as $fotka) { ?>
    <a href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT) ;echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($fotka->cesta), ENT_COMPAT) ?>
" target="_blank"><img src="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT) ;echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($fotka->cesta), ENT_COMPAT) ?>"> </a> <br>
    <?php echo Latte\Runtime\Filters::escapeHtml($fotka->popis, ENT_NOQUOTES) ?> <br><br>
  
<?php $iterations++; } ?>

<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lbdf45fb46ff_breadcrumb')) { function _lbdf45fb46ff_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
//
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
}}