first commit
This commit is contained in:
@@ -0,0 +1,201 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.30, created on 2021-09-02 13:38:24
|
||||
from "/home/www/_rejestracja/Admin/template/partial/Calc/Reg.tpl" */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.30',
|
||||
'unifunc' => 'content_6130b7b01d1090_06507656',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'21ccdbda250a4a2f8d875ea8a5b94c315fd89859' =>
|
||||
array (
|
||||
0 => '/home/www/_rejestracja/Admin/template/partial/Calc/Reg.tpl',
|
||||
1 => 1630582695,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6130b7b01d1090_06507656 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/www/_rejestracja/core/plugins/Smarty/block.dropDownContainer.php';
|
||||
if (!is_callable('smarty_modifier_replace')) require_once '/home/www/_rejestracja/core/lib/Smarty3/plugins/modifier.replace.php';
|
||||
if (!is_callable('smarty_modifier_truncate')) require_once '/home/www/_rejestracja/core/lib/Smarty3/plugins/modifier.truncate.php';
|
||||
if (!is_callable('smarty_function_url')) require_once '/home/www/_rejestracja/core/plugins/Smarty/function.url.php';
|
||||
?>
|
||||
<h1>Konferencja - Rejestracja</h1>
|
||||
|
||||
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>'Zgłoszenia Rejestracji'));
|
||||
$_block_repeat1=true;
|
||||
echo smarty_block_dropDownContainer(array('title'=>'Zgłoszenia Rejestracji'), 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>Imię</th>
|
||||
<th>Nazwisko</th>
|
||||
<th>Dane uczestnika</th>
|
||||
<th>Dane instytucji</th>
|
||||
<th>Dane wystąpienia</th>
|
||||
<th>Do zapłaty</th>
|
||||
<th>Zgody</th>
|
||||
<th>Status opłaty</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());
|
||||
?>
|
||||
<?php $_smarty_tpl->_assignInScope('arrayFee', $_smarty_tpl->tpl_vars['obj']->value->getFeeFullUnserialize());
|
||||
?>
|
||||
<?php if (isset($_smarty_tpl->tpl_vars['arrayFee']->value['disc'])) {?>
|
||||
<?php $_smarty_tpl->_assignInScope('discPrice', $_smarty_tpl->tpl_vars['arrayFee']->value['disc']);
|
||||
?>
|
||||
<?php } else { ?>
|
||||
<?php $_smarty_tpl->_assignInScope('discPrice', 'brak');
|
||||
?>
|
||||
<?php }?>
|
||||
<tr>
|
||||
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['x']->value;?>
|
||||
</td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetName();?>
|
||||
</td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['obj']->value->GetSurname();?>
|
||||
</td>
|
||||
<td>Tytuł/stop. naukowy:<?php echo $_smarty_tpl->tpl_vars['obj']->value->getDegree();?>
|
||||
</br>
|
||||
Stanowisko: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getPosition();?>
|
||||
</br>
|
||||
Telefon: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getPhone();?>
|
||||
</br>
|
||||
Fax: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getFax();?>
|
||||
</br>
|
||||
Email: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getEmail();?>
|
||||
</br></td>
|
||||
<td>Instytucja: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getInstitution();?>
|
||||
</br>
|
||||
Ulica i numer: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getAddress();?>
|
||||
</br>
|
||||
Kod pocztowy: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getPostCode();?>
|
||||
</br>
|
||||
Miejscowość: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getCity();?>
|
||||
</br>
|
||||
NIP Instytucji: <?php echo $_smarty_tpl->tpl_vars['obj']->value->getNip();?>
|
||||
</br></td>
|
||||
<td>Referat: <?php echo smarty_modifier_replace(smarty_modifier_replace(smarty_modifier_replace($_smarty_tpl->tpl_vars['obj']->value->getReferat(),1,'Tak'),0,'Nie'),2,'Nie');?>
|
||||
</br>
|
||||
Poster: <?php echo smarty_modifier_replace(smarty_modifier_replace(smarty_modifier_replace($_smarty_tpl->tpl_vars['obj']->value->getPoster(),1,'Tak'),0,'Nie'),2,'Nie');?>
|
||||
|
||||
<p>Temat: <?php echo (($tmp = @$_smarty_tpl->tpl_vars['obj']->value->getMessage())===null||$tmp==='' ? 'brak' : $tmp);?>
|
||||
</p>
|
||||
<p>Streszczemie: <?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->tpl_vars['obj']->value->getMessageLong())===null||$tmp==='' ? 'brak' : $tmp),150);?>
|
||||
</p>
|
||||
<p>Autor: <?php echo (($tmp = @$_smarty_tpl->tpl_vars['obj']->value->getAutor())===null||$tmp==='' ? 'brak' : $tmp);?>
|
||||
</p></td>
|
||||
<td>Wybrane opcje:</br>
|
||||
<?php if ($_smarty_tpl->tpl_vars['discPrice']->value == 2) {?>
|
||||
|
||||
Opłata zwykła (płatność <b>po 08.10.2021</b>)
|
||||
<?php } else { ?>
|
||||
Opłata obniżona (płatność <b>do 08.10.2021</b>)
|
||||
<?php }?>
|
||||
<ul>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayObjParameters']->value, 'objParam');
|
||||
if ($_from !== null) {
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['objParam']->value) {
|
||||
?>
|
||||
<?php if (in_array($_smarty_tpl->tpl_vars['objParam']->value->GetId(),$_smarty_tpl->tpl_vars['arrayFee']->value)) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['discPrice']->value == 2) {?>
|
||||
<li><?php echo $_smarty_tpl->tpl_vars['objParam']->value->GetName();?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['objParam']->value->GetId() == 5) {?>(<?php echo $_smarty_tpl->tpl_vars['obj']->value->GetFeeOneDay();?>
|
||||
)<?php }?></br>
|
||||
Cena netto: <?php echo number_format($_smarty_tpl->tpl_vars['objParam']->value->GetPrice(),2,","," ");?>
|
||||
PLN</br>
|
||||
Cena brutto: <?php $_smarty_tpl->_assignInScope('vat', $_smarty_tpl->tpl_vars['objParam']->value->GetPrice()*1.23);
|
||||
echo number_format($_smarty_tpl->tpl_vars['vat']->value,2,","," ");?>
|
||||
PLN</br>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li><?php echo $_smarty_tpl->tpl_vars['objParam']->value->GetName();?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['objParam']->value->GetId() == 5) {?>(<?php echo $_smarty_tpl->tpl_vars['obj']->value->GetFeeOneDay();?>
|
||||
)<?php }?></br>
|
||||
Cena netto (bez VAT): <?php echo number_format($_smarty_tpl->tpl_vars['objParam']->value->GetPriceProm(),2,","," ");?>
|
||||
PLN</br>
|
||||
Cena brutto (z VAT): <?php $_smarty_tpl->_assignInScope('vat', $_smarty_tpl->tpl_vars['objParam']->value->GetPriceProm()*1.23);
|
||||
echo number_format($_smarty_tpl->tpl_vars['vat']->value,2,","," ");?>
|
||||
PLN</br>
|
||||
</li>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
|
||||
?>
|
||||
|
||||
<h3>Razem do zapłaty:</h3>
|
||||
<?php $_smarty_tpl->_assignInScope('resultPrice', $_smarty_tpl->tpl_vars['obj']->value->getPrice());
|
||||
?>
|
||||
Cena netto: <?php echo number_format($_smarty_tpl->tpl_vars['resultPrice']->value,2,","," ");?>
|
||||
PLN</br>
|
||||
Cena brutto: <?php $_smarty_tpl->_assignInScope('resultPriceVat', $_smarty_tpl->tpl_vars['resultPrice']->value*1.23);
|
||||
echo number_format($_smarty_tpl->tpl_vars['resultPriceVat']->value,2,","," ");?>
|
||||
PLN</br>
|
||||
|
||||
|
||||
</ul>
|
||||
</td>
|
||||
<td>Zgoda przetwarzanie danych: <?php echo smarty_modifier_replace(smarty_modifier_replace($_smarty_tpl->tpl_vars['obj']->value->GetAgree1(),1,'Tak'),0,'Nie');?>
|
||||
</br>
|
||||
Zgoda przetwarzanie wizerunku: <?php echo smarty_modifier_replace(smarty_modifier_replace($_smarty_tpl->tpl_vars['obj']->value->GetAgree2(),1,'Tak'),0,'Nie');?>
|
||||
|
||||
</td>
|
||||
<td><?php echo smarty_modifier_replace(smarty_modifier_replace($_smarty_tpl->tpl_vars['obj']->value->GetStatus(),2,'Tak'),1,'Nie');?>
|
||||
</td>
|
||||
|
||||
<td style="width:15px">
|
||||
<a href="<?php echo smarty_function_url(array('Calc'=>'RegEdit','id'=>$_smarty_tpl->tpl_vars['id']->value),$_smarty_tpl);?>
|
||||
" class="edit">edytuj</a><a href="<?php echo smarty_function_url(array('Calc'=>'RegDelete','id'=>$_smarty_tpl->tpl_vars['id']->value),$_smarty_tpl);?>
|
||||
" onclick="if (confirm('Czy napewno usunąć ten element?')) { } else {return false;}" class="delete">usuń</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'=>'Zgłoszenia Rejestracji'), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
|
||||
}
|
||||
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
||||
|
||||
<?php }
|
||||
}
|
||||
Reference in New Issue
Block a user