120 lines
4.7 KiB
PHP
120 lines
4.7 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2024-02-03 21:23:07
|
|
from "/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/User/Index.tpl" */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.30',
|
|
'unifunc' => 'content_65beaebb2165e5_85152918',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'76be3e0eb2ae08e7c13a83f673bfbf997a7fedbd' =>
|
|
array (
|
|
0 => '/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/User/Index.tpl',
|
|
1 => 1703168200,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_65beaebb2165e5_85152918 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/block.dropDownContainer.php';
|
|
if (!is_callable('smarty_function_url')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/function.url.php';
|
|
?>
|
|
<div class="panelRightTop"></div>
|
|
<div class="panelRightBody">
|
|
<div class="paddedContent">
|
|
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('isClose'=>true,'isHidden'=>true,'title'=>"Wyszukiwarka"));
|
|
$_block_repeat1=true;
|
|
echo smarty_block_dropDownContainer(array('isClose'=>true,'isHidden'=>true,'title'=>"Wyszukiwarka"), null, $_smarty_tpl, $_block_repeat1);
|
|
while ($_block_repeat1) {
|
|
ob_start();
|
|
?>
|
|
|
|
<form method="post" action="">
|
|
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
|
|
<tbody>
|
|
<tr>
|
|
<td>Szukana Fraza:</td>
|
|
<td class="left"><input class="input420" type="text" class="searchString" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="right">
|
|
<input class="button" type="submit" value="Wyszukaj"/> <input class="button" name="clear" type="submit" value="Wyczyść" />
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
<?php $_block_repeat1=false;
|
|
echo smarty_block_dropDownContainer(array('isClose'=>true,'isHidden'=>true,'title'=>"Wyszukiwarka"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
|
|
}
|
|
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
|
|
|
|
|
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Słownik"));
|
|
$_block_repeat1=true;
|
|
echo smarty_block_dropDownContainer(array('title'=>"Słownik"), null, $_smarty_tpl, $_block_repeat1);
|
|
while ($_block_repeat1) {
|
|
ob_start();
|
|
?>
|
|
|
|
<table class="datagrid" cellpadding="4" cellspacing="1" border="0">
|
|
<thead>
|
|
<tr >
|
|
<th align="left">Login</th>
|
|
<th>Nazwisko</th>
|
|
<th>email</th>
|
|
<th>Rola</th>
|
|
<th>Ostatnio zalogowany</th>
|
|
<th class="light" style="width: 40px; text-align: center;"><a class="optionIcon iconAdd" title="Dodaj" href="<?php echo smarty_function_url(array('User'=>'add'),$_smarty_tpl);?>
|
|
"> </a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['userList']->value, 'item', false, 'j', 'main_items', array (
|
|
));
|
|
if ($_from !== null) {
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['j']->value => $_smarty_tpl->tpl_vars['item']->value) {
|
|
?>
|
|
<tr <?php if (!(1 & $_smarty_tpl->tpl_vars['j']->value)) {?>class="even"<?php }?>>
|
|
<td>
|
|
<b><?php echo $_smarty_tpl->tpl_vars['item']->value->GetLogin();?>
|
|
</b></td>
|
|
<td align="center"> <?php echo $_smarty_tpl->tpl_vars['item']->value->GetName();?>
|
|
</td>
|
|
<td align="center"> <?php echo $_smarty_tpl->tpl_vars['item']->value->GetEmail();?>
|
|
</td>
|
|
<td align="center"> <?php echo $_smarty_tpl->tpl_vars['item']->value->GetRole();?>
|
|
</td>
|
|
<td align="center"> <?php echo $_smarty_tpl->tpl_vars['item']->value->GetLastLogin();?>
|
|
</td>
|
|
<td align="center"> <a class="editItemTable" href="<?php echo smarty_function_url(array('User'=>'edit','id'=>$_smarty_tpl->tpl_vars['item']->value->GetId()),$_smarty_tpl);?>
|
|
">edycja</a>
|
|
<a class="deleteItemTable" href="<?php echo smarty_function_url(array('user'=>'delete','id'=>$_smarty_tpl->tpl_vars['item']->value->GetId(),'ok'=>1),$_smarty_tpl);?>
|
|
" onclick="if(confirm('Czy napewno usunąć tego użytkownika?')){return true;}else{return false;}">usuń</a> </td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
|
|
?>
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<?php $_block_repeat1=false;
|
|
echo smarty_block_dropDownContainer(array('title'=>"Słownik"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
|
|
}
|
|
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
|
|
|
</div><!-- /paddedContent -->
|
|
</div><!-- /panelRightBody -->
|
|
<div class="panelRightBottom"></div><?php }
|
|
}
|