function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('15cc47c4d3', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lb330cb00532_content')) {
            function _lb330cb00532_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                if (!$user->loggedIn) {
                    ?>
	<p>Pro přístup na tuto stránku se musíte <a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:in"), ENT_COMPAT);
                    ?>
">přihlásit</a>.</p>
<?php 
                } else {
                    if ($invoices) {
                        call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                        ?>
	<table class="table-striped faktury">
		<thead>
			<th>Název</th>
			<th>Datum</th>
			<th>Klient</th>
			<th>Cena</th>
			<th>Akce</th>
		</thead>
<?php 
                        $iterations = 0;
                        foreach ($invoices as $invoice) {
                            ?>
		<tr>
			<td><a href="<?php 
                            echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
                            ?>
/<?php 
                            echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($invoice->url), ENT_COMPAT);
                            ?>
"><?php 
                            echo Latte\Runtime\Filters::escapeHtml($invoice->nazev, ENT_NOQUOTES);
                            ?>
</a></td>
			<td><?php 
                            echo Latte\Runtime\Filters::escapeHtml($template->date($invoice->datum_vystaveni, 'd.m.Y'), ENT_NOQUOTES);
                            ?>
</td>
			<td><a href="<?php 
                            echo Latte\Runtime\Filters::escapeHtml($_control->link("Show:profile", array($invoice->id)), ENT_COMPAT);
                            ?>
"><?php 
                            echo Latte\Runtime\Filters::escapeHtml($invoice->jmeno, ENT_NOQUOTES);
                            ?>
</a></td>
			<td><?php 
                            echo Latte\Runtime\Filters::escapeHtml($invoice->cena, ENT_NOQUOTES);
                            ?>
,- Kč</td>
			<td><a href="<?php 
                            echo Latte\Runtime\Filters::escapeHtml($_control->link("deleteFile!", array($invoice->invoice_id, $invoice->url)), ENT_COMPAT);
                            ?>
">Smazat</a></td>
		</tr>
<?php 
                            $iterations++;
                        }
                        ?>
	</table>
<?php 
                    } else {
                        ?>
		<p>Zatím tu nic není.</p>
<?php 
                    }
                }
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lbb32bf3fb40_title')) {
            function _lbb32bf3fb40_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<h2>Seznam faktur</h2>
<?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\UIMacros::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());
    }
        if ($_l->tmp instanceof Nette\Application\UI\IRenderable) {
            $_l->tmp->redrawControl(NULL, FALSE);
        }
        $_l->tmp->render();
    }
}
//
// 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\UIMacros::renderSnippets($_control, $_b, get_defined_vars());
}
//
// main template
//
?>

<?php 
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());
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('f999f7d00d', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block head
        //
        if (!function_exists($_b->blocks['head'][] = '_lb20060456cc_head')) {
            function _lb20060456cc_head($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
            }
        }
        //
        // block scripts
        //
        if (!function_exists($_b->blocks['scripts'][] = '_lb61e9ac7510_scripts')) {
            function _lb61e9ac7510_scripts($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
	<script src="//code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
	<script src="//nette.github.io/resources/js/netteForms.min.js"></script>
	<script src="<?php 
                echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
                ?>
/js/main.js"></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\UIMacros::renderSnippets($_control, $_b, get_defined_vars());
        }
        //
        // main template
        //
        ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title><?php 
        if (isset($_b->blocks["title"])) {
            ob_start();
            Latte\Macros\BlockMacrosRuntime::callBlock($_b, 'title', $template->getParameters());
            echo $template->striptags(ob_get_clean());
            ?>
 | <?php 
        }
        ?>
Prioritní systém</title>

	<link rel="stylesheet" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/css/reset.css">
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
	<link rel="stylesheet" media="screen, projection, tv" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css">
	<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
	<link rel="stylesheet" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/css/style.css">
	<link rel="apple-touch-icon" sizes="57x57" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/images/apple-icon-57x57.png">
	<link rel="apple-touch-icon" sizes="60x60" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/images/apple-icon-60x60.png">
	<link rel="icon" type="image/png" sizes="32x32" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/images/favicon-32x32.png">
	<link rel="icon" type="image/png" sizes="16x16" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/images/favicon-16x16.png">
	<meta name="theme-color" content="#ffffff">
	<meta name="viewport" content="width=device-width">
	<meta name="author" content="Jakub Vitásek | jvitasek.cz">
	<meta name="robots" content="noindex,nofollow">
	<?php 
        if ($_l->extends) {
            ob_end_clean();
            return $template->renderChildTemplate($_l->extends, get_defined_vars());
        }
        call_user_func(reset($_b->blocks['head']), $_b, get_defined_vars());
        ?>

</head>

<body>
<?php 
        $iterations = 0;
        foreach ($flashes as $flash) {
            ?>
	<div<?php 
            if ($_l->tmp = array_filter(array('flash', $flash->type))) {
                echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"';
            }
            ?>
><?php 
            echo Latte\Runtime\Filters::escapeHtml($flash->message, ENT_NOQUOTES);
            ?>
</div>
<?php 
            $iterations++;
        }
        ?>

	<div class="container">
		<nav class="navbar navbar-default">
			<div class="container">
				<ul class="nav navbar-nav">
					<a class="navbar-brand logo" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml($_control->link("Homepage:default"), ENT_COMPAT);
        ?>
"></a>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Zakázky <span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
<?php 
        if ($user->loggedIn) {
            ?>
							<li><a href="<?php 
            echo Latte\Runtime\Filters::escapeHtml($_control->link("Create:task"), ENT_COMPAT);
            ?>
">Nová zakázka</a></li>
<?php 
        }
        ?>
							<li><a href="<?php 
        echo Latte\Runtime\Filters::escapeHtml($_control->link("Homepage:default"), ENT_COMPAT);
        ?>
">Seznam zakázek</a></li>
						</ul>
					</li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Klienti <span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
<?php 
        if ($user->loggedIn) {
            ?>
							<li><a href="<?php 
            echo Latte\Runtime\Filters::escapeHtml($_control->link("Create:client"), ENT_COMPAT);
            ?>
">Nový klient</a></li>
<?php 
        }
        ?>
							<li><a href="<?php 
        echo Latte\Runtime\Filters::escapeHtml($_control->link("Show:debtors"), ENT_COMPAT);
        ?>
">Seznam dlužníků</a></li>
						</ul>
					</li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Faktury <span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
<?php 
        if ($user->loggedIn) {
            ?>
							<li><a href="<?php 
            echo Latte\Runtime\Filters::escapeHtml($_control->link("Create:invoice"), ENT_COMPAT);
            ?>
">Nová faktura</a></li>
<?php 
        }
        ?>
							<li><a href="<?php 
        echo Latte\Runtime\Filters::escapeHtml($_control->link("Show:invoices"), ENT_COMPAT);
        ?>
">Seznam faktur</a></li>
						</ul>
					</li>
<?php 
        if (!$user->loggedIn) {
            ?>
					<li><a href="<?php 
            echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:in"), ENT_COMPAT);
            ?>
">Přihlásit se</a></li>
<?php 
        } else {
            ?>
					<li><a href="<?php 
            echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:out"), ENT_COMPAT);
            ?>
">Odhlásit se</a></li>
					<p class="navbar-text navbar-right">(přihlášen jako <span class="username"><?php 
            echo Latte\Runtime\Filters::escapeHtml($user->id, ENT_NOQUOTES);
            ?>
</span>)</p>
<?php 
        }
        ?>
				</ul>
			</div>
		</nav>

<?php 
        Latte\Macros\BlockMacrosRuntime::callBlock($_b, 'content', $template->getParameters());
        ?>
		
	</div>

<?php 
        call_user_func(reset($_b->blocks['scripts']), $_b, get_defined_vars());
        ?>
</body>
</html>
<?php 
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('e9d231f68e', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lbf8eaadd74e_content')) {
            function _lbf8eaadd74e_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                if (!$user->loggedIn) {
                    ?>
	<p>Pro přístup na tuto stránku se musíte <a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:in"), ENT_COMPAT);
                    ?>
">přihlásit</a>.</p>
<?php 
                } else {
                    call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                    ?>
	<form class="form"<?php 
                    echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_control["clientForm"], array('class' => NULL), FALSE);
                    ?>
>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Jméno</span>
  			<input placeholder="Jméno klienta..." class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["jmeno"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Email</span>
  			<input placeholder="Email zakázky..." class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["email"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Telefon</span>
  			<input placeholder="Telefon na klienta..." class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["telefon"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		<button class="btn btn-primary btn-lg btn-block"<?php 
                    $_input = $_form["submit"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('class' => NULL))->attributes();
                    ?>
>Odeslat</button>
	<?php 
                    echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd($_form, FALSE);
                    ?>
</form>
<?php 
                }
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lbfbe70cfce1_title')) {
            function _lbfbe70cfce1_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<h2>Nový klient</h2>
<?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('7909b929cf', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lbb5e7af87ec_content')) {
            function _lbb5e7af87ec_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                ?>

    <table>
<?php 
                if ($status["fileok"] == FALSE) {
                    ?>
            <tr><td colspan="3">Chybně zadaný vstupní soubor!</td></tr>
<?php 
                } elseif ($status["recnum"] == 0) {
                    ?>
            <tr><td colspan="3">Zvolený soubor neobsahuje výsledky domácího plaveckého oddílu!</td></tr>
<?php 
                } else {
                    ?>
            <tr>
                <td>errnum</td>
                <td>recnum</td>
            </tr>
            <tr>
                <td><?php 
                    echo Latte\Runtime\Filters::escapeHtml($status["errnum"], ENT_NOQUOTES);
                    ?>
</td>
                <td><?php 
                    echo Latte\Runtime\Filters::escapeHtml($status["recnum"], ENT_NOQUOTES);
                    ?>
</td>
            </tr>

            <tr>
                <td>-------------</td>
                <td>-------------</td>
            </tr>

            <tr>
                <td>ID závodu</td>
                <td>ID disc.</td>
                <td>ID plavce</td>
                <td>Čas</td>
                <td>Pořadí</td>
                <td>Body</td>
            </tr>
            <tr>
                <td>-----------------------</td>
                <td>--------------</td>
                <td>--------------------------------</td>
                <td>-------------------</td>
                <td>--------------</td>
                <td>--------------</td>
            </tr>
<?php 
                    $iterations = 0;
                    foreach ($data as $col) {
                        ?>
                    <tr>
                            <td> <?php 
                        echo Latte\Runtime\Filters::escapeHtml($col["id_event"], ENT_NOQUOTES);
                        ?>
 </td>
                            <td> <?php 
                        echo Latte\Runtime\Filters::escapeHtml($col["id_stroke"], ENT_NOQUOTES);
                        ?>
 </td>
                            <td> <?php 
                        echo Latte\Runtime\Filters::escapeHtml($col["id_swimmer"], ENT_NOQUOTES);
                        ?>
 </td>
                            <td> <?php 
                        echo Latte\Runtime\Filters::escapeHtml($col["time"], ENT_NOQUOTES);
                        ?>
 </td>
                            <td> <?php 
                        echo Latte\Runtime\Filters::escapeHtml($col["rank"], ENT_NOQUOTES);
                        ?>
 </td>
                            <td> <?php 
                        echo Latte\Runtime\Filters::escapeHtml($col["point"], ENT_NOQUOTES);
                        ?>
 </td>
                    </tr>
<?php 
                        $iterations++;
                    }
                }
                ?>
    </table>

<?php 
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lb6ff429a02c_title')) {
            function _lb6ff429a02c_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
    <h1>Výsledky</h1>
<?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('5350a9b3c4', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lb8815a8d10c_content')) {
            function _lb8815a8d10c_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                if (!$user->loggedIn) {
                    ?>
	<p>Pro přístup na tuto stránku se musíte <a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:in"), ENT_COMPAT);
                    ?>
">přihlásit</a>.</p>
<?php 
                } else {
                    ?>
	<table class="table-striped dluh">
		<thead>
			<th>Od</th>
			<th>Jméno</th>
			<th>Dluh</th>
		</thead>
<?php 
                    $iterations = 0;
                    foreach ($clients as $item) {
                        ?>
		<tr>
			<td><?php 
                        echo Latte\Runtime\Filters::escapeHtml($template->date($item->od, 'd.m.Y'), ENT_NOQUOTES);
                        ?>
</td>
			<td><a href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("Show:profile", array($item->id)), ENT_COMPAT);
                        ?>
"><?php 
                        echo Latte\Runtime\Filters::escapeHtml($item->jmeno, ENT_NOQUOTES);
                        ?>
</a></td>
			<td style="color: red; font-weight: bold;"><?php 
                        echo Latte\Runtime\Filters::escapeHtml($item->dluh, ENT_NOQUOTES);
                        ?>
</td>
		</tr>
<?php 
                        $iterations++;
                    }
                    ?>
	</table>
<?php 
                }
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lb20deea9626_title')) {
            function _lb20deea9626_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<h2>Seznam dlužníků</h2>
<?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('5f62d15b63', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lb2d58d7bf53_content')) {
            function _lb2d58d7bf53_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                if (!$user->loggedIn) {
                    ?>
	<p>Pro přístup na tuto stránku se musíte <a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:in"), ENT_COMPAT);
                    ?>
">přihlásit</a>.</p>
<?php 
                } else {
                    ?>
	<!-- TABLE START -->
	<table class="table-striped"<?php 
                    echo ' id="' . $_control->getSnippetId('taskContainer') . '"';
                    ?>
>
<?php 
                    call_user_func(reset($_b->blocks['_taskContainer']), $_b, $template->getParameters());
                    ?>
	</table>
<?php 
                }
                ?>
	<!-- TABLE END -->
<?php 
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lb94877319eb_title')) {
            function _lb94877319eb_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<h2 class="homepage-title">Seznam zakázek</h2>
<?php 
            }
        }
        //
        // block _taskContainer
        //
        if (!function_exists($_b->blocks['_taskContainer'][] = '_lb6b375a02e3__taskContainer')) {
            function _lb6b375a02e3__taskContainer($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                $_control->redrawControl('taskContainer', FALSE);
                ?>
		<thead>
			<th>ZADÁNO</th>
			<th>KLIENT</th>
			<th>POPIS</th>
			<th>DEADLINE</th>
			<th>FIRMA</th>
			<th>HONORÁŘ</th>
<?php 
                if ($user->loggedIn) {
                    ?>
			<th></th>
<?php 
                }
                if ($user->loggedIn) {
                    ?>
			<th></th>
<?php 
                }
                ?>
		</thead>
<?php 
                $iterations = 0;
                foreach ($unfinished as $item) {
                    ?>
		<tr>
			<td class="zadano"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($template->date($item->zadano, 'd.m.Y'), ENT_NOQUOTES);
                    ?>
</td>
			<td class="zadavatel"><a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Show:profile", array($item->client_id)), ENT_COMPAT);
                    ?>
"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->jmeno, ENT_NOQUOTES);
                    ?>
</a></td>
			<td class="popis"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->popis, ENT_NOQUOTES);
                    ?>
</td>
			<td class="deadline"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($template->date($item->deadline, 'd.m.Y'), ENT_NOQUOTES);
                    ?>
</td>
			<td class="firma"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->nazev, ENT_NOQUOTES);
                    ?>
</td>
			<td class="honorar"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->honorar ? $item->honorar . ",- Kč" : "zdarma", ENT_NOQUOTES);
                    ?>
</td>
<?php 
                    if ($user->loggedIn) {
                        ?>
			<td class="dokonceno"><a href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("state!", array(1, $item->prio_id)), ENT_COMPAT);
                        ?>
"><span class="unfinished"><i class="fa fa-exclamation"></i></span></a></td>
<?php 
                    }
                    if ($user->loggedIn) {
                        ?>
			<td class="smazat"><a class="delete" onclick="return confirm('Opravdu chcete smazat tuto zakázku?')" href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("delete!", array($item->prio_id)), ENT_COMPAT);
                        ?>
"><i class="fa fa-close"></i></a></td>
<?php 
                    }
                    ?>
		</tr>
<?php 
                    $iterations++;
                }
                $iterations = 0;
                foreach ($finished as $item) {
                    ?>
		<tr>
			<td class="zadano"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($template->date($item->zadano, 'd.m.Y'), ENT_NOQUOTES);
                    ?>
</td>
			<td class="zadavatel"><a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Show:profile", array($item->client_id)), ENT_COMPAT);
                    ?>
"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->jmeno, ENT_NOQUOTES);
                    ?>
</a></td>
			<td class="popis"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->popis, ENT_NOQUOTES);
                    ?>
</td>
			<td class="deadline"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($template->date($item->deadline, 'd.m.Y'), ENT_NOQUOTES);
                    ?>
</td>
			<td class="firma"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->nazev, ENT_NOQUOTES);
                    ?>
</td>
			<td class="honorar <?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->zaplaceno == 0 ? 'nezaplaceno' : NULL, ENT_COMPAT);
                    ?>
"><?php 
                    if ($_l->ifs[] = $user->loggedIn) {
                        ?>
<a href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("paid!", array($item->zaplaceno, $item->prio_id)), ENT_COMPAT);
                        ?>
"><?php 
                    }
                    echo Latte\Runtime\Filters::escapeHtml($item->honorar ? $item->honorar . ",- Kč" : "zdarma", ENT_NOQUOTES);
                    if (array_pop($_l->ifs)) {
                        ?>
</a><?php 
                    }
                    ?>
</td>
<?php 
                    if ($user->loggedIn) {
                        ?>
			<td class="dokonceno"><a href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("state!", array(0, $item->prio_id)), ENT_COMPAT);
                        ?>
"><span class="done"><i class="fa fa-check"></i></span></a></td>
<?php 
                    }
                    if ($user->loggedIn) {
                        ?>
			<td class="smazat"><a class="delete" onclick="return confirm('Opravdu chcete smazat tuto zakázku?')" href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("delete!", array($item->prio_id)), ENT_COMPAT);
                        ?>
"><i class="fa fa-close"></i></a></td>
<?php 
                    }
                    ?>
		</tr>
<?php 
                    $iterations++;
                }
                ?>
		<tr class="color total">
			<td>VYDĚLÁNO</td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td class="sum"><?php 
                echo Latte\Runtime\Filters::escapeHtml($total, ENT_NOQUOTES);
                ?>
,- Kč</td>
			<td></td>
			<td></td>
		</tr>
<?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('81b7f3a4ca', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lbf9cbdc4af8_content')) {
            function _lbf9cbdc4af8_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                if (!$user->loggedIn) {
                    ?>
	<p>Pro přístup na tuto stránku se musíte <a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("Sign:in"), ENT_COMPAT);
                    ?>
">přihlásit</a>.</p>
<?php 
                } else {
                    call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                    ?>
	<form class="form"<?php 
                    echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_control["taskForm"], array('class' => NULL), FALSE);
                    ?>
>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Zadáno</span>
  			<input class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["zadano"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		<select class="form-control"<?php 
                    $_input = $_form["zadavatel"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('class' => NULL))->attributes();
                    ?>
><?php 
                    echo $_input->getControl()->getHtml();
                    ?>
</select>
		<br>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Popis</span>
  			<input placeholder="Popis zakázky..." class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["popis"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Deadline</span>
  			<input class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["deadline"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		<select class="form-control"<?php 
                    $_input = $_form["firma"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('class' => NULL))->attributes();
                    ?>
><?php 
                    echo $_input->getControl()->getHtml();
                    ?>
</select>
		<br>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Honorář (bez ,- Kč)</span>
  			<input placeholder="Honorář (bez ,- Kč)..." class="form-control" aria-describedby="basic-addon1"<?php 
                    $_input = $_form["honorar"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                    ?>
>
		</div>
		<br>
		Dokončeno?<br>
		<label class="radio-inline"><input type="radio" value="1" checked<?php 
                    $_input = $_form["dokonceno"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('type' => NULL, 'value' => NULL, 'checked' => NULL))->attributes();
                    ?>
>Ano</label>
		<label class="radio-inline"><input type="radio" value="0"<?php 
                    $_input = $_form["dokonceno"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('type' => NULL, 'value' => NULL))->attributes();
                    ?>
>Ne</label>
		<br>
		Zaplaceno?<br>
		<label class="radio-inline"><input type="radio" value="1" checked<?php 
                    $_input = $_form["zaplaceno"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('type' => NULL, 'value' => NULL, 'checked' => NULL))->attributes();
                    ?>
>Ano</label>
		<label class="radio-inline"><input type="radio" value="0"<?php 
                    $_input = $_form["zaplaceno"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('type' => NULL, 'value' => NULL))->attributes();
                    ?>
>Ne</label>
		<br><br>
		Priorita<br>
		<input type="range" min="0" max="10" value="0"<?php 
                    $_input = $_form["priorita"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('type' => NULL, 'min' => NULL, 'max' => NULL, 'value' => NULL))->attributes();
                    ?>
><br>
		<button type="submit" class="btn btn-primary btn-lg btn-block"<?php 
                    $_input = $_form["submit"];
                    echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('type' => NULL, 'class' => NULL))->attributes();
                    ?>
>Odeslat</button>
	<?php 
                    echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd($_form, FALSE);
                    ?>
</form>
<?php 
                }
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lbfbaebe4be3_title')) {
            function _lbfbaebe4be3_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<h2>Nová zakázka</h2>
<?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('482a0ea21f', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lbdaf3d0eb47_content')) {
            function _lbdaf3d0eb47_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<div class="row" style="margin: 0 auto; text-align: center;">
		<div class="col-md-4"><?php 
                call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                ?>
</div>
		<div class="col-md-4"><h2><a href="mailto:<?php 
                echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($email), ENT_COMPAT);
                ?>
"><?php 
                echo Latte\Runtime\Filters::escapeHtml($email, ENT_NOQUOTES);
                ?>
</a></h2></div>
		<div class="col-md-4"><h2><?php 
                echo Latte\Runtime\Filters::escapeHtml($phone, ENT_NOQUOTES);
                ?>
</h2></div>
	</div>
	<!-- TABLE START -->
	<table class="table-striped">
		<thead>
			<th>ZADÁNO</th>
			<th>KLIENT</th>
			<th>POPIS</th>
			<th>DEADLINE</th>
			<th>FIRMA</th>
			<th>HONORÁŘ</th>
			<th></th>
			<th></th>
		</thead>
<?php 
                $iterations = 0;
                foreach ($profile as $item) {
                    ?>
		<tr>
			<td class="zadano"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($template->date($item->zadano, 'd.m.Y'), ENT_NOQUOTES);
                    ?>
</td>
			<td class="zadavatel"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->jmeno, ENT_NOQUOTES);
                    ?>
</td>
			<td class="popis"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->popis, ENT_NOQUOTES);
                    ?>
</td>
			<td class="deadline"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($template->date($item->deadline, 'd.m.Y'), ENT_NOQUOTES);
                    ?>
</td>
			<td class="firma"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->nazev, ENT_NOQUOTES);
                    ?>
</td>
			<td class="honorar <?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->zaplaceno == 0 ? 'nezaplaceno' : NULL, ENT_COMPAT);
                    ?>
"><a href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("paid!", array($item->zaplaceno, $item->prio_id)), ENT_COMPAT);
                    ?>
"><?php 
                    echo Latte\Runtime\Filters::escapeHtml($item->honorar ? $item->honorar . ",- Kč" : "zdarma", ENT_NOQUOTES);
                    ?>
</a></td>
			<?php 
                    if ($item->dokonceno) {
                        ?>
<td class="dokonceno"><a href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("state!", array(0, $item->prio_id)), ENT_COMPAT);
                        ?>
"><span class="done"><i class="fa fa-check"></i></span></a></td>
			<?php 
                    } else {
                        ?>
<td class="dokonceno"><a href="<?php 
                        echo Latte\Runtime\Filters::escapeHtml($_control->link("paid!", array($item->zaplaceno, $item->prio_id)), ENT_COMPAT);
                        ?>
"><span class="unfinished"><i class="fa fa-exclamation"></i></span></a></td><?php 
                    }
                    ?>

			<td class="smazat"><a class="delete" onclick="return confirm('Opravdu chcete smazat tuto zakázku?')" href="<?php 
                    echo Latte\Runtime\Filters::escapeHtml($_control->link("delete!", array($item->prio_id)), ENT_COMPAT);
                    ?>
"><i class="fa fa-close"></i></a></td>
		</tr>
<?php 
                    $iterations++;
                }
                ?>
		<tr class="color debt">
			<td>DLUH</td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td class="sum"><?php 
                echo Latte\Runtime\Filters::escapeHtml($owed ? $owed : "0", ENT_NOQUOTES);
                ?>
,- Kč</td>
			<td></td>
			<td></td>
			<td></td>
		</tr>
		<tr class="color paid">
			<td>ZAPLACENO</td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td class="sum"><?php 
                echo Latte\Runtime\Filters::escapeHtml($paid ? $paid : "0", ENT_NOQUOTES);
                ?>
,- Kč</td>
			<td></td>
			<td></td>
			<td></td>
		</tr>
	</table>
	<!-- TABLE END -->
<?php 
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lb4a54465b79_title')) {
            function _lb4a54465b79_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
<h2><?php 
                echo Latte\Runtime\Filters::escapeHtml($name, ENT_NOQUOTES);
                ?>
</h2><?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('2b74abefd1', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block content
        //
        if (!function_exists($_b->blocks['content'][] = '_lbf8a2f4caff_content')) {
            function _lbf8a2f4caff_content($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                call_user_func(reset($_b->blocks['title']), $_b, get_defined_vars());
                ?>
	<form<?php 
                echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_control["signInForm"], array(), FALSE);
                ?>
>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Uživatelské jméno</span>
				<input placeholder="Uživatelské jméno..." class="form-control" aria-describedby="basic-addon1"<?php 
                $_input = $_form["username"];
                echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                ?>
>
		</div>
		<br>
		<div class="input-group">
			<span class="input-group-addon" id="basic-addon1">Heslo</span>
			<input placeholder="Heslo..." class="form-control" aria-describedby="basic-addon1"<?php 
                $_input = $_form["password"];
                echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('placeholder' => NULL, 'class' => NULL, 'aria-describedby' => NULL))->attributes();
                ?>
>
		</div>
		<br>
		<div class="checkbox">
			<label>
				<input<?php 
                $_input = $_form["remember"];
                echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->attributes();
                ?>
> Pamatovat si mě
			</label>
		</div>
		<br>
		<button class="btn btn-primary btn-lg btn-block"<?php 
                $_input = $_form["submit"];
                echo $_input->{method_exists($_input, 'getControlPart') ? 'getControlPart' : 'getControl'}()->addAttributes(array('class' => NULL))->attributes();
                ?>
>Odeslat</button>
	<?php 
                echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd($_form, FALSE);
                ?>
</form>
<?php 
            }
        }
        //
        // block title
        //
        if (!function_exists($_b->blocks['title'][] = '_lbf97a59f0c6_title')) {
            function _lbf97a59f0c6_title($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<h2>Přihlásit se</h2>
<?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\UIMacros::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());
    }
    function render()
    {
        foreach ($this->params as $__k => $__v) {
            ${$__k} = $__v;
        }
        unset($__k, $__v);
        // prolog Latte\Macros\CoreMacros
        list($_b, $_g, $_l) = $template->initialize('13ee31eceb', 'html');
        // prolog Latte\Macros\BlockMacros
        //
        // block head
        //
        if (!function_exists($_b->blocks['head'][] = '_lbe4671ec652_head')) {
            function _lbe4671ec652_head($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
            }
        }
        //
        // block scripts
        //
        if (!function_exists($_b->blocks['scripts'][] = '_lb503be9b662_scripts')) {
            function _lb503be9b662_scripts($_b, $_args)
            {
                foreach ($_args as $__k => $__v) {
                    ${$__k} = $__v;
                }
                ?>
	<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
	<script src="//nette.github.io/resources/js/netteForms.min.js"></script>
	<script src="<?php 
                echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
                ?>
/js/main.js"></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\UIMacros::renderSnippets($_control, $_b, get_defined_vars());
        }
        //
        // main template
        //
        ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title><?php 
        if (isset($_b->blocks["title"])) {
            ob_start();
            Latte\Macros\BlockMacrosRuntime::callBlock($_b, 'title', $template->getParameters());
            echo $template->striptags(ob_get_clean());
            ?>
 | <?php 
        }
        ?>
Nette Sandbox</title>

	<link rel="stylesheet" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/css/style.css">
	<link rel="shortcut icon" href="<?php 
        echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT);
        ?>
/favicon.ico">
	<meta name="viewport" content="width=device-width">
	<?php 
        if ($_l->extends) {
            ob_end_clean();
            return $template->renderChildTemplate($_l->extends, get_defined_vars());
        }
        call_user_func(reset($_b->blocks['head']), $_b, get_defined_vars());
        ?>

</head>

<body>
<?php 
        $iterations = 0;
        foreach ($flashes as $flash) {
            ?>
	<div<?php 
            if ($_l->tmp = array_filter(array('flash', $flash->type))) {
                echo ' class="' . Latte\Runtime\Filters::escapeHtml(implode(" ", array_unique($_l->tmp)), ENT_COMPAT) . '"';
            }
            ?>
><?php 
            echo Latte\Runtime\Filters::escapeHtml($flash->message, ENT_NOQUOTES);
            ?>
</div>
<?php 
            $iterations++;
        }
        ?>

<?php 
        Latte\Macros\BlockMacrosRuntime::callBlock($_b, 'content', $template->getParameters());
        ?>

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