<?php
/* Smarty version 3.1.30, created on 2017-04-04 12:22:40
  from "D:\makl\xampp\htdocs\www\2017\wod_co\dev\src\Admin\template\partial\Setup\Index.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_58e373f027da67_56319538',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '29d8c28bcfe4412329b456ce643d0bab899143dd' => 
    array (
      0 => 'D:\\makl\\xampp\\htdocs\\www\\2017\\wod_co\\dev\\src\\Admin\\template\\partial\\Setup\\Index.tpl',
      1 => 1317290277,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_58e373f027da67_56319538 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_block_dropDownContainer')) require_once 'D:\\makl\\xampp\\htdocs\\www\\2017\\wod_co\\dev\\src\\core\\plugins\\Smarty\\block.dropDownContainer.php';
if (!is_callable('smarty_function_url')) require_once 'D:\\makl\\xampp\\htdocs\\www\\2017\\wod_co\\dev\\src\\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('title'=>"Zmienne systemowe"));
$_block_repeat1=true;
echo smarty_block_dropDownContainer(array('title'=>"Zmienne systemowe"), null, $_smarty_tpl, $_block_repeat1);
while ($_block_repeat1) {
ob_start();
?>

<table align="center" class="datagrid" cellpadding="4" cellspacing="1" style="width: 500px;">
<th>Lp.</th>
<th>zmienna</th>
<th>wartość</th>
<th>opis</th>
<th class="light"><a href="<?php echo smarty_function_url(array('setup'=>'new'),$_smarty_tpl);?>
">dodaj</a></th>


<?php $_smarty_tpl->_assignInScope('x', 1);
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayVariables']->value, 'ArrayItem', false, 'k', 'array', array (
  'index' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['ArrayItem']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_array']->value['index']++;
$_smarty_tpl->_assignInScope('tVariable', $_smarty_tpl->tpl_vars['ArrayItem']->value['variable']);
?>
<tr <?php if ($_smarty_tpl->tpl_vars['x']->value == 1) {
$_smarty_tpl->_assignInScope('x', 0);
} else {
$_smarty_tpl->_assignInScope('x', 1);
?>class="even"<?php }?>>
	<td><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_foreach_array']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_array']->value['index'] : null)+1;?>
</td>
	<td><?php echo $_smarty_tpl->tpl_vars['ArrayItem']->value['variable'];?>
</td>
	<td><?php echo $_smarty_tpl->tpl_vars['ArrayItem']->value['value'];?>
</td>
	<td><?php echo $_smarty_tpl->tpl_vars['ArrayItem']->value['description'];?>
</td>
	<td><a href="<?php echo smarty_function_url(array('setup'=>'edit','variable'=>$_smarty_tpl->tpl_vars['tVariable']->value),$_smarty_tpl);?>
">edytuj</a></td>
</tr>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>



</table>
<?php $_block_repeat1=false;
echo smarty_block_dropDownContainer(array('title'=>"Zmienne systemowe"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
}
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>

</div><!-- /paddedContent -->
</div><!-- /panelRightBody -->
<div class="panelRightBottom"></div><?php }
}
