98 lines
3.6 KiB
PHP
98 lines
3.6 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2020-04-15 19:35:23
|
|
from "D:\makl\wamp\www\conference\dev\src\Admin\template\partial\Calc\Index.tpl" */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.30',
|
|
'unifunc' => 'content_5e9761fbd4ca26_66081664',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'907de5deacdada9a90786977a4e67d2e3f13d57e' =>
|
|
array (
|
|
0 => 'D:\\makl\\wamp\\www\\conference\\dev\\src\\Admin\\template\\partial\\Calc\\Index.tpl',
|
|
1 => 1586979320,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_5e9761fbd4ca26_66081664 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if (!is_callable('smarty_block_dropDownContainer')) require_once 'D:\\makl\\wamp\\www\\conference\\dev\\src\\core\\plugins\\Smarty\\block.dropDownContainer.php';
|
|
if (!is_callable('smarty_function_url')) require_once 'D:\\makl\\wamp\\www\\conference\\dev\\src\\core\\plugins\\Smarty\\function.url.php';
|
|
?>
|
|
<h1>Konfigurator</h1>
|
|
|
|
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>'Grupy'));
|
|
$_block_repeat1=true;
|
|
echo smarty_block_dropDownContainer(array('title'=>'Grupy'), null, $_smarty_tpl, $_block_repeat1);
|
|
while ($_block_repeat1) {
|
|
ob_start();
|
|
?>
|
|
|
|
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
<tr class="selAllRow">
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
|
<th>Nazwa<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th>Cena (netto)<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th>Cena (brutto)<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort">Publikuj<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort"></div></th>
|
|
</tr>
|
|
<?php $_smarty_tpl->_assignInScope('x', 0);
|
|
?>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayObj']->value, 'obj');
|
|
if ($_from !== null) {
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['obj']->value) {
|
|
?>
|
|
<?php $_smarty_tpl->_assignInScope('x', $_smarty_tpl->tpl_vars['x']->value+1);
|
|
?>
|
|
<?php $_smarty_tpl->_assignInScope('id', $_smarty_tpl->tpl_vars['obj']->value->GetId());
|
|
?>
|
|
<tr>
|
|
|
|
<td><?php echo $_smarty_tpl->tpl_vars['x']->value;?>
|
|
</td>
|
|
<td><a href="<?php echo smarty_function_url(array('Calc'=>'Edit','id'=>$_smarty_tpl->tpl_vars['id']->value),$_smarty_tpl);?>
|
|
" title="edytuj"><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetName();?>
|
|
</a></td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetPrice();?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetPrice()*1.23;?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetPublication();?>
|
|
</td>
|
|
<td style="width:15px">
|
|
<a href="<?php echo smarty_function_url(array('Calc'=>'Edit','id'=>$_smarty_tpl->tpl_vars['id']->value),$_smarty_tpl);?>
|
|
" class="edit">edytuj</a>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
|
|
?>
|
|
|
|
<tr class="selAllRow">
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<?php $_block_repeat1=false;
|
|
echo smarty_block_dropDownContainer(array('title'=>'Grupy'), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
|
|
}
|
|
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
|
|
|
<?php }
|
|
}
|