function content_567675b7a0af45_08708021($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['msg']->value, 'type' => "info"), $_smarty_tpl); ?> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value, 'type' => "error"), $_smarty_tpl); ?> <form class="form-horizontal" id="form-1" role="form" method="post"> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1"> Přihlašovací jméno </label> <div class="col-sm-8"> <input type="text" id="form-field-1" placeholder="Přihlašovací jméno" name="login" value="<?php echo $_POST['login']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-2"> Heslo </label> <div class="col-sm-8"> <input type="password" id="form-field-2" placeholder="Heslo" name="password" /> <span class="help-inline"> <span class="middle">Heslo musí obsahovat minimálně 4 znaky</span> </span> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-3"> Zopakovat heslo </label> <div class="col-sm-8"> <input type="password" id="form-field-3" placeholder="Zopakovat heslo" name="password_again" /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-4"> Jméno uživatele </label> <div class="col-sm-8"> <input type="text" id="form-field-4" placeholder="Jméno" name="jmeno" value="<?php echo $_POST['jmeno']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-5"> Příjmení uživatele </label> <div class="col-sm-8"> <input type="text" id="form-field-5" placeholder="Příjmení" name="prijmeni" value="<?php echo $_POST['prijmeni']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-5"> Email uživatele </label> <div class="col-sm-8"> <input type="text" id="form-field-5" placeholder="*****@*****.**" name="email" value="<?php echo $_POST['email']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-select-1"> Oprávnění </label> <div class="col-sm-8"> <select id="form-field-select-1" name="uzivatelOpravneni_id"> <option value=""> Vyber</option> <?php $_from = $_smarty_tpl->tpl_vars['option']->value['opravneni']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $__foreach_it_0_saved_item = isset($_smarty_tpl->tpl_vars['it']) ? $_smarty_tpl->tpl_vars['it'] : false; $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable(); $__foreach_it_0_total = $_smarty_tpl->smarty->ext->_foreach->count($_from); if ($__foreach_it_0_total) { foreach ($_from as $_smarty_tpl->tpl_vars['it']->value) { $__foreach_it_0_saved_local_item = $_smarty_tpl->tpl_vars['it']; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['it']->value['id']; ?> "<?php if ((($tmp = @$_POST['uzivatelOpravneni_id']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['uzivatelOpravneni_id'] : $tmp) == $_smarty_tpl->tpl_vars['it']->value['id']) { ?> selected="selected"<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['it']->value['nazev']; ?> </option> <?php $_smarty_tpl->tpl_vars['it'] = $__foreach_it_0_saved_local_item; } } if ($__foreach_it_0_saved_item) { $_smarty_tpl->tpl_vars['it'] = $__foreach_it_0_saved_item; } ?> </select> </div> </div> <div class="space-4"></div> <div class="clearfix form-actions col-sm-12"> <div class="col-sm-offset-3 col-sm-9"> <button class="btn btn-info" data-submitform="1" data-submitvalue="new" type="button"> <i class="icon-ok bigger-110"></i> Uložit </button> <button class="btn" type="reset"> <i class="icon-undo bigger-110"></i> Smazat </button> </div> </div> <input id="submitValue1" type="hidden" name="submitValue" value="" /> </form><?php }
function content_56766868e32667_36483552($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['msg']->value, 'type' => "info"), $_smarty_tpl); ?> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value, 'type' => "error"), $_smarty_tpl); ?> <form class="form-horizontal" id="form-1" role="form" method="post"> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right red" for="form-field-1"> Název:</label> <div class="col-sm-8"> <input type="text" id="form-field-1" placeholder="Název modulu" name="def[nazev]" value="<?php echo $_POST['def']['nazev']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right red" for="form-field-2"> Odkazovaná stránka: </label> <div class="col-sm-8"> <input type="text" id="form-field-2" placeholder="Stránka" name="def[page]" value="<?php echo $_POST['def']['page']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-3"> Ikona: </label> <div class="col-sm-8"> <input type="text" id="form-field-3" placeholder="Název ikony" name="def[icon]" value="<?php echo $_POST['def']['icon']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-4"> Nadpis: </label> <div class="col-sm-8"> <input type="text" id="form-field-4" placeholder="Nadpis" name="def[nadpis]" value="<?php echo $_POST['def']['nadpis']; ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-select-1"> Nadřazený modul: </label> <div class="col-sm-8"> <select id="form-field-select-1" name="modul_id"> <option value="">Bez nadřazeného modulu</option> <optgroup label="Hlavní moduly"> <?php $_from = $_smarty_tpl->tpl_vars['option']->value['modul']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $__foreach_it_0_saved_item = isset($_smarty_tpl->tpl_vars['it']) ? $_smarty_tpl->tpl_vars['it'] : false; $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable(); $__foreach_it_0_total = $_smarty_tpl->smarty->ext->_foreach->count($_from); if ($__foreach_it_0_total) { foreach ($_from as $_smarty_tpl->tpl_vars['it']->value) { $__foreach_it_0_saved_local_item = $_smarty_tpl->tpl_vars['it']; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['it']->value['id']; ?> "<?php if ($_POST['modul_id'] == $_smarty_tpl->tpl_vars['it']->value['id']) { ?> selected="selected"<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['it']->value['nazev']; ?> </option> <?php $_smarty_tpl->tpl_vars['it'] = $__foreach_it_0_saved_local_item; } } if ($__foreach_it_0_saved_item) { $_smarty_tpl->tpl_vars['it'] = $__foreach_it_0_saved_item; } ?> </optgroup> </select> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-5"> Zobrazovat </label> <div class="col-sm-8"> <input class="ace ace-switch ace-switch-6" type="checkbox" id="form-field-5" name="def[zobraz]" value="2" <?php if ($_POST['def']['zobraz'] == '2') { ?> checked="checked"<?php } ?> /> <span class="lbl"></span> </div> </div> <div class="space-4"></div> <div class="clearfix form-actions col-sm-12"> <div class="col-sm-offset-3 col-sm-9"> <button class="btn btn-info" data-submitform="1" data-submitvalue="new" type="button"> <i class="icon-ok bigger-110"></i> Uložit </button> <button class="btn" type="reset"> <i class="icon-undo bigger-110"></i> Smazat </button> </div> </div> <input id="submitValue1" type="hidden" name="submitValue" value="" /> </form><?php }
function content_5675303226af21_29177235($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } ?> <div class="row"> <div class="col-sm-6"> <div class="widget-box"> <div class="widget-header"> <h4>Základní informace</h4> </div> <div class="widget-body"> <div class="widget-main no-padding"> <form action="<?php echo $_smarty_tpl->tpl_vars['setup']->value['adm']['www']; ?> profil/nastaveni.html" method="post" class="form-horizontal"> <fieldset> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value['info'], 'type' => "error"), $_smarty_tpl); ?> <?php if ($_GET['msgOk'] == 'info') { ?> <?php echo smarty_function_message(array('msg' => "Údaje byly uloženy.", 'type' => "success"), $_smarty_tpl); ?> <?php } ?> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right">Přihlašovací jméno:</label> <div class="col-sm-8"> <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['user']->value['login']; ?> </p> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right">Uživatel:</label> <div class="col-sm-8"> <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['user']->value['nick']; ?> </p> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1">Email uživatele:</label> <div class="col-sm-8"> <input id="form-field-1" type="text" name="email" value="<?php echo ($tmp = @$_POST['email']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['email'] : $tmp; ?> " /> </div> </div> </fieldset> <div class="form-actions center"> <button type="submit" class="btn btn-sm btn-success" name="edit" value="Uložit"> Uložit <i class="icon-arrow-right icon-on-right bigger-110"></i> </button> </div> </form> </div> </div> </div> </div> </div><?php }
function content_5676845cd529f5_81771022($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } ?> <div class="row"> <div class="col-sm-6"> <div class="widget-box"> <div class="widget-header"> <h4>Základní informace</h4> </div> <div class="widget-body"> <div class="widget-main no-padding"> <form action="" method="post" class="form-horizontal"> <fieldset> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value['info'], 'type' => "error"), $_smarty_tpl); ?> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1">Jméno společnosti:</label> <div class="col-sm-8"> <input id="form-field-1" type="text" name="login" value="<?php echo ($tmp = @$_POST['login']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['company']->value['company_name'] : $tmp; ?> " /> </div> </div> </fieldset> <div class="form-actions center"> <button type="submit" class="btn btn-sm btn-success" name="edit" value="Uložit"> Uložit <i class="icon-arrow-right icon-on-right bigger-110"></i> </button> </div> </form> </div> </div> </div> </div> <div class="col-sm-6"> <div class="widget-box"> <div class="widget-header"> <h4>Heslo</h4> </div> <div class="widget-body"> <div class="widget-main no-padding"> <form action="" method="post" class="form-horizontal"> <fieldset> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value['pass'], 'type' => "error"), $_smarty_tpl); ?> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-6"> Heslo </label> <div class="col-sm-8"> <input type="password" id="form-field-6" placeholder="Heslo" name="password" /> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-7"> Zopakovat heslo </label> <div class="col-sm-8"> <input type="password" id="form-field-7" placeholder="Zopakovat heslo" name="password_again" /> </div> </div> </fieldset> <div class="form-actions center"> <button type="submit" class="btn btn-sm btn-success" name="change_pass" value="Uložit"> Uložit <i class="icon-arrow-right icon-on-right bigger-110"></i> </button> </div> </form> </div> </div> </div> </div> </div><?php }
function content_56768f6b509db8_83441523($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } ?> <!DOCTYPE html> <html lang="cs"> <head> <meta charset="utf-8" /> <title>Přihlašovací stránka - Lamps administrace</title> <meta name="description" content="Uživatelská přihlašovací stránka" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="shortcut icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['setup']->value['adm']['www']; ?> favicon.jpg" /> <!-- basic styles --> <link href="assets/css/bootstrap.min.css" rel="stylesheet" /> <link rel="stylesheet" href="assets/css/font-awesome.min.css" /> <!--[if IE 7]> <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" /> <![endif]--> <!-- page specific plugin styles --> <!-- fonts --> <link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,300,400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'> <!-- ace styles --> <link rel="stylesheet" href="assets/css/ace.min.css" /> <link rel="stylesheet" href="assets/css/ace-rtl.min.css" /> <!--[if lte IE 8]> <link rel="stylesheet" href="assets/css/ace-ie.min.css" /> <![endif]--> <!-- inline styles related to this page --> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <?php echo '<script'; ?> src="assets/js/html5shiv.js"><?php echo '</script'; ?> > <?php echo '<script'; ?> src="assets/js/respond.min.js"><?php echo '</script'; ?> > <![endif]--> </head> <body class="login-layout"> <div class="main-container"> <div class="main-content"> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <div class="login-container"> <div class="center"> <h1> <i class="icon-leaf green"></i> <span class="red">Lamps</span> <span class="white">Administrace</span> </h1> <h4 class="blue">© Company</h4> </div> <div class="space-6"></div> <div class="position-relative"> <div id="login-box" class="login-box visible widget-box no-border"> <div class="widget-body"> <div class="widget-main"> <h4 class="header blue lighter bigger"> <i class="icon-coffee green"></i> Prosím zadejte své údaje </h4> <div class="space-6"></div> <form method="post"> <fieldset> <label class="block clearfix"> <span class="block input-icon input-icon-right"> <input name="login" type="text" class="form-control" placeholder="Přihlašovací jméno" /> <i class="icon-user"></i> </span> </label> <label class="block clearfix"> <span class="block input-icon input-icon-right"> <input name="password" type="password" class="form-control" placeholder="Heslo" /> <i class="icon-lock"></i> </span> </label> <div class="space"></div> <div class="clearfix"> <button type="submit" class="width-35 pull-right btn btn-sm btn-primary"> Přihlásit </button> </div> <div class="space-4"></div> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value, 'type' => "error"), $_smarty_tpl); ?> </fieldset> </form> </div><!-- /widget-main --> <div class="toolbar clearfix"> </div> </div><!-- /widget-body --> </div><!-- /login-box --> </div><!-- /position-relative --> </div> </div><!-- /.col --> </div><!-- /.row --> </div> </div><!-- /.main-container --> <!-- basic scripts --> <!--[if !IE]> --> <?php echo '<script'; ?> type="text/javascript"> window.jQuery || document.write("<?php echo '<script'; ?> src='assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>"); <?php echo '</script'; ?> > <!-- <![endif]--> <!--[if IE]> <?php echo '<script'; ?> type="text/javascript"> window.jQuery || document.write("<?php echo '<script'; ?> src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>"); <?php echo '</script'; ?> > <![endif]--> <?php echo '<script'; ?> type="text/javascript"> if ("ontouchend" in document) document.write("<?php echo '<script'; ?> src='assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>"); <?php echo '</script'; ?> > <!-- inline scripts related to this page --> </body> </html><?php }
function content_567690fbc44d58_12248402($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } ?> <div class="row"> <div class="col-sm-6"> <div class="widget-box"> <div class="widget-header"> <h4>Základní informace</h4> </div> <div class="widget-body"> <div class="widget-main no-padding"> <form action="" method="post" class="form-horizontal"> <fieldset> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value['info'], 'type' => "error"), $_smarty_tpl); ?> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-1">Přihlašovací jméno:</label> <div class="col-sm-8"> <input id="form-field-1" type="text" name="login" value="<?php echo ($tmp = @$_POST['login']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['login'] : $tmp; ?> " /> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-2">Jméno uživatele:</label> <div class="col-sm-8"> <input id="form-field-2" type="text" name="jmeno" value="<?php echo ($tmp = @$_POST['jmeno']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['jmeno'] : $tmp; ?> " /> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-3">Příjmení uživatele:</label> <div class="col-sm-8"> <input id="form-field-3" type="text" name="prijmeni" value="<?php echo ($tmp = @$_POST['prijmeni']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['prijmeni'] : $tmp; ?> " /> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-4">Email uživatele:</label> <div class="col-sm-8"> <input id="form-field-4" type="text" name="email" value="<?php echo ($tmp = @$_POST['email']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['email'] : $tmp; ?> " /> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-select-1">Oprávnění:</label> <div class="col-sm-8"> <select id="form-field-select-1" name="uzivatelOpravneni_id"> <option value=""> Vyber</option> <?php $_from = $_smarty_tpl->tpl_vars['option']->value['opravneni']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $__foreach_it_0_saved_item = isset($_smarty_tpl->tpl_vars['it']) ? $_smarty_tpl->tpl_vars['it'] : false; $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable(); $__foreach_it_0_total = $_smarty_tpl->smarty->ext->_foreach->count($_from); if ($__foreach_it_0_total) { foreach ($_from as $_smarty_tpl->tpl_vars['it']->value) { $__foreach_it_0_saved_local_item = $_smarty_tpl->tpl_vars['it']; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['it']->value['id']; ?> "<?php if ((($tmp = @$_POST['uzivatelOpravneni_id']) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['user']->value['uzivatelOpravneni_id'] : $tmp) == $_smarty_tpl->tpl_vars['it']->value['id']) { ?> selected="selected"<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['it']->value['nazev']; ?> </option> <?php $_smarty_tpl->tpl_vars['it'] = $__foreach_it_0_saved_local_item; } } if ($__foreach_it_0_saved_item) { $_smarty_tpl->tpl_vars['it'] = $__foreach_it_0_saved_item; } ?> </select> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-5"> Blokace </label> <div class="col-sm-8"> <input type="checkbox" id="form-field-5" name="blokace" value="2"<?php if ($_smarty_tpl->tpl_vars['user']->value['blokace'] == 2) { ?> checked="checked"<?php } ?> /> </div> </div> </fieldset> <div class="form-actions center"> <button type="submit" class="btn btn-sm btn-success" name="edit" value="Uložit"> Uložit <i class="icon-arrow-right icon-on-right bigger-110"></i> </button> </div> </form> </div> </div> </div> </div> <div class="col-sm-6"> <div class="widget-box"> <div class="widget-header"> <h4>Heslo</h4> </div> <div class="widget-body"> <div class="widget-main no-padding"> <form action="" method="post" class="form-horizontal"> <fieldset> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value['pass'], 'type' => "error"), $_smarty_tpl); ?> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-6"> Heslo </label> <div class="col-sm-8"> <input type="password" id="form-field-6" placeholder="Heslo" name="password" /> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label no-padding-right" for="form-field-7"> Zopakovat heslo </label> <div class="col-sm-8"> <input type="password" id="form-field-7" placeholder="Zopakovat heslo" name="password_again" /> </div> </div> </fieldset> <div class="form-actions center"> <button type="submit" class="btn btn-sm btn-success" name="change_pass" value="Uložit"> Uložit <i class="icon-arrow-right icon-on-right bigger-110"></i> </button> </div> </form> </div> </div> </div> </div> </div><?php }
function content_5675f32db670b7_39904771($_smarty_tpl) { if (!is_callable('smarty_function_message')) { require_once '/var/www/wordpress/lamps.lightmaster.cz/www3/smarty/plugins/function.message.php'; } echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['msg']->value, 'type' => "info"), $_smarty_tpl); ?> <?php echo smarty_function_message(array('msg' => $_smarty_tpl->tpl_vars['err']->value, 'type' => "error"), $_smarty_tpl); ?> <form class="form-horizontal" id="form-1" role="form" method="post"> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right red" for="form-field-1"> Název: </label> <div class="col-sm-8"> <input type="text" id="form-field-1" placeholder="Název" name="def[nazev]" value="<?php if ($_POST) { echo $_POST['def']['nazev']; } else { echo $_smarty_tpl->tpl_vars['edit']->value['nazev']; } ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right red" for="form-field-2"> Odkazovaná stránka: </label> <div class="col-sm-8"> <input type="text" id="form-field-2" placeholder="Stránka" name="def[page]" value="<?php if ($_POST) { echo $_POST['def']['page']; } else { echo $_smarty_tpl->tpl_vars['edit']->value['page']; } ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-3"> Ikona: </label> <div class="col-sm-8"> <input type="text" id="form-field-3" placeholder="Název ikony" name="def[icon]" value="<?php if ($_POST) { echo $_POST['def']['icon']; } else { echo $_smarty_tpl->tpl_vars['edit']->value['icon']; } ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-4"> Nadpis: </label> <div class="col-sm-8"> <input type="text" id="form-field-4" placeholder="Nadpis" name="def[nadpis]" value="<?php if ($_POST) { echo $_POST['def']['nadpis']; } else { echo $_smarty_tpl->tpl_vars['edit']->value['nadpis']; } ?> " /> </div> </div> <div class="space-4"></div> <div class="form-group col-sm-12"> <label class="col-sm-4 control-label no-padding-right" for="form-field-5"> Zobrazovat </label> <div class="col-sm-8"> <input class="ace ace-switch ace-switch-6" type="checkbox" id="form-field-5" name="zobraz" value="2"<?php if ($_POST) { if ($_POST['zobraz'] == '2') { ?> checked="checked"<?php } } elseif ($_smarty_tpl->tpl_vars['edit']->value['zobraz'] == 2) { ?> checked="checked"<?php } ?> /> <span class="lbl"></span> </div> </div> <div class="space-4"></div> <div class="clearfix form-actions col-sm-12"> <div class="col-sm-offset-3 col-sm-9"> <button class="btn btn-info" data-submitform="1" data-submitvalue="new" type="button"> <i class="icon-ok bigger-110"></i> Uložit </button> </div> </div> <input id="submitValue1" type="hidden" name="submitValue" value="" /> </form><?php }