if (!function_exists($_l->blocks['obsah'][] = '_lb73da57502c_obsah')) { function _lb73da57502c_obsah($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v ?><div> <?php NFormMacros::renderFormBegin($form = $_form = (is_object("vyhledatOddilForm") ? "vyhledatOddilForm" : $_control["vyhledatOddilForm"]), 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> <?php if (isset($oddily)): ?> <div> <table> <?php $iterations = 0; foreach ($oddily as $oddil): ?> <tr> <td><a href="<?php echo htmlSpecialChars($_control->link("prehled", array($oddil['id']))) ?> "><?php echo NTemplateHelpers::escapeHtml($oddil['nazev'], ENT_NOQUOTES) ?></a></td> </tr> <?php $iterations++; endforeach ?> </table> </div> <?php endif ; }}
if (!function_exists($_l->blocks['content'][] = '_lb3bb298d597_content')) { function _lb3bb298d597_content($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v ;$_ctrl = $_control->getComponent("drobeckovaNavigace"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;call_user_func(reset($_l->blocks['title']), $_l, get_defined_vars()) ?> <img src="<?php echo htmlSpecialChars($basePath) ?>/css/datum.png" /> <?php echo NTemplateHelpers::escapeHtml($template->datumKonani($akce['od'], $akce['do']), ENT_NOQUOTES) ?> <br /> <?php if ($akce['misto']): ?><img src="<?php echo htmlSpecialChars($basePath) ?> /css/location.png" /> pořadatel: <?php echo NTemplateHelpers::escapeHtml($akce['misto'], ENT_NOQUOTES) ?> <br /><?php endif ?> <?php if ($existuji_vysledky): ?> <br /> <?php NFormMacros::renderFormBegin($form = $_form = (is_object("seznamKategoriiForm") ? "seznamKategoriiForm" : $_control["seznamKategoriiForm"]), array()) ;$_input = is_object("kategorie") ? "kategorie" : $_form["kategorie"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?> : <?php $_input = (is_object("kategorie") ? "kategorie" : $_form["kategorie"]); echo $_input->getControl()->addAttributes(array()) ;$_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ;NFormMacros::renderFormEnd($_form) ?> <?php if ($kategorie): ?> <h3><?php echo NTemplateHelpers::escapeHtml($kategorie['nazev'], ENT_NOQUOTES) ?></h3> <table> <tr><td>Sport:</td><td><?php echo NTemplateHelpers::escapeHtml($sporty[$kategorie['sport']], ENT_NOQUOTES) ?></td></tr> </table> <?php endif ;$_ctrl = $_control->getComponent("vysledky"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;else: ?> <p>Elektronické výsledky této akce nebyly nalezeny.</p> <?php endif ?> <br /> <a href="<?php echo htmlSpecialChars($_control->link("Kalendar:detail", array($akce['id']))) ?> ">zpět na detail závodu</a> <?php }}
if (!function_exists($_l->blocks['content'][] = '_lb91b8fcf423_content')) { function _lb91b8fcf423_content($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v ;$_ctrl = $_control->getComponent("drobeckovaNavigace"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;call_user_func(reset($_l->blocks['title']), $_l, get_defined_vars()) ?> <h2> <?php echo NTemplateHelpers::escapeHtml($template->datumKonani($od, $do), ENT_NOQUOTES) ?></h2> <table> <?php NFormMacros::renderFormBegin($form = $_form = (is_object("akceFiltr") ? "akceFiltr" : $_control["akceFiltr"]), array()) ?> <tr> <th><?php $_input = is_object("obdobi") ? "obdobi" : $_form["obdobi"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?></th> <th><?php $_input = is_object("sport") ? "sport" : $_form["sport"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?></th> <th> </th> </tr> <tr> <td><?php $_input = (is_object("obdobi") ? "obdobi" : $_form["obdobi"]); echo $_input->getControl()->addAttributes(array()) ?></td> <td><?php $_input = (is_object("sport") ? "sport" : $_form["sport"]); echo $_input->getControl()->addAttributes(array()) ?></td> <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td> </tr> <?php NFormMacros::renderFormEnd($_form) ?> <div id="<?php echo $_control->getSnippetId('seznam_akci') ?>"><?php call_user_func(reset($_l->blocks['_seznam_akci']), $_l, $template->getParameters()) ?> </div></table> <br /> <a class='ico-pdf' href="<?php echo htmlSpecialChars($_control->link("export", array('format'=>'pdf'))) ?> ">Termínová listina (pdf)</a><br /> <a class='ico-xls' href="<?php echo htmlSpecialChars($_control->link("export", array('format'=>'xls'))) ?> ">Termínová listina (xls)</a><br /> <?php }}
if (!function_exists($_l->blocks['_k_prihlaseni'][] = '_lbfcd3fed6ce__k_prihlaseni')) { function _lbfcd3fed6ce__k_prihlaseni($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v; $_control->validateControl('k_prihlaseni') ;NFormMacros::renderFormBegin($form = $_form = (is_object("sportyFiltrForm") ? "sportyFiltrForm" : $_control["sportyFiltrForm"]), array()) ?> <table> <tbody> <tr> <td><?php $_input = (is_object("sporty") ? "sporty" : $_form["sporty"]); echo $_input->getControl()->addAttributes(array()) ?></td> <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td> </tr> </tbody> </table> <?php NFormMacros::renderFormEnd($_form) ;$iterations = 0; foreach ($iterator = $_l->its[] = new NSmartCachingIterator($k_prihlaseni) as $akce): if ($iterator->isFirst()): ?> <table class="hover"> <tr> <th>Datum</th><th class="oddo">Sport</th><th>Akce</th><th>Přihlášky do</th><th> </th><th> </th> </tr> <?php endif ?> <tr> <td><?php echo NTemplateHelpers::escapeHtml($template->datumKonani($akce['od'], $akce['do']), ENT_NOQUOTES) ?></td> <td><?php echo NTemplateHelpers::escapeHtml($akce['sport'], ENT_NOQUOTES) ?></td> <td><a href="<?php echo htmlSpecialChars($_control->link("info", array($akce['id'], $oddil))) ?> "><?php echo NTemplateHelpers::escapeHtml($akce['nazev'], ENT_NOQUOTES) ?></a></td> <td><?php echo NTemplateHelpers::escapeHtml($template->date($akce['uzavirka_prihlasek'], 'j.n.Y'), ENT_NOQUOTES) ?></td> <td><?php if ($opravneni['prihlasky'] && $akce['elektronicke_prihlasky']): ?> <a href="<?php echo htmlSpecialChars($_control->link("prihlasky", array($akce['id'], $oddil))) ?> ">přihlásit</a><?php endif ?></td> <td><?php if ($akce['prihlaseno']): ?><img src="<?php echo htmlSpecialChars($basePath) ?> /css/ico-ok.gif" alt="ano" title="přihlášeno <?php echo htmlSpecialChars($akce['prihlaseno']) ?> osob" /><?php else: ?> <?php endif ?></td> </tr> <?php if ($iterator->isLast()): ?></table><?php endif ?> <?php $iterations++; endforeach; array_pop($_l->its); $iterator = end($_l->its) ; }}
public function __construct() { $this->parser = new NParser; NCoreMacros::install($this->parser); $this->parser->addMacro('cache', new NCacheMacro($this->parser)); NUIMacros::install($this->parser); NFormMacros::install($this->parser); }
public function __construct() { $this->parser = new NParser; $this->compiler = new NLatteCompiler; $this->compiler->defaultContentType = NLatteCompiler::CONTENT_XHTML; NCoreMacros::install($this->compiler); $this->compiler->addMacro('cache', new NCacheMacro($this->compiler)); NUIMacros::install($this->compiler); NFormMacros::install($this->compiler); }
if (!function_exists($_l->blocks['obsah'][] = '_lb7da70f834c_obsah')) { function _lb7da70f834c_obsah($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v ;$_ctrl = $_control->getComponent("prehledPrav"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;if ($moznost_uprav): ?> <?php NFormMacros::renderFormBegin($form = $_form = (is_object("priraditPravaForm") ? "priraditPravaForm" : $_control["priraditPravaForm"]), 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) ;endif ;if (isset($osoby)): ?> <div> Vyberte osobu: <table> <?php $iterations = 0; foreach ($osoby as $osoba): ?> <tr> <td><a href="<?php echo htmlSpecialChars($_control->link("nastaveniPrav", array('osoba'=>$osoba['id']))) ?> "><?php echo NTemplateHelpers::escapeHtml($osoba['prijmeni'], ENT_NOQUOTES) ?> <?php echo NTemplateHelpers::escapeHtml($osoba['jmeno'], ENT_NOQUOTES) ?></a></td> <td><?php echo NTemplateHelpers::escapeHtml($template->date($osoba['narozeni'], 'j.n.Y'), ENT_NOQUOTES) ?></td> </tr> <?php $iterations++; endforeach ?> </table> </div> <?php endif ;if ($moznost_uprav): if (!$shodna_prava_banka): if ($oddil['id']==$id_individualni_clenove): ?> <a onclick="if(!confirm('Všem individuálním členům budou nastavena práva pro jejich osobní účet v modulu BANKA. Opravdu provést?'))return false;" href="<?php echo htmlSpecialChars($_control->link("nastaveniPravProBankuIndividualni")) ?> ">Nastavit individuálním členům práva do modulu BANKA</a> <?php else: ?> <a onclick="if(!confirm('Všechna práva z modulu BANKA budou nahrazena právy z modulu ODDÍLY. Opravdu provést?'))return false;" href="<?php echo htmlSpecialChars($_control->link("nastaveniPravProBanku", array($oddil['id']))) ?> ">Překopírovat práva do modulu BANKA</a> <?php endif ?> <br /> <?php endif ;if (!$shodna_prava_zavody): ?> <?php if ($oddil['id']==$id_individualni_clenove): ?> <a onclick="if(!confirm('Všem individuálním členům budou nastavena práva pro modul ZÁVODY. Opravdu provést?'))return false;" href="<?php echo htmlSpecialChars($_control->link("nastaveniPravProZavodyIndividualni")) ?> ">Nastavit individuálním členům práva do modulu ZÁVODY</a> <?php else: ?> <a onclick="if(!confirm('Všechna práva z modulu ZÁVODY budou nahrazena právy z modulu ODDÍLY. Opravdu provést?'))return false;" href="<?php echo htmlSpecialChars($_control->link("nastaveniPravProZavody", array($oddil['id']))) ?> ">Překopírovat práva do modulu ZÁVODY</a> <?php endif ;endif ;endif ; }}
if (!function_exists($_l->blocks['content'][] = '_lb62a7bc83e1_content')) { function _lb62a7bc83e1_content($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v ;$_ctrl = $_control->getComponent("drobeckovaNavigace"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;call_user_func(reset($_l->blocks['title']), $_l, get_defined_vars()) ?> <table> <?php NFormMacros::renderFormBegin($form = $_form = (is_object("vysledkyFiltr") ? "vysledkyFiltr" : $_control["vysledkyFiltr"]), array()) ?> <tr> <th><?php $_input = is_object("rok") ? "rok" : $_form["rok"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?></th> <th><?php $_input = is_object("sport") ? "sport" : $_form["sport"]; if ($_label = $_input->getLabel()) echo $_label->addAttributes(array()) ?></th> <th> </th> </tr> <tr> <td><?php $_input = (is_object("rok") ? "rok" : $_form["rok"]); echo $_input->getControl()->addAttributes(array()) ?></td> <td><?php $_input = (is_object("sport") ? "sport" : $_form["sport"]); echo $_input->getControl()->addAttributes(array()) ?></td> <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td> </tr> <?php NFormMacros::renderFormEnd($_form) ?> <div id="<?php echo $_control->getSnippetId('seznam_akci') ?>"><?php call_user_func(reset($_l->blocks['_seznam_akci']), $_l, $template->getParameters()) ?> </div></table> <br /><?php }}
if (!function_exists($_l->blocks['_seznamPriloh'][] = '_lbe5e60ff84e__seznamPriloh')) { function _lbe5e60ff84e__seznamPriloh($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v; $_control->validateControl('seznamPriloh') ;NFormMacros::renderFormBegin($form = $_form = (is_object("prilohyForm") ? "prilohyForm" : $_control["prilohyForm"]), array()) ?> <table class='no_inline'> <?php $i=0; $iterations = 0; foreach ($iterator = $_l->its[] = new NSmartCachingIterator($seznam_priloh) as $adresa=>$priloha): ?> <tr> <td> <a href="<?php echo htmlSpecialChars($basePath) ?>/<?php echo htmlSpecialChars($adresa) ?>" > <?php if ($priloha['je_obrazek']): ?> <img src="<?php echo htmlSpecialChars($basePath) ?> /css/ico-foto.png" /><?php else: ?> <img src="<?php echo htmlSpecialChars($basePath) ?> /<?php echo htmlSpecialChars($priloha['nahled']) ?>" alt="<?php echo htmlSpecialChars($priloha['nazev']) ?> " /><?php endif ?> </a> </td> <td class="left"><?php echo NTemplateHelpers::escapeHtml($priloha['nazev'], ENT_NOQUOTES) ?></td> <td><?php $_input = (is_object("typ_".$i) ? "typ_".$i : $_form["typ_".$i]); echo $_input->getControl()->addAttributes(array()) ;$_input = (is_object("nazev_".$i) ? "nazev_".$i : $_form["nazev_".$i]); echo $_input->getControl()->addAttributes(array()) ?></td> <td class="right"> <a data-confirm="Opravdu smazat přílohu?" class="ajax" href="<?php echo htmlSpecialChars($_control->link("deletePriloha!", array($akce->id,$priloha['nazev']))) ?> "> <img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-del.gif" alt="smazat prilohu" title="smazat prilohu" /> </a> </td> </tr> <?php $i++ ;if ($iterator->isLast()): ?> <tr class="submit_hidden"> <td colspan="2"> </td> <td><?php $_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?></td> <td> </td> </tr> <?php endif ;$iterations++; endforeach; array_pop($_l->its); $iterator = end($_l->its) ?> </table> <?php NFormMacros::renderFormEnd($_form) ; }}
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> </th> <th> </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: ?> <?php endif ?> <?php else: ?> <?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) ?> <?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" /> 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" /> 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 //netteCache[01]000372a:2:{s:4:"time";s:21:"0.17454100 1429520518";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:83:"/home/svn/repos/gymfed/trunk/app/WebModule/components/vyhledavani/vyhledavani.latte";i:2;i:1396016116;}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:"dc83a21 released on 2013-07-11";}}}?><?php // source file: /home/svn/repos/gymfed/trunk/app/WebModule/components/vyhledavani/vyhledavani.latte ?><?php // prolog NCoreMacros list($_l, $_g) = NCoreMacros::initRuntime($template, 'ojxuyw1bgr') ; // prolog NUIMacros // snippets support if (!empty($_control->snippetMode)) { return NUIMacros::renderSnippets($_control, $_l, get_defined_vars()); } // // main template // ?> <div id="vyhledavani"> <?php NFormMacros::renderFormBegin($form = $_form = (is_object("vyhledatForm") ? "vyhledatForm" : $_control["vyhledatForm"]), array()) ?> <?php $_input = (is_object("vyhledat") ? "vyhledat" : $_form["vyhledat"]); echo $_input->getControl()->addAttributes(array()) ;$_input = (is_object("send") ? "send" : $_form["send"]); echo $_input->getControl()->addAttributes(array()) ?> <?php NFormMacros::renderFormEnd($_form) ?> </div>