217 lines
8.7 KiB
PHP
217 lines
8.7 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2020-04-15 19:41:51
|
|
from "D:\makl\wamp\www\conference\dev\src\Admin\template\index.tpl" */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.30',
|
|
'unifunc' => 'content_5e97637f0d9b45_74921377',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'49e33bf84e9ad61017d1d44f90c777ee1fc1fa0f' =>
|
|
array (
|
|
0 => 'D:\\makl\\wamp\\www\\conference\\dev\\src\\Admin\\template\\index.tpl',
|
|
1 => 1586979707,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_5e97637f0d9b45_74921377 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if (!is_callable('smarty_function_url')) require_once 'D:\\makl\\wamp\\www\\conference\\dev\\src\\core\\plugins\\Smarty\\function.url.php';
|
|
?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
|
|
<title><?php echo $_smarty_tpl->tpl_vars['pageTitle']->value;?>
|
|
</title>
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/css/Admin/style.css" />
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/css/Admin/style2.css" />
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/css/Admin/styleUP.css" />
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/css/jquery-ui.css"/ >
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/css/jquery.datetimepicker.css"/ >
|
|
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/css/drag-drop-folder-tree.css" type="text/css"></link>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-Language" content="pl" />
|
|
<?php
|
|
$__section_s_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_s']) ? $_smarty_tpl->tpl_vars['__smarty_section_s'] : false;
|
|
$__section_s_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['javaScript']->value) ? count($_loop) : max(0, (int) $_loop));
|
|
$__section_s_0_total = $__section_s_0_loop;
|
|
$_smarty_tpl->tpl_vars['__smarty_section_s'] = new Smarty_Variable(array());
|
|
if ($__section_s_0_total != 0) {
|
|
for ($__section_s_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_s']->value['index'] = 0; $__section_s_0_iteration <= $__section_s_0_total; $__section_s_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_s']->value['index']++){
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['javaScript']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_s']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_s']->value['index'] : null)]['file'] != '') {?>
|
|
<?php echo '<script'; ?>
|
|
src="<?php echo $_smarty_tpl->tpl_vars['javaScript']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_s']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_s']->value['index'] : null)]['file'];?>
|
|
" type="text/javascript" charset="utf-8"><?php echo '</script'; ?>
|
|
>
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->tpl_vars['javaScript']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_s']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_s']->value['index'] : null)]['code'] != '') {?>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
<!-- <![CDATA[
|
|
<?php echo $_smarty_tpl->tpl_vars['javaScript']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_s']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_s']->value['index'] : null)]['code'];?>
|
|
|
|
// ]]> -->
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<?php }?>
|
|
<?php
|
|
}
|
|
}
|
|
if ($__section_s_0_saved) {
|
|
$_smarty_tpl->tpl_vars['__smarty_section_s'] = $__section_s_0_saved;
|
|
}
|
|
?>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
var LinkUrl = '<?php echo smarty_function_url(array('Structure'=>'link'),$_smarty_tpl);?>
|
|
';
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</head>
|
|
<body>
|
|
<div class="titleHeader">
|
|
<a href="index.html"><img src="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/image/Admin/logoCms.gif" alt="" title="" border="0"/> PANEL ADMINISTRACYJNY</a>
|
|
<div style="float: right; display: none;">
|
|
<form action="<?php echo smarty_function_url(array('Structure'=>'ChangeLang'),$_smarty_tpl);?>
|
|
" method="post">
|
|
<select id="lang" name="lang" onchange="submit();">
|
|
<option value="pl" <?php if ($_smarty_tpl->tpl_vars['lang']->value == 'pl') {?>selected<?php }?>>Polski</option>
|
|
<option value="en" <?php if ($_smarty_tpl->tpl_vars['lang']->value == 'en') {?>selected<?php }?>>English</option>
|
|
</select>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- TOP NAV -->
|
|
<ul class="tabs">
|
|
|
|
|
|
<li><a href="<?php echo smarty_function_url(array('Calc'=>'Index'),$_smarty_tpl);?>
|
|
" class="<?php if ($_smarty_tpl->tpl_vars['titleAdmin']->value == 'Formularz') {?>selected<?php }?>">Formularz</a></li>
|
|
<li><a href="<?php echo smarty_function_url(array('Setup'=>'Index'),$_smarty_tpl);?>
|
|
" class="<?php if ($_smarty_tpl->tpl_vars['titleAdmin']->value == 'Administracja') {?>selected<?php }?>">Administracja</a></li>
|
|
<li><a href="<?php echo smarty_function_url(array('Login'=>'logout'),$_smarty_tpl);?>
|
|
" class="<?php if ($_smarty_tpl->tpl_vars['titleAdmin']->value == 'Logowanie') {?>selected<?php }?>">Wyloguj</a></li>
|
|
</ul>
|
|
<!-- END TOP NAV -->
|
|
|
|
<div class="cb"></div>
|
|
<!-- MAIN FRAME -->
|
|
<div class="mainContentFrame">
|
|
<!-- SIDE MENU -->
|
|
|
|
<div class="sideMenuContainer">
|
|
<!-- SIDE MENU OPTION -->
|
|
|
|
|
|
|
|
<!-- SIDE MENU OPTION -->
|
|
<div class="sideMenu">
|
|
<h2><a href="#"><img align="absmiddle" src="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/image/Admin/expand.gif" alt="konto" /><?php echo $_smarty_tpl->tpl_vars['titleAdmin']->value;?>
|
|
</a></h2>
|
|
<div class="section">
|
|
<div class="sideMenuIcons">
|
|
<?php if (isset($_smarty_tpl->tpl_vars['showIcon']->value) && $_smarty_tpl->tpl_vars['showIcon']->value == true) {?>
|
|
<div class="overflow">
|
|
<a href="<?php echo smarty_function_url(array('Structure'=>'New'),$_smarty_tpl);?>
|
|
" ><img src="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/image/Admin/icon1.gif" border="0" title="Dodaj element" alt="Dodaj element"/></a>
|
|
|
|
<a href="<?php echo smarty_function_url(array('structure'=>'delete'),$_smarty_tpl);?>
|
|
" onclick="if (confirm('Czy napewno usunąć ten element?')) {} else {return false;}"><img src="<?php echo $_smarty_tpl->tpl_vars['urlStatic']->value;?>
|
|
/image/Admin/icon0.gif" border="0" title="Usuń element" alt="Usuń element"/></a>
|
|
|
|
<?php if (!$_smarty_tpl->tpl_vars['idStucture']->value) {
|
|
$_smarty_tpl->_assignInScope('idStucture', -1);
|
|
}?>
|
|
|
|
|
|
<div class="cb"></div>
|
|
<div class="paddedContent"></div>
|
|
</div>
|
|
|
|
|
|
<div class="framePopver" id="stucturePopover" style="display: none; background: #ffffff;">
|
|
<form action="<?php echo smarty_function_url(array('Structure'=>'Add'),$_smarty_tpl);?>
|
|
" method="post" id="sendModule" enctype="multipart/form-data" >
|
|
<div class="panelPopoverTop"><b>Utwórz stronę</b></div>
|
|
<div class="panelPopoverContent">
|
|
<div class="floatLeft frameLeftPopover">
|
|
Podaj nazwę:
|
|
</div>
|
|
<input type="text" name="title" />
|
|
</div>
|
|
|
|
<div class="panelPopoverContent">
|
|
|
|
<div class="floatLeft frameLeftPopover">
|
|
Wybierz rodzaj strony:
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="panelPopoverBottom">
|
|
|
|
|
|
<div class="cb"></div>
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<?php } else { ?>
|
|
<div class="title" style="margin-bottom:5px; "><font class="blue"><?php echo $_smarty_tpl->tpl_vars['titleAdmin']->value;?>
|
|
</font></div>
|
|
|
|
<?php }?>
|
|
</div>
|
|
<?php echo $_smarty_tpl->tpl_vars['structure']->value;?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="cb"></div>
|
|
</div>
|
|
|
|
<!-- END SIDE MENU -->
|
|
<div class="mainContent">
|
|
<?php if (isset($_smarty_tpl->tpl_vars['info']->value) && $_smarty_tpl->tpl_vars['info']->value != 'wybrana strona nie istnieje') {?>
|
|
<div class="<?php if ($_smarty_tpl->tpl_vars['type']->value && $_smarty_tpl->tpl_vars['type']->value == 'error') {?>messageError<?php } elseif ($_smarty_tpl->tpl_vars['type']->value == 'info') {?>messageInfo<?php } else { ?>messageOk<?php }?>"><?php echo $_smarty_tpl->tpl_vars['info']->value;?>
|
|
</div>
|
|
<?php }?>
|
|
<div id="infoMessage"></div>
|
|
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
|
|
|
|
<!-- /panelRight -->
|
|
</div>
|
|
|
|
<div class="cb"></div>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html><?php }
|
|
}
|