if (!function_exists($_l->blocks['obsah'][] = '_lb6fc032ae8f_obsah')) { function _lb6fc032ae8f_obsah($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
;if ($existuji_vysledky): ?>
<img src="<?php echo htmlSpecialChars($basePath) ?>/css/result.png" alt="Výsledky jsou nahrány" title="Výsledky jsou nahrány" align="left" /> Elektronické výsledky těchto závodů jsou nahrány. Přejete-li si je změnit, je potřeba je nejprve smazat a nahrát upravenou verzi.
<div class="bottom_nav">
    <a href="<?php echo htmlSpecialChars($_control->link("detail", array($akce->id))) ?>
">Zpět</a>
    <a href="<?php echo htmlSpecialChars($_control->link("exportVysledku", array($akce->id))) ?>
">Stáhnout</a>
    <a onclick="if(!confirm('Opravdu smazat výsledky?')) return false;" href="<?php echo htmlSpecialChars($_control->link("deleteVysledky", array($akce->id))) ?>
">Smazat</a>
</div>
<?php else: ?>
<div class="ico-info">

    <!--<img src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/info-big.png" align="left">-->
Podporovány jsou výsledky jednotlivců a družstev ve sportech "Sportovní gymnastika mužů" a "Sportovní gymnastika žen". Nahrávaný soubor musí být ve formátu xlsx. Všechny kategorie musí být v jednom souboru, každá kategorie na vlastním listu. Název listu musí začínat číslem kategorie a podtržítkem ( _ ).
</div>
<br />
<?php $_ctrl = $_control->getComponent("nahratVysledkyForm"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;endif ;
}}
">

	<script> document.body.className+=' js' </script>

	<div class="mainpage">
		<header class="page-header">
			<div class="wrapper">
			    <!--a href="<?php 
echo NTemplateHelpers::escapeHtmlComment($homeUrl);
?>
" class="logo">
	                <img src="<?php 
echo NTemplateHelpers::escapeHtmlComment($themeOptions->general->logo_img);
?>
" alt="<?php 
echo NTemplateHelpers::escapeHtmlComment($themeOptions->general->tagline);
?>
">
	            </a-->

				<div class="main-navigation clearfix right">
					<aside class="quick-info right">
	                    <div class="phone-number right"><?php 
echo $themeOptions->general->phone_number;
?>
</div>
	                    <div class="email-info right"><?php 
echo $themeOptions->general->email;
?>
</div>
<setpageheader name="XX" value="on"  />

mpdf-->
<pagebreak margin-top="100">
   
    <table>
<?php $iterations = 0; foreach ($terminova_listina_XX as $akce): ?>
            <tr>
                    <td><?php echo NTemplateHelpers::escapeHtml($template->datumKonani($akce['od'], $akce['do']), ENT_NOQUOTES) ?></td>
                    <td><?php echo NTemplateHelpers::escapeHtml($akce['nazev'], ENT_NOQUOTES) ?></td>
                    <td><?php echo NTemplateHelpers::escapeHtml($akce['misto'], ENT_NOQUOTES) ?></td>
            </tr>
<?php $iterations++; endforeach ?>
    </table>
<?php endif ;$iterations = 0; foreach ($terminovaListina as $sport=>$seznam_akci): if ($sport!='XX'): ?>
<!--mpdf
<setpageheader name="<?php echo NTemplateHelpers::escapeHtmlComment($sporty[$sport]) ?>" value="on" />
<setpagefooter name="paticka" value="on" />
mpdf-->
<pagebreak pagenumstyle='1' margin-top="100" >
<h2><?php echo NTemplateHelpers::escapeHtml($template->firstUpper($sporty[$sport]->sport), ENT_NOQUOTES) ?></h2>
<table>
<?php $iterations = 0; foreach ($seznam_akci as $akce): ?>
    <tr>
        <td><?php echo NTemplateHelpers::escapeHtml($template->datumKonani($akce['od'], $akce['do']), ENT_NOQUOTES) ?></td>
        <td><?php echo NTemplateHelpers::escapeHtml($akce['nazev'], ENT_NOQUOTES) ?></td>
        <td><?php echo NTemplateHelpers::escapeHtml($akce['misto'], ENT_NOQUOTES) ?></td>
    </tr>
<?php $iterations++; endforeach ?>
</table>
<?php endif ;$iterations++; endforeach ;
if (!function_exists($_l->blocks['obsah'][] = '_lbe2f230bde0_obsah')) { function _lbe2f230bde0_obsah($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><div>

<?php NFormMacros::renderFormBegin($form = $_form = (is_object("vybratRokForm") ? "vybratRokForm" : $_control["vybratRokForm"]), array()) ;if ($form->hasErrors()): ?>    <ul class="errors">
<?php $iterations = 0; foreach ($form->errors as $error): ?>        <li><?php echo NTemplateHelpers::escapeHtml($error, ENT_NOQUOTES) ?></li>
<?php $iterations++; endforeach ?>
    </ul>
<?php endif ?>
    <table>
        <tr >
            <th><?php $_input = is_object("rok") ? "rok" : $_form["rok"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?></th>
            <td><?php $_input = (is_object("rok") ? "rok" : $_form["rok"]); echo $_input->getControl()->addAttributes(array()) ?></td>
            <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td>
        </tr>

    </table>
<?php NFormMacros::renderFormEnd($_form) ?>
</div>
<div>

 <table class="evidence">
        <tr>
            <th>
<?php if (isset($razeni['id'])): if ($razeni['id']=='DESC'): ?>
                <a class="dolu" href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'id')))) ?>
">Ev. č.</a>
<?php else: ?>
                 <a class="top" href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'id_DESC')))) ?>
">Ev. č.</a>
<?php endif ?>
                
<?php else: ?>
                <a href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'id')))) ?>
">Ev. č.</a>
<?php endif ?>
            </th>
            <th>
<?php if (isset($razeni['prijmeni'])): if ($razeni['prijmeni']=='DESC'): ?>
                <a class="dolu" href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'prijmeni')))) ?>
">Jméno</a>
<?php else: ?>
                <a class="top" href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'prijmeni_DESC')))) ?>
">Jméno</a>
<?php endif ;else: ?>
                <a href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'prijmeni')))) ?>
">Jméno</a>
<?php endif ?>
            </th>
            <th>
<?php if (isset($razeni['narozeni'])): if ($razeni['narozeni']=='DESC'): ?>
                <a class="dolu" href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'narozeni')))) ?>
">Ročník</a>
<?php else: ?>
                <a class="top" href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'narozeni_DESC')))) ?>
">Ročník</a>
<?php endif ;else: ?>
                <a href="<?php echo htmlSpecialChars($_control->link("evidence", array_merge(array($id,), $filtr, array( 'order' => 'narozeni')))) ?>
">Ročník</a>
<?php endif ?>
            </th>
            <th>&nbsp;</th>
            <th>&nbsp;</th>
        </tr>
<?php if (!$osoby || $osoby->rowCount()==0): ?>
        <tr><td colspan="5">žádné evidence pro tento rok</td></tr>
<?php endif ;$iterations = 0; foreach ($osoby as $osoba): ?>
        <tr class="radek">
        <td><?php if ($admin): ?><a href="<?php echo htmlSpecialChars($_control->link("Osoby:prehled", array($osoba['id']))) ?>
"><?php echo NTemplateHelpers::escapeHtml($osoba['id'], ENT_NOQUOTES) ?></a><?php else: echo NTemplateHelpers::escapeHtml($osoba['id'], ENT_NOQUOTES) ;endif ?></td>
            
            <td><?php echo NTemplateHelpers::escapeHtml($osoba['prijmeni'], ENT_NOQUOTES) ?>
 <?php echo NTemplateHelpers::escapeHtml($osoba['jmeno'], ENT_NOQUOTES) ?> </td>
            <td class="center"><?php echo NTemplateHelpers::escapeHtml($template->date($osoba['narozeni'], "Y"), ENT_NOQUOTES) ?></td>
            <td class="center">
<?php if (isset($osoba['registrace']) && ($opravneni['evidence_edit'] || ($opravneni['individualni_clen'] && $osoba['id']==$user->getIdentity()->id))): if (!$osoba['registrace'] && $osoba['od']>=$dnes): ?>
                       <a href="<?php echo htmlSpecialChars($_control->link("zrusitEvidenci", array('id_osoby'=> $osoba['id'], 'rok'=>$filtr['rok']))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-del.gif" alt="zrušit evidenci" title="zrušit evidenci" /></a>
<?php endif ;if ($opravneni['individualni_clen'] && $osoba['od']<$dnes): ?>
                       <a href="<?php echo htmlSpecialChars($_control->link("registraceIndividualniPdf", array($oddil['id'], $osoba['id']))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-pdf.gif" alt="pdf" title="pdf" /></a>
                     <?php else: ?>&nbsp;
<?php endif ?>
                <?php else: ?>&nbsp;       
                <?php endif ?></td>  
            <td class="center">
             <?php if ((!$opravneni['individualni_clen'])): ?>    <a style="text-decoration:none;" href="<?php echo htmlSpecialChars($_control->link("upravitOsobu", array($oddil['id'], $osoba['id']))) ?>
"><?php endif ?>

<?php if ($osoba['mobil'] || $osoba['telefon']): ?>
                        <img src="<?php echo htmlSpecialChars($basePath) ?>/css/phone-blue.png" alt="" title="<?php echo htmlSpecialChars($osoba['mobil']) ;if ($osoba['mobil']&&$osoba['telefon']): ?>
, <?php endif ;echo htmlSpecialChars($osoba['telefon']) ?>" />
                     <?php else: ?><img src="<?php echo htmlSpecialChars($basePath) ?>/css/phone-grey.png" alt="" title="nezadáno" />
<?php endif ;if ($osoba['ulice'] && $osoba['obec'] && $osoba['psc']): ?>
                               <img src="<?php echo htmlSpecialChars($basePath) ?>
/css/home-blue.png" alt="" title="<?php echo htmlSpecialChars($osoba['ulice']) ?>
, <?php echo htmlSpecialChars($osoba['obec']) ?>, <?php echo htmlSpecialChars($osoba['psc']) ?>" />
                      <?php else: ?>   <img src="<?php echo htmlSpecialChars($basePath) ?>/css/home-grey.png" alt="" title="nezadáno" />
<?php endif ;if ($osoba['email']): ?>
                      <img src="<?php echo htmlSpecialChars($basePath) ?>/css/mail-blue.png" alt="" title="<?php echo htmlSpecialChars($osoba['email']) ?>" />
                      <?php else: ?><img src="<?php echo htmlSpecialChars($basePath) ?>/css/mail-grey.png" alt="" title="nezadáno" />
<?php endif ?>
<!--                     <img src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/ico-edit.gif" alt="upravit" title="upravit"/>-->
            <?php if ((!$opravneni['individualni_clen'])): ?>  </a><?php endif ?>

            </td>
        </tr>
        <?php if ($opravneni['individualni_clen'] && $osoba['id']== $user->getIdentity()->id): $evidovany = TRUE ;endif ?>

       
<?php $iterations++; endforeach ?>
 </table>
</div> 
<div>
    Počet evidovaných členů: <?php echo NTemplateHelpers::escapeHtml($osoby->rowCount(), ENT_NOQUOTES) ?> &nbsp;&nbsp;
<?php if ($oddil['id']!=$id_individualni_clenove): ?>
    <br />
    Evidenční poplatek za rok <?php echo NTemplateHelpers::escapeHtml($rok, ENT_NOQUOTES) ?>
: <?php echo NTemplateHelpers::escapeHtml($template->poplatky($osoby->rowCount()), ENT_NOQUOTES) ?> Kč<br />
    Číslo účtu: 121230339/0800 VS <?php echo NTemplateHelpers::escapeHtml($oddil['id'], ENT_NOQUOTES) ?>

<?php endif ;if ($oddil['id']==$id_individualni_clenove && $rok == date('Y')): ?>
    <a href="<?php echo htmlSpecialChars($_control->link("registraceIndividualniPdf", array($oddil['id']))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-pdf.gif" alt="pdf" title="pdf" /></a>
<?php endif ;if ($osoby && $osoby->rowCount()): ?>
    <br /><a href="<?php echo htmlSpecialChars($_control->link("evidenceExport", array($oddil['id'], $rok))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-xls.gif" alt="export do xls" title="export do xls" />&nbsp;Export evidence do xls</a>
    <br /><a href="<?php echo htmlSpecialChars($_control->link("evidenceExportWord", array($oddil['id'], $rok))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-doc.gif" alt="export do docx" title="export do docx" />&nbsp;Export evidence do docx</a>
<?php endif ?>
</div>
<?php if ($rok >= date('Y') && $opravneni['evidence_edit']): ?>
<br />
<div>
    <h3>Přidat do evidence:</h3>
     <div>
<?php NFormMacros::renderFormBegin($form = $_form = (is_object("zobrazitOsobyEvidovaneMinulyRokForm") ? "zobrazitOsobyEvidovaneMinulyRokForm" : $_control["zobrazitOsobyEvidovaneMinulyRokForm"]), array()) ?>
        <table>
            <tr><th>Osoby evidované v roce <?php echo NTemplateHelpers::escapeHtml($rok-1, ENT_NOQUOTES) ?></th>
                <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td>
        </table>
<?php NFormMacros::renderFormEnd($_form) ?>
    </div>
     <div>
<?php NFormMacros::renderFormBegin($form = $_form = (is_object("vyhledatOsobuForm") ? "vyhledatOsobuForm" : $_control["vyhledatOsobuForm"]), array()) ;if ($form->hasErrors()): ?>        <ul class="errors">
<?php $iterations = 0; foreach ($form->errors as $error): ?>               <li><?php echo NTemplateHelpers::escapeHtml($error, ENT_NOQUOTES) ?></li>
<?php $iterations++; endforeach ?>
       </ul>
<?php endif ?>

        <table>
            <tr >
                <th><?php $_input = is_object("popis") ? "popis" : $_form["popis"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?></th>
                <td><?php $_input = (is_object("popis") ? "popis" : $_form["popis"]); echo $_input->getControl()->addAttributes(array()) ?></td>
                <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td>
            </tr>

        </table>
<?php $_input = is_object("id") ? "id" : $_form["id"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ;$_input = (is_object("id") ? "id" : $_form["id"]); echo $_input->getControl()->addAttributes(array()) ;NFormMacros::renderFormEnd($_form) ?>
    </div>
    
    
    <div>
<?php NFormMacros::renderFormBegin($form = $_form = (is_object("evidovatNovouOsobuForm") ? "evidovatNovouOsobuForm" : $_control["evidovatNovouOsobuForm"]), array()) ?>
        <table>
            <tr><th>Evidovat novou osobu</th><td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td></tr>
        </table>
<?php NFormMacros::renderFormEnd($_form) ?>
     </div>
  <div>
<?php NFormMacros::renderFormBegin($form = $_form = (is_object("csvForm") ? "csvForm" : $_control["csvForm"]), array()) ;if ($form->hasErrors()): ?>        <ul class="errors">
<?php $iterations = 0; foreach ($form->errors as $error): ?>            <li><?php echo NTemplateHelpers::escapeHtml($error, ENT_NOQUOTES) ?></li>
<?php $iterations++; endforeach ?>
        </ul>
<?php endif ?>
        <table>
            <tr >
                <th><?php $_input = is_object("soubor") ? "soubor" : $_form["soubor"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?> </th>
                <td><?php $_input = (is_object("soubor") ? "soubor" : $_form["soubor"]); echo $_input->getControl()->addAttributes(array()) ?></td>
                <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td>
            </tr>

        </table>
<?php NFormMacros::renderFormEnd($_form) ?>
    </div>
 </div>
<?php endif ?>

<?php if ($rok >= date('Y') && $opravneni['individualni_clen']): if (!isset($evidovany)): ?>
<a href="<?php echo htmlSpecialChars($_control->link("evidovatOsobu", array($id, $user->getIdentity()->id, $rok))) ?>
">Evidovat</a>
<?php endif ;endif ;if ($admin): ?>
<div class="bottom_nav">
    <a href="<?php echo htmlSpecialChars($_control->link("prehled", array($oddil['id']))) ?>
">Zpět na oddíl</a>
</div>
<?php endif ;
}}
?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'lmbifl2735')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<h3 class="oddelit">Reklama</h3>
<div class="obr-box">
<!--<a href='http://www.satoya.cz/' target='_blank'><img src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/images/satoya.jpg" alt='SATURN-TOYA ' title='SATURN-TOYA'/></a>-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- gymfed -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-3888879872337767"
     data-ad-slot="4840850732"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push( { } );
</script>
</div>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/tiny_mce/tiny_mce.js"></script>
        
        <!--<script src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/js/jquery-ui-1.10.3.custom.js"></script>-->
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/jquery-ui-1.10.4.custom.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/netteForms.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/live-form-validation.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/main.js"></script>
        <title><?php if ($_l->extends) { ob_end_clean(); return NCoreMacros::includeTemplate($_l->extends, get_defined_vars(), $template)->render(); }
ob_start(); call_user_func(reset($_l->blocks['title']), $_l, get_defined_vars()); echo $template->striptags(ob_get_clean())  ?></title>

        <link rel="stylesheet" media="screen,projection,tv" href="<?php echo htmlSpecialChars($basePath) ?>/css/screen.css" />
  <!--[if IE 7]>
 <link rel="stylesheet" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/styleIE7.css">
<![endif]-->
<!--[if gte IE 9]>
<link rel="stylesheet" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/styleIE9.css">
<![endif]-->
        <link rel="stylesheet" media="screen,projection,tv" href="<?php echo htmlSpecialChars($basePath) ?>/css/ui-lightness/jquery-ui-1.10.3.custom.css" />
        <link rel="stylesheet" media="print" href="<?php echo htmlSpecialChars($basePath) ?>/css/print.css" />
       	<link rel="shortcut icon" href="<?php echo htmlSpecialChars($basePath) ?>/favicon.ico" />
	<?php call_user_func(reset($_l->blocks['head']), $_l, get_defined_vars())  ?>

    </head>

    <body<?php if ($debugMod): ?> class="demo"<?php endif ?>>
        <div id="container">
            <script> document.documentElement.className+=' js' </script>
<?php if ($user->isLoggedIn()): ?>
            <div class="top inner"><span id="pos"><a class="home" title="Home" href="<?php echo htmlSpecialChars($_control->link("Homepage:")) ?>
"><span>&nbsp;</span></a></span>
                <div class="user">
    function _lb32e6997950_content($_l, $_args)
    {
        extract($_args);
        ?>
<article id="post-<?php 
        echo htmlSpecialChars($post->id);
        ?>
" class="<?php 
        echo htmlSpecialChars($post->htmlClasses);
        ?>
">

	<header class="entry-header">
		
		<h1 class="entry-title">
			<a href="<?php 
        echo htmlSpecialChars($post->permalink);
        ?>
" title="<?php 
        echo htmlSpecialChars(__('Permalink to', 'ait'));
        ?>
 <?php 
        echo htmlSpecialChars($post->title);
        ?>
" rel="bookmark"><?php 
        echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES);
        ?>
</a>
		</h1>

	</header>

<?php 
        if ($post->thumbnailSrc) {
            ?>
	<a href="<?php 
            echo $post->thumbnailSrc;
            ?>
">
		<div class="entry-thumbnail">
<?php 
            if (isset($fullwidth)) {
                ?>
			<img class="fullwidth" src="<?php 
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 940, 'h' => 250), "", "&amp;");
                ?>
" alt="" />
<?php 
            } else {
                ?>
			<img src="<?php 
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 629, 'h' => 250), "", "&amp;");
                ?>
" alt="" />
<?php 
            }
            ?>
		</div>
	</a>
<?php 
        }
        ?>

	<div class="entry-meta">
		<span class="sep blog-date"><?php 
        echo NTemplateHelpers::escapeHtml(__('On:', 'ait'), ENT_NOQUOTES);
        ?>
 </span>
		<a href="<?php 
        echo WpLatteFunctions::getDayLink($post->date);
        ?>
" title="<?php 
        echo htmlSpecialChars($template->date($post->date, $site->dateFormat));
        ?>
" rel="bookmark"><time class="entry-date" datetime="<?php 
        echo htmlSpecialChars($template->date($post->date, $site->dateFormat));
        ?>
" pubdate=""><?php 
        echo NTemplateHelpers::escapeHtml($template->date($post->date, $site->dateFormat), ENT_NOQUOTES);
        ?>
</time></a>

<?php 
        if ($post->type == 'post' && $post->categories) {
            ?>
		<span class="cat-links">
			<span class="sep blog-categories entry-utility-prep entry-utility-prep-cat-links"><?php 
            echo NTemplateHelpers::escapeHtml(__('Posted in', 'ait'), ENT_NOQUOTES);
            ?>
</span>
			<?php 
            echo $post->categories;
            ?>

		</span>
<?php 
        }
        ?>
		
		<div class="comments-link">
			<a href="<?php 
        echo $post->permalink;
        ?>
#comments" title="<?php 
        echo htmlSpecialChars(__('Comment on', 'ait'));
        ?>
 <?php 
        echo htmlSpecialChars($post->title);
        ?>
"><?php 
        echo NTemplateHelpers::escapeHtml($post->commentsCount, ENT_NOQUOTES);
        ?>
</a>
		</div>
		<span class="edit-link"><?php 
        edit_post_link(__("Edit", "ait"), "<span class=\"edit-link\">", "</span>", $post->id);
        ?>
</span>
	</div>
	
	<div class="entry-content">
		<?php 
        echo $post->content;
        ?>

	</div>

</article><!-- /#post-<?php 
        echo NTemplateHelpers::escapeHtmlComment($post->id);
        ?>
 -->

<?php 
        NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['jt4zb7i7un'])->render();
        ?>

<?php 
        if (isset($themeOptions->advertising->showBox4)) {
            ?>
<div id="advertising-box-4" class="advertising-box">
    <?php 
            echo $themeOptions->advertising->box4Content;
            ?>

</div>
<?php 
        }
        ?>

<?php 
    }
						<div>
							<?php 
                    echo $wProduct->options->productDescription;
                    ?>

						</div>
					</div>
<?php 
                } else {
                    ?>
					<div class="tabs-content sc-column sc-column-last three-fourth-last tab-<?php 
                    echo htmlSpecialChars($iterator->getCounter());
                    ?>
" style="display: none">
						<!-- <h2><?php 
                    echo NTemplateHelpers::escapeHtmlComment($options->productsTitle);
                    ?>
</h2> -->
						<div>
							<?php 
                    echo $wProduct->options->productDescription;
                    ?>

						</div>
					</div>
<?php 
                }
            }
            $iterations++;
        }
        array_pop($_l->its);
    function _lbe5d497be66_content($_l, $_args)
    {
        extract($_args);
        ?>
<article id="post-<?php 
        echo htmlSpecialChars($post->id);
        ?>
" class="<?php 
        echo htmlSpecialChars($post->htmlClasses);
        ?>
">

	<header class="entry-header">

		<h1 class="entry-title">
			<a href="<?php 
        echo htmlSpecialChars($post->permalink);
        ?>
" title="<?php 
        echo htmlSpecialChars(__('Permalink to', 'ait'));
        ?>
 <?php 
        echo htmlSpecialChars($post->title);
        ?>
" rel="bookmark"><?php 
        echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES);
        ?>
</a>
		</h1>

	</header>
	
<?php 
        if ($post->thumbnailSrc) {
            ?>
	<a href="<?php 
            echo $post->thumbnailSrc;
            ?>
">
<?php 
            if (isset($fullwidth)) {
                ?>
		<div class="entry-thumbnail"><img src="<?php 
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 940, 'h' => 250), "", "&amp;");
                ?>
" alt="" /></div>
<?php 
            } else {
                ?>
		<div class="entry-thumbnail"><img src="<?php 
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 629, 'h' => 250), "", "&amp;");
                ?>
" alt="" /></div>
<?php 
            }
            ?>
	</a>
<?php 
        }
        ?>

	<div class="entry-content">
		<?php 
        echo $post->content;
        ?>

	</div>

</article><!-- /#post-<?php 
        echo NTemplateHelpers::escapeHtmlComment($post->id);
        ?>
 -->

<?php 
        NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['vtzdkbc282'])->render();
        ?>

<?php 
        if (isset($themeOptions->advertising->showBox4)) {
            ?>
<div id="advertising-box-4" class="advertising-box">
    <?php 
            echo $themeOptions->advertising->box4Content;
            ?>

</div>
<?php 
        }
        ?>

<?php 
    }
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/jquery.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/jquery-ui-1.10.3.custom.js"></script>
        <!--<script src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/js/jquery.nette.js"></script>-->
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/nette.ajax.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/web.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/menu.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/lytebox/lytebox.js"></script>
        <script type="text/javascript" src="<?php echo htmlSpecialChars($basePath) ?>/js/tablesorter/jquery.tablesorter.js"></script>
        <link rel="stylesheet" media="screen,projection,tv" href="<?php echo htmlSpecialChars($basePath) ?>/css/custom-theme/jquery-ui-1.10.4.custom.css" />
        <link rel="stylesheet" href="<?php echo htmlSpecialChars($basePath) ?>/js/lytebox/lytebox.css" type="text/css" media="screen" />
        <link rel="stylesheet" media="screen,projection,tv,print" href="<?php echo htmlSpecialChars($basePath) ?>/css/web.css" />
        <!--[if IE 7]>
        <link rel="stylesheet" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/web-ie.css">
        <![endif]-->
         <!-- link rel="stylesheet" media="print" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/print.css" -->
        <link rel="shortcut icon" href="<?php echo htmlSpecialChars($basePath) ?>/favicon2.ico" />
        <?php echo $pozadi ?>

	<?php call_user_func(reset($_l->blocks['head']), $_l, get_defined_vars())  ?>

    </head>

    
    <body>
        <script>
          (function(i,s,o,g,r,a,m){ i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          ( i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          } ) ( window,document,'script','//www.google-analytics.com/analytics.js','ga');
//netteCache[01]000474a:2:{s:4:"time";s:21:"0.05633100 1449951217";s:9:"callbacks";a:3:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:85:"/Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/header.php";i:2;i:1449948815;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"eee17d5 released on 2011-08-13";}i:2;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:21:"WPLATTE_CACHE_VERSION";i:2;i:4;}}}
// source file: /Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/header.php
list($_l, $_g) = NCoreMacros::initRuntime($template, 'p43q75hso3');
// snippets support
if (!empty($control->snippetMode)) {
    return NUIMacros::renderSnippets($control, $_l, get_defined_vars());
}
//
// main template
//
?>
<!doctype html>

<!--[if IE 8]><html class="no-js oldie ie8 ie" lang="<?php 
echo NTemplateHelpers::escapeHtmlComment($site->language);
?>
"><![endif]-->
<!--[if gte IE 9]><!--><html class="no-js" lang="<?php 
echo htmlSpecialChars($site->language);
?>
"><!--<![endif]-->

	<head>
		<meta charset="<?php 
echo htmlSpecialChars($site->charset);
?>
" />
<script type='text/javascript'>var ua = navigator.userAgent; var meta = document.createElement('meta');if((ua.toLowerCase().indexOf('android') > -1 && ua.toLowerCase().indexOf('mobile')) || ((ua.match(/iPhone/i)) || (ua.match(/iPad/i)))){ meta.name = 'viewport';	meta.content = 'target-densitydpi=device-dpi, width=device-width'; }var m = document.getElementsByTagName('meta')[0]; m.parentNode.insertBefore(meta,m);</script> 		<meta name="Author" content="www.helsinginvihreat.fi" />

		<title><?php 
?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, '2uwsfribrp')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<div class='pg-clanky'>
  <ul>
<?php $iterations = 0; foreach ($clanky as $clanek): ?>
        <!--div class="clanek vypis">
         <a href="<?php echo NTemplateHelpers::escapeHtmlComment($_presenter->link("Clanky:", array($clanek['url']))) ?>">
             <strong><?php echo NTemplateHelpers::escapeHtmlComment($clanek['nadpis']) ?></strong>
         </a>   
        </div -->
        <li><a href="<?php echo htmlSpecialChars($_presenter->link("Clanky:", array($clanek['url']))) ?>">
        <?php echo NTemplateHelpers::escapeHtml($clanek['nadpis'], ENT_NOQUOTES) ?>

         </a></li>   
<?php $iterations++; endforeach ?>
  </ul>
</div>