<?php
/* Smarty version 3.1.30, created on 2018-02-12 10:49:54
  from "/home/users/spine/public_html/decydownik/module/listing.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_5a816342043b24_43241787',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '8544fc9d877408b99815b9f0e86b7e6ccb4b5b57' => 
    array (
      0 => '/home/users/spine/public_html/decydownik/module/listing.tpl',
      1 => 1518359774,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:tpl/orders.tpl' => 1,
    'file:tpl/str_dashboard.tpl' => 1,
  ),
),false)) {
function content_5a816342043b24_43241787 (Smarty_Internal_Template $_smarty_tpl) {
?>
    <input type="hidden" name="%%JS_HELPER%%" class="orderUrl" value="<?php echo core::$i->url;?>
/index.php?mode=<?php echo core::$i->mode;?>
" />
    <?php $_smarty_tpl->_subTemplateRender("file:tpl/orders.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <?php echo statement::display();?>

    <?php if ($_smarty_tpl->tpl_vars['listing']->value->filter) {?>
        <div class="p10">
            <a href="<?php echo core::$i->url;?>
/?mode=<?php echo core::$i->mode;?>
&function=<?php echo core::$i->function;?>
" class="btn btn-danger"><i class="fa fa-trash"></i> <?php echo l('Usuń filtr');?>
</a>
        </div>
    <?php }?>
    <?php if ($_smarty_tpl->tpl_vars['listing']->value->items) {?>
    <form method="post" action="<?php echo core::$i->url;?>
/">
       <input type="hidden" name="mode" value="<?php echo core::$i->mode;?>
" />
       <input type="hidden" name="function" value="series" />
       <table class="table table-striped">
            <thead>
                <tr>
                    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['listing']->value->fields, 'item', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
?>
                    <?php if (row_details::is_visibility($_smarty_tpl->tpl_vars['key']->value)) {?><td><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</td><?php }?>
                    <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

                    <?php if (!listing::$i->hide_options_cell) {?><td class="tac"><?php echo l('Opcje');?>
</td><?php }?>
                </tr>
            </thead>
            <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['listing']->value->items, 'item');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
?>
            <tr>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['item']->value['display'], 'element', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['element']->value) {
?>
                <?php if (row_details::is_visibility($_smarty_tpl->tpl_vars['key']->value)) {?><td class="tac"><?php echo $_smarty_tpl->tpl_vars['element']->value;?>
</td><?php }?>
                <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

                <?php if (!listing::$i->hide_options_cell) {?><td width="100" class="tac"><?php echo $_smarty_tpl->tpl_vars['item']->value['options']['display'];?>
</td><?php }?>
            </tr>
            <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

        </table>
        <?php $_smarty_tpl->_subTemplateRender("file:tpl/str_dashboard.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    </form>
    
    <?php }
}
}
