first commit
This commit is contained in:
84
_rejestracja/template/partial/Index/AjaxForm.tpl
Normal file
84
_rejestracja/template/partial/Index/AjaxForm.tpl
Normal file
@@ -0,0 +1,84 @@
|
||||
<input name="type" type="hidden" value="{$type}" />
|
||||
{assign var=idGroup value=null}
|
||||
{assign var=idGroupVal value=null}
|
||||
{foreach $arrayGroupParam as $arrayObjParameters}
|
||||
{* Stałe *}
|
||||
{if $arrayObjParameters[0]->getPriceType() == 1}
|
||||
{* Lista - Rodzaj pieca *}
|
||||
{if $arrayObjParameters[0]->getList() == 1}
|
||||
{foreach $arrayObjParameters as $objParameters}
|
||||
{if $objParameters@first}
|
||||
<div class="entry">
|
||||
<div class="label"></div>
|
||||
<div class="value" >
|
||||
{/if}
|
||||
<label class="control control--radio" title="{$objParameters->GetOpis()}">{$objParameters->GetName()}
|
||||
<input type="radio" name="piec" value="{$objParameters->GetName()}" {if $objParameters@first}checked="checked" onclick="$('#project').hide();"{/if} {if $objParameters@last} onclick="$('#project').show();"{/if} />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
{if $objParameters@last}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{* Wybór opcji Tak/Nie *}
|
||||
{if $arrayObjParameters[0]->getList() == 0}
|
||||
{foreach $arrayObjParameters as $objParameters}
|
||||
|
||||
{if $objParameters@first && $objParameters->getPriceType() == 1}
|
||||
{assign var=idGroup value=$objParameters->GetName()|text2url}
|
||||
{assign var=idGroupVal value="{$idGroup}Val"}
|
||||
<div class="entry" {if $objParameters->getDependId() > 0 && $type ==2}style="display: none;" id="project"{/if} >
|
||||
<div class="label">{$objParameters->GetName()}:</div>
|
||||
<div class="value" title="{$objParameters->GetOpis()}">
|
||||
{/if}
|
||||
{if $objParameters->getPriceType() == 1}
|
||||
<label class="control control--radio" onclick="$('#{$idGroup}').hide(); $('input[id={$idGroupVal}]').val('');">Nie
|
||||
<input type="radio" name="{$objParameters->GetName()|text2url}" value="{if $objParameters->getRevers()}1{else}0{/if}" checked="checked"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio" onclick="$('#{$idGroup}').show();">Tak
|
||||
<input type="radio" name="{$objParameters->GetName()|text2url}" value="{if $objParameters->getRevers()}0{else}1{/if}" {if $type ==2} checked="checked"{/if}/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
{*<label class="control control--checkbox"><input name="{$objParameters->GetName()|text2url}" type="checkbox">
|
||||
<div class="control__indicator"></div></label>*}
|
||||
{/if}
|
||||
|
||||
{if $objParameters@last && $objParameters->getPriceType() == 1}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $objParameters->getPriceType() == 2}
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry" {if $objParameters->getDependId() > 0}style="display: none;"{/if} id="{$idGroup}">
|
||||
<div class="label">{$objParameters->GetName()}:</div>
|
||||
<div class="value" title="{$objParameters->GetOpis()}">
|
||||
{formField name="{$objParameters->GetName()|text2url}" type="text" errorClass="warning" id="$idGroupVal" }
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
||||
{* Zmienne *}
|
||||
{if $arrayObjParameters[0]->getPriceType() == 2}
|
||||
{foreach $arrayObjParameters as $objParameters}
|
||||
{if $objParameters->getPriceProgres() == 0}
|
||||
<div class="entry" {if $objParameters->getDependId() > 0}style="display: none;" id="{$idGroup}"{/if} >
|
||||
<div class="label">{$objParameters->GetName()}{if $objParameters->GetUnit()} [{$objParameters->GetUnit()|replace:"^2":"<sup>2</sup>"}]{/if}:
|
||||
{if $objParameters->GetOpis()}
|
||||
<p style="font-size: 0.6em; margin: 0px; margin-top: -10px; color: #0087ba">({$objParameters->GetOpis()})</p>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="value" title="{$objParameters->GetOpis()}">
|
||||
{formField name="{$objParameters->GetName()|text2url}" type="text" errorClass="warning" id="$idGroupVal" }
|
||||
</div>
|
||||
</div>
|
||||
{assign var=idGroupVal value=null}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/foreach}
|
||||
0
_rejestracja/template/partial/Index/Captcha.tpl
Normal file
0
_rejestracja/template/partial/Index/Captcha.tpl
Normal file
455
_rejestracja/template/partial/Index/Index.tpl
Normal file
455
_rejestracja/template/partial/Index/Index.tpl
Normal file
@@ -0,0 +1,455 @@
|
||||
{* Main *}
|
||||
<div style="text-align: left;">
|
||||
|
||||
{if $showNews}
|
||||
<h2>{$indexNews->GetTitle()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
<a href="{url label=$objNewsElement->GetUrlLabel()}" >{$objNewsElement->GetName()}</a>
|
||||
{else}
|
||||
<h2>{$indexNews->GetName()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
{/if}
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<form method="post" action="{url label=current}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Dane uczestnika (służbowe)'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Imię'}:</div>
|
||||
<div class="value">{formField name="name" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwisko'}:</div>
|
||||
<div class="value">{formField name="surname" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł/stop. naukowy'}:</div>
|
||||
<div class="value">{formField name="degree" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Stanowisko'}:</div>
|
||||
<div class="value">{formField name="position" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Telefon'}:</div>
|
||||
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Fax'}:</div>
|
||||
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">Dane do wystawienia faktury:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Instytucja'}:</div>
|
||||
<div class="value">{formField name="institution" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Ulica i numer'}:</div>
|
||||
<div class="value">{formField name="address" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Kod pocztowy'}:</div>
|
||||
<div class="value">{formField name="post_code" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Miejscowość'}:</div>
|
||||
<div class="value">{formField name="city" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='NIP Instytucji'}:</div>
|
||||
<div class="value">{formField name="nip" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam referat</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="referat" class="referat" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="referat" class="referat" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam poster</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="poster" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="poster" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="message" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Autor referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="autor" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<div class="entry">
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Udział w konrefencji'}:</h5></div>
|
||||
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Opłata'}: </div>
|
||||
<div class="value">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">Opłata obniżona (płatność do 03.10.2025)
|
||||
<input type="radio" name="conference_fee_disc" id="conference_fee_disc" checked="true" class="conference_fee_disc" value="1" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Opłata zwykła (płatność po 03.10.2025)
|
||||
<input type="radio" name="conference_fee_disc" id="conference_fee_norm" class="conference_fee_disc" value="2" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cały kongres'}: </div>
|
||||
<div class="value">
|
||||
<input type="hidden" name="participation_option" id="participation_option" value="full" />
|
||||
<input type="hidden" name="one_day_lodging" id="one_day_lodging" value="0" />
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px;">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" checked="true" id="conference_fee" class="conference_fee" value="1" onclick="$('#conference_1').show();
|
||||
$('#conference_2').hide(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<span>Biorę udział w całym kongresie</span>
|
||||
</div>
|
||||
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px;">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_3" class="conference_fee" value="6" onclick="calculatePrice()" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<span>Biorę udział w trzech dniach kongresu</span>
|
||||
</div>
|
||||
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px;">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_2" class="conference_fee" value="7" onclick="calculatePrice()" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<span>Biorę udział w dwóch dniach kongresu</span>
|
||||
</div>
|
||||
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px; margin-bottom:30px;">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_1_lodging" class="conference_fee" value="5" onclick="calculatePrice()" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<span>Biorę udział w jednym dniu konferencji (z noclegiem)</span>
|
||||
</div>
|
||||
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px; margin-bottom:30px;">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_1" class="conference_fee" value="5" onclick="calculatePrice()" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<span>Biorę udział w jednym dniu kongresu (bez noclegu)</span>
|
||||
</div>
|
||||
<div class="show--day-select" id="show--day-select" style="display:none; width:100%; margin-bottom:30px; flex-direction:column; gap:10px;">
|
||||
<label class="" for="days" style="width:100%;"> Wskaż dzień/dni swojej obecności * </label>
|
||||
<input type="text" name="days" class="" id="days" >
|
||||
</div>
|
||||
<div class="show--day-select" id="one-day-lodging-days" style="display:none; width:100%; margin-bottom:30px; flex-direction:column; gap:10px;">
|
||||
<span>Proszę zaznaczyć dzień:</span>
|
||||
<label class="control control--radio">3/4 listopada
|
||||
<input type="radio" name="participation_days" value="3/4 listopada" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">4/5 listopada
|
||||
<input type="radio" name="participation_days" value="4/5 listopada" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="show--day-select" id="one-day-no-lodging-days" style="display:none; width:100%; margin-bottom:30px; flex-direction:column; gap:10px;">
|
||||
<span>Proszę zaznaczyć dzień:</span>
|
||||
<label class="control control--radio">3 listopada
|
||||
<input type="radio" name="participation_days" value="3 listopada" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">4 listopada
|
||||
<input type="radio" name="participation_days" value="4 listopada" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">5 listopada
|
||||
<input type="radio" name="participation_days" value="5 listopada" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
<script>
|
||||
{literal}
|
||||
$(function () {
|
||||
$('#conference_1').show();
|
||||
calculatePrice();
|
||||
});
|
||||
$('.conference_fee').on('change', showSelectDate);
|
||||
|
||||
function showSelectDate() {
|
||||
const $form = $('#show--day-select');
|
||||
const selectedId = $('.conference_fee:checked').attr('id');
|
||||
$('#one_day_lodging').val('0');
|
||||
$('#participation_option').val('full');
|
||||
$('#one-day-lodging-days').hide();
|
||||
$('#one-day-no-lodging-days').hide();
|
||||
|
||||
if ( selectedId === 'conference_fee_1' ||
|
||||
selectedId === 'conference_fee_2' ||
|
||||
selectedId === 'conference_fee_3' ) {
|
||||
$form.css('display', 'flex');
|
||||
} else {
|
||||
$form.css('display', 'none');
|
||||
}
|
||||
if (selectedId === 'conference_fee_3') {
|
||||
$('#participation_option').val('three_days');
|
||||
}
|
||||
if (selectedId === 'conference_fee_2') {
|
||||
$('#participation_option').val('two_days');
|
||||
}
|
||||
if (selectedId === 'conference_fee_1_lodging') {
|
||||
$('#participation_option').val('one_day_lodging');
|
||||
$('#one_day_lodging').val('1');
|
||||
$form.hide();
|
||||
$('#one-day-lodging-days').css('display', 'flex');
|
||||
}
|
||||
if (selectedId === 'conference_fee_1') {
|
||||
$('#participation_option').val('one_day_no_lodging');
|
||||
$('#one-day-no-lodging-days').css('display', 'flex');
|
||||
}
|
||||
}
|
||||
|
||||
function calculatePrice() {
|
||||
if ($("#conference_fee_disc").is(':checked')) {
|
||||
//alert('disc');
|
||||
var price = {/literal}{$arrayPricePromJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPricePromVatJson}{literal};
|
||||
}
|
||||
if ($("#conference_fee_norm").is(':checked')) {
|
||||
//alert('normal');
|
||||
var price = {/literal}{$arrayPriceJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPriceVatJson}{literal};
|
||||
}
|
||||
|
||||
|
||||
var sumPrice = 0;
|
||||
var sumPriceVat = 0;
|
||||
var price_info = '';
|
||||
|
||||
let promo = $("#conference_fee_norm").is(':checked')
|
||||
|
||||
if ($("#conference_fee").is(':checked')) {
|
||||
sumPrice = price[1];
|
||||
sumPriceVat = priceVat[1];
|
||||
price_info += 'cała conf ';
|
||||
}
|
||||
|
||||
if ($('#conference_fee_3').is(':checked')) {
|
||||
sumPrice = !promo ? 2200 : 2500;
|
||||
sumPriceVat = !promo ? 2706 : 3075;
|
||||
price_info += '3-dniowa';
|
||||
}
|
||||
|
||||
if ($('#conference_fee_2').is(':checked')) {
|
||||
sumPrice = !promo ? 1800 : 2100;
|
||||
sumPriceVat = !promo ? 2214 : 2583;
|
||||
price_info += '2-dniowa';
|
||||
}
|
||||
|
||||
if ($('#conference_fee_1').is(':checked')) {
|
||||
sumPrice = !promo ? 1300 : 1600;
|
||||
sumPriceVat = !promo ? 1599 : 1968;
|
||||
price_info += '1-dniowa';
|
||||
}
|
||||
if ($('#conference_fee_1_lodging').is(':checked')) {
|
||||
sumPrice = !promo ? 1300 : 1600;
|
||||
sumPriceVat = !promo ? 1599 : 1968;
|
||||
price_info += '1-dniowa z noclegiem';
|
||||
}
|
||||
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
sumPrice = sumPrice + price[2];
|
||||
sumPriceVat = sumPriceVat + priceVat[2];
|
||||
price_info += 'pokój jedynka ';
|
||||
}
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
sumPrice = sumPrice + price[3];
|
||||
sumPriceVat = sumPriceVat + priceVat[3];
|
||||
price_info += 'osoba dodatkoawa ';
|
||||
}
|
||||
if ($("#price_plus_ang").is(':checked')) {
|
||||
sumPrice = sumPrice + price[4];
|
||||
sumPriceVat = sumPriceVat + priceVat[4];
|
||||
price_info += 'ang ';
|
||||
}
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
sumPrice = price[5];
|
||||
sumPriceVat = priceVat[5];
|
||||
price_info = 'jeden dzień ';
|
||||
}
|
||||
$("p.price_full_fee").html(sumPrice.toFixed(2) + ' PLN netto ' + '(' + sumPriceVat.toFixed(2) + ' PLN brutto)');
|
||||
//alert(sumPrice);
|
||||
$("p.price_info").html(price_info);
|
||||
window.sumPrice = sumPrice;
|
||||
window.sumPriceVat = sumPriceVat;
|
||||
|
||||
}
|
||||
$(function () {
|
||||
$(".conference_fee").on('change', function () {
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
$("#price_plus_ang").prop("checked", false);
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<div class="confOptionContainer" id="conference_1">
|
||||
<label class="control control--checkbox" > Dopłata do pokoju 1-osobowego
|
||||
<input type="checkbox" name="fee_room1" class="price_plus_room" id="price_plus_room" data-theme="d" value="2" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" > Opłata za pobyt osoby towarzyszącej lub kierowcy w pokoju dwuosobowym
|
||||
<input type="checkbox" name="fee_room_add_person" id="price_plus_person" data-theme="d" onclick="$('#price_plus_room').prop
|
||||
("checked", true);" value="3" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" style="display: none;" > Udział w kongresie Ang.
|
||||
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry" style="display:none;">
|
||||
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
|
||||
$('#conference_2').show(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="confOptionContainer" id="conference_2">
|
||||
Wybierz dzień kongresu:
|
||||
<label class="control control--radio">03.11
|
||||
<input type="radio" name="day_conference" value="3.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">04.11
|
||||
<input type="radio" name="day_conference" value="4.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">5.11
|
||||
<input type="radio" name="day_conference" value="5.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">6.11
|
||||
<input type="radio" name="day_conference" value="6.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">Preferencje żywieniowe:</div>
|
||||
<div class="value">
|
||||
<label class="control control--radio">dieta standardowa
|
||||
<input type="radio" name="diet" value="1" checked="checked" onclick="$('#diet_special_container').hide(); $('#diet_special').val('');" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">dieta specjalna
|
||||
<input type="radio" name="diet" value="2" onclick="$('#diet_special_container').show();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div id="diet_special_container" style="display:none; margin-top:10px;">
|
||||
<label for="diet_special">Jaka?</label>
|
||||
<input type="text" name="diet_special" id="diet_special" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">Cena za konferencję</div>
|
||||
<div class="value"><p class="price_full_fee" style="margin: 0px;"> </p></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="entry">
|
||||
<div><h5 align="center"> </h5></div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div>
|
||||
<p>{$indexNews->GetShortnote()}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="entry" style="padding-top: 1.1em;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
|
||||
<input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha">
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry entryLast">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><input class="button _sendContact" type="button" id="form--send" value="{translate word='send'}" /></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
323
_rejestracja/template/partial/Index/Index.tpl.bak
Normal file
323
_rejestracja/template/partial/Index/Index.tpl.bak
Normal file
@@ -0,0 +1,323 @@
|
||||
{* Main *}
|
||||
<div style="text-align: left;">
|
||||
|
||||
{if $showNews}
|
||||
<h2>{$indexNews->GetTitle()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
<a href="{url label=$objNewsElement->GetUrlLabel()}" >{$objNewsElement->GetName()}</a>
|
||||
{else}
|
||||
<h2>{$indexNews->GetName()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<form method="post" action="" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div class="label"></div>
|
||||
<div class="value"><h3>{translate word='Dane uczestnika (służbowe)'}:</h3></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Imię'}:</div>
|
||||
<div class="value">{formField name="name" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwisko'}:</div>
|
||||
<div class="value">{formField name="surname" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł/stop. naukowy'}:</div>
|
||||
<div class="value">{formField name="degree" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Stanowisko'}:</div>
|
||||
<div class="value">{formField name="position" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Telefon'}:</div>
|
||||
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Fax'}:</div>
|
||||
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label"></div>
|
||||
<div class="value"><h3>{translate word='Miejsce pracy'}:</h3></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Instytucja'}:</div>
|
||||
<div class="value">{formField name="institution" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Ulica i numer'}:</div>
|
||||
<div class="value">{formField name="address" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Kod pocztowy'}:</div>
|
||||
<div class="value">{formField name="post_code" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Miejscowość'}:</div>
|
||||
<div class="value">{formField name="city" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='NIP Instytucji'}:</div>
|
||||
<div class="value">{formField name="nip" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam referat</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="referat" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="referat" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam poster</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="poster" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="poster" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="message" type="textarea"}</div>
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<div class="entry">
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label"></div>
|
||||
<div class="value"><h3>{translate word='Udział w konrefencji'}:</h3></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cała konferencja'}: </div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee" class="conference_fee" value="1" onclick="$('#conference_1').show();
|
||||
$('#conference_2').hide();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<script>
|
||||
{literal}
|
||||
$(function () {
|
||||
var price = {1: 1500, 2: 500, 3: 1000, 4: 1500, 5: 700};
|
||||
var priceVat = {1: 1845, 2: 615, 3: 1230, 4: 1845, 5: 861};
|
||||
//var sumPrice;
|
||||
|
||||
$(".conference_fee").on('change', function () {
|
||||
var sumPrice = 0;
|
||||
var sumPriceVat = 0;
|
||||
if ($("#conference_fee").is(':checked')) {
|
||||
sumPrice = price[1];
|
||||
sumPriceVat = priceVat[1];
|
||||
//$("p.price_info").html('cała sama');
|
||||
|
||||
}
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
sumPrice = price[5];
|
||||
sumPriceVat = priceVat[5];
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
$("#price_plus_ang").prop("checked", false);
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
//$("p.price_info").html('jeden dzień');
|
||||
}
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
//alert(sumPrice);
|
||||
window.sumPrice = sumPrice;
|
||||
window.sumPriceVat = sumPriceVat;
|
||||
});
|
||||
|
||||
$("#price_plus_ang").on('change', function () {
|
||||
if ($("#price_plus_ang").is(':checked')) {
|
||||
sumPrice = sumPrice + price[4];
|
||||
sumPriceVat = sumPriceVat + priceVat[4];
|
||||
//$("p.price_info").html('cała + jedynka= ' + price[2]);
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
} else {
|
||||
sumPrice = sumPrice - price[4];
|
||||
sumPriceVat = sumPriceVat - priceVat[4];
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
$("#price_plus_room").on('change', function () {
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
//alert('wygaś drugie');
|
||||
//alert($("#price_plus_person").prop());
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
sumPrice = sumPrice - price[3];
|
||||
sumPriceVat = sumPriceVat - priceVat[3];
|
||||
}
|
||||
sumPrice = sumPrice + price[2];
|
||||
sumPriceVat = sumPriceVat + priceVat[2];
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
//$("p.price_info").html('cała + jedynka= ' + price[2]);
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
} else {
|
||||
sumPrice = sumPrice - price[2];
|
||||
sumPriceVat = sumPriceVat - priceVat[2];
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
}
|
||||
});
|
||||
$("#price_plus_person").on('change', function () {
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
//alert('wygaś drugie');
|
||||
//alert($("#price_plus_person").prop());
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
sumPrice = sumPrice - price[2];
|
||||
sumPriceVat = sumPriceVat - priceVat[2];
|
||||
}
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
//$("p.price_info").html('cała + osoba = ' + price[3]);
|
||||
sumPrice = sumPrice + price[3];
|
||||
sumPriceVat = sumPriceVat + priceVat[3];
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
} else {
|
||||
sumPrice = sumPrice - price[3];
|
||||
sumPriceVat = sumPriceVat - priceVat[3];
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<div class="confOptionContainer" id="conference_1">
|
||||
<label class="control control--checkbox" > Dopłata do pokoju 1-osobowego
|
||||
<input type="checkbox" name="fee_room1" class="price_plus_room" id="price_plus_room" data-theme="d" value="2" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" > Opłata za pobyt osoby towarzyszącej lub kierowcy w pokoju dwuosobowym
|
||||
<input type="checkbox" name="fee_room_add_person" id="price_plus_person" data-theme="d" onclick="$('#price_plus_room').prop
|
||||
("checked", true);" value="3" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" style="display: none;" > Udział w konferencji Ang.
|
||||
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
|
||||
$('#conference_2').show();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="confOptionContainer" id="conference_2">
|
||||
Wybierz dzień konferencji:
|
||||
<label class="control control--radio">04.11
|
||||
<input type="radio" name="day_conference" value="03.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">05.11
|
||||
<input type="radio" name="day_conference" value="04.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">06.11
|
||||
<input type="radio" name="day_conference" value="05.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cena za konferencje'}</div>
|
||||
<div class="value"><p class="price_full_fee" style="margin: 0px;"> </p></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="cb"></div>
|
||||
<div>
|
||||
<p>
|
||||
{$indexNews->GetShortnote()}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="entry" style="padding-top: 8px;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
|
||||
<input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha">
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry entryLast">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><input class="button _sendContact" type="button" value="{translate word='send'}" /></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
136
_rejestracja/template/partial/Index/IndexSent.tpl
Normal file
136
_rejestracja/template/partial/Index/IndexSent.tpl
Normal file
@@ -0,0 +1,136 @@
|
||||
<div style="text-align: left;">
|
||||
<h2>Dziękujemy za rejestrację na II Kongres Surowcowy</h2>
|
||||
<p><b>Termin: 3–6 listopada 2025 r.</b></p>
|
||||
<p><b>Miejsce kongresu: Krynica-Zdrój</b></p>
|
||||
|
||||
<h3>Podsumowanie</h3>
|
||||
<p>{'info_wysłane'|translate}</p>
|
||||
|
||||
<div class="divFormTable">
|
||||
<div class="divTableFormBody">
|
||||
|
||||
<!-- Dane uczestnika -->
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane uczestnika:</h3>
|
||||
Imię: {$objParticipant->getName()}<br>
|
||||
Nazwisko: {$objParticipant->getSurname()}<br>
|
||||
Tytuł/stop. naukowy: {$objParticipant->getDegree()}<br>
|
||||
Stanowisko: {$objParticipant->getPosition()|default:'brak'}<br>
|
||||
Telefon: {$objParticipant->getPhone()}<br>
|
||||
Fax: {$objParticipant->getFax()|default:'brak'}<br>
|
||||
Email: {$objParticipant->getEmail()}<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Dane instytucji -->
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane instytucji:</h3>
|
||||
Instytucja: {$objParticipant->getInstitution()|default:'brak'}<br>
|
||||
Ulica i numer: {$objParticipant->getAddress()|default:'brak'}<br>
|
||||
Kod pocztowy: {$objParticipant->getPostCode()|default:'brak'}<br>
|
||||
Miejscowość: {$objParticipant->getCity()|default:'brak'}<br>
|
||||
NIP Instytucji: {$objParticipant->getNip()|default:'brak'}<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Wystąpienie -->
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane wystąpienia:</h3>
|
||||
Referat: {$objParticipant->getReferat()|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}<br>
|
||||
Poster: {$objParticipant->getPoster()|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}<br>
|
||||
<p>Tytuł referatu/posteru: {$objParticipant->getMessage()|default:'brak'}</p>
|
||||
<p>Autor: {$objParticipant->getAutor()|default:'brak'}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Informacja o kwocie -->
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Informacja o kwocie do zapłaty:</h3>
|
||||
{if $discPrice == 2}
|
||||
Opłata zwykła (płatność <b>po 03.10.2025</b>)
|
||||
{else}
|
||||
Opłata obniżona (płatność <b>do 03.10.2025</b>)
|
||||
{/if}
|
||||
<ul>
|
||||
{foreach $arrayObjParameters as $objParam}
|
||||
{if in_array($objParam->GetId(), $arrayFee)}
|
||||
<li>
|
||||
{$objParam->GetName()}
|
||||
{if $objParam->GetId() eq 5} ({$objParticipant->getFeeOneDay()}){/if}<br>
|
||||
|
||||
{if $discPrice == 2}
|
||||
{assign var="netto" value=$objParam->GetPrice()}
|
||||
Cena netto: {$netto|number_format:2:",":" "} PLN<br>
|
||||
{else}
|
||||
{assign var="netto" value=$objParam->GetPriceProm()}
|
||||
Cena netto (bez VAT): {$netto|number_format:2:",":" "} PLN<br>
|
||||
{/if}
|
||||
|
||||
{assign var="vat" value=$netto * 1.23}
|
||||
Cena brutto: {$vat|number_format:2:",":" "} PLN<br>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<h3>Razem do zapłaty:</h3>
|
||||
{assign var="resultPrice" value=$objParticipant->getPrice()}
|
||||
Cena netto: {$resultPrice|number_format:2:",":" "} PLN<br>
|
||||
{assign var="resultPriceVat" value=$resultPrice * 1.23}
|
||||
Cena brutto: {$resultPriceVat|number_format:2:",":" "} PLN<br>
|
||||
|
||||
<p><b>{'klauzula_ceny'|translate}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Zgody -->
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Wyrażono zgody:</h3>
|
||||
<p>Zgoda na przetwarzanie danych – {$objParticipant->getAgree1()|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
<p>Zgoda na przetwarzanie wizerunku – {$objParticipant->getAgree2()|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Wybrana opcja udziału:</h3>
|
||||
<p><b>Typ udziału:</b> {$objParticipant->getParticipationOption()|default:'pełna konferencja'}</p>
|
||||
{if $days}
|
||||
<p><b>Wskazane dni obecności:</b> {$days}</p>
|
||||
{elseif $objParticipant->getParticipationDays()}
|
||||
<p><b>Wskazane dni obecności:</b> {$objParticipant->getParticipationDays()}</p>
|
||||
{else}
|
||||
<p><b>Obecność podczas całej konferencji.</b></p>
|
||||
{/if}
|
||||
<p><b>Dopłata do pokoju 1-osobowego:</b> {$objParticipant->getFeeRoom1()|replace:1:'Tak'|replace:0:'Nie'|default:'Nie'}</p>
|
||||
<p><b>Osoba towarzysząca/kierowca:</b> {$objParticipant->getFeeRoomAddPerson()|replace:1:'Tak'|replace:0:'Nie'|default:'Nie'}</p>
|
||||
<p><b>Preferencje żywieniowe:</b> {$objParticipant->getDiet()|replace:1:'dieta standardowa'|replace:2:'dieta specjalna'|default:'dieta standardowa'} {if $objParticipant->getDietSpecial()}- {$objParticipant->getDietSpecial()}{/if}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<div style="display: none">
|
||||
<style>
|
||||
.divTableForm {
|
||||
display: table;
|
||||
width: 70%;
|
||||
}
|
||||
.divTableFormRow {
|
||||
display: table-row;
|
||||
}
|
||||
.divTableFormCell {
|
||||
display: table-cell;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
.divTableFormBody {
|
||||
display: table-row-group;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{/literal}
|
||||
117
_rejestracja/template/partial/Index/IndexSent_.tpl_
Normal file
117
_rejestracja/template/partial/Index/IndexSent_.tpl_
Normal file
@@ -0,0 +1,117 @@
|
||||
<div style="text-align: left;">
|
||||
<h2>Dziękujemy za rejestrację na XXX Konferencję „Aktualia i perspektywy gospodarki surowcami mineralnymi”</h2>
|
||||
<p><b>Termin: 3-5 listopada 2021 r.</b></p>
|
||||
<p><b>Miejsce konferencji: Rytro k. Nowego Sącza</b></p>
|
||||
<h3>Podsumowanie </h3>
|
||||
<p>{'info_wysłane'|translate}</p>
|
||||
<div>
|
||||
<div class="divFormTable">
|
||||
<div class="divTableFormBody">
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane uczestnika:</h3>
|
||||
Imię: {$objParticipant->getName()}</br>
|
||||
Nazwisko: {$objParticipant->getSurname()}</br>
|
||||
Tytuł/stop. naukowy:{$objParticipant->getDegree()}</br>
|
||||
Stanowisko: {$objParticipant->getPosition()|default:'brak'}</br>
|
||||
Telefon: {$objParticipant->getPhone()}</br>
|
||||
Fax: {$objParticipant->getFax()|default:'brak'}</br>
|
||||
Email: {$objParticipant->getEmail()}</br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane instytucji:</h3>
|
||||
Instytucja: {$objParticipant->getInstitution()|default:'brak'}</br>
|
||||
Ulica i numer: {$objParticipant->getAddress()|default:'brak'}</br>
|
||||
Kod pocztowy: {$objParticipant->getPostCode()|default:'brak'}</br>
|
||||
Miejscowość: {$objParticipant->getCity()|default:'brak'}</br>
|
||||
NIP Instytucji: {$objParticipant->getNip()|default:'brak'}</br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane wystąpienia:</h3>
|
||||
Referat: {$objParticipant->getReferat()|default:'Nie'|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}</br>
|
||||
Poster: {$objParticipant->getPoster()|default:'Nie'|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}
|
||||
<p>Temat: {$objParticipant->getMessage()|default:'brak'}</p>
|
||||
<p>Streszczenie: {$objParticipant->getMessageLong()|default:'brak'}</p>
|
||||
<p>Autor: {$objParticipant->getAutor()|default:'brak'}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Informacja o kwocie do zapłaty:</h3>
|
||||
<div>
|
||||
Wybrane opcje:</br>
|
||||
Opłata zwykła (płatność <b>po 08.10.2021</b>)
|
||||
<ul>
|
||||
{foreach $arrayObjParameters as $objParam}
|
||||
{if in_array($objParam->GetId(),$arrayFee)}
|
||||
{if $discPrice == 2}
|
||||
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$objParticipant->GetFeeOneDay()}){/if}</br>
|
||||
Cena netto: {$objParam->GetPrice()|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto: {assign var="vat" value=$objParam->GetPrice()*1.23}{$vat|number_format:2:",":" "} PLN</br>
|
||||
</li>
|
||||
{else}
|
||||
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$objParticipant->GetFeeOneDay()}){/if}</br>
|
||||
Cena netto (bez VAT): {$objParam->GetPriceProm()|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto (z VAT): {assign var="vat" value=$objParam->GetPriceProm()*1.23}{$vat|number_format:2:",":" "} PLN</br>
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
<h3>Razem do zapłaty:</h3>
|
||||
{assign var="resultPrice" value=$objParticipant->getPrice()}
|
||||
Cena netto: {$resultPrice|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto: {assign var="resultPriceVat" value=$resultPrice*1.23}{$resultPriceVat|number_format:2:",":" "} PLN</br>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<p><b>{'klauzula_ceny'|translate}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Wyrażono zgody:</h3>
|
||||
<p>Zgoda na przetwarzanie danych - {$objParticipant->getAgree1()|default:'Nie'|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
|
||||
<p>Zgoda na przetwarzanie wizerunku - {$objParticipant->getAgree2()|default:'Nie'|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{literal}
|
||||
<div style="display: none">
|
||||
<style>
|
||||
.divTableForm{
|
||||
display: table;
|
||||
width: 70%;
|
||||
}
|
||||
.divTableFormRow {
|
||||
display: table-row;
|
||||
}
|
||||
.divTableFormHeading {
|
||||
background-color: #EEE;
|
||||
display: table-header-group;
|
||||
}
|
||||
.divTableFormCell, .divTableFormHead {
|
||||
border: 0px solid #999999;
|
||||
display: table-cell;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
.divTableFormHeading {
|
||||
background-color: #EEE;
|
||||
display: table-header-group;
|
||||
font-weight: bold;
|
||||
}
|
||||
.divTableFormFoot {
|
||||
background-color: #EEE;
|
||||
display: table-footer-group;
|
||||
font-weight: bold;
|
||||
}
|
||||
.divTableFormBody {
|
||||
display: table-row-group;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{/literal}
|
||||
118
_rejestracja/template/partial/Index/IndexSent_good.tpl
Normal file
118
_rejestracja/template/partial/Index/IndexSent_good.tpl
Normal file
@@ -0,0 +1,118 @@
|
||||
<div style="text-align: left;">
|
||||
<h2>Dziękujemy za rejestrację na II Kongres Surowcowy</h2>
|
||||
<p><b>Termin: 3-6 listopada 2025 r.</b></p>
|
||||
<p><b>Miejsce kongresu: Krynica-Zdrój</b></p>
|
||||
|
||||
<h3>Podsumowanie</h3>
|
||||
<p>{'info_wysłane'|translate}</p>
|
||||
|
||||
<div class="divFormTable">
|
||||
<div class="divTableFormBody">
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell">
|
||||
<h3>Dane uczestnika:</h3>
|
||||
Imię: {$objParticipant->getName()}<br>
|
||||
Nazwisko: {$objParticipant->getSurname()}<br>
|
||||
Tytuł/stop. naukowy: {$objParticipant->getDegree()}<br>
|
||||
Stanowisko: {$objParticipant->getPosition()|default:'brak'}<br>
|
||||
Telefon: {$objParticipant->getPhone()}<br>
|
||||
Fax: {$objParticipant->getFax()|default:'brak'}<br>
|
||||
Email: {$objParticipant->getEmail()}<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell">
|
||||
<h3>Dane instytucji:</h3>
|
||||
Instytucja: {$objParticipant->getInstitution()|default:'brak'}<br>
|
||||
Ulica i numer: {$objParticipant->getAddress()|default:'brak'}<br>
|
||||
Kod pocztowy: {$objParticipant->getPostCode()|default:'brak'}<br>
|
||||
Miejscowość: {$objParticipant->getCity()|default:'brak'}<br>
|
||||
NIP Instytucji: {$objParticipant->getNip()|default:'brak'}<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell">
|
||||
<h3>Dane wystąpienia:</h3>
|
||||
Referat: {$objParticipant->getReferat()|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}<br>
|
||||
Poster: {$objParticipant->getPoster()|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}<br>
|
||||
<p>Tytuł referatu/posteru: {$objParticipant->getMessage()|default:'brak'}</p>
|
||||
<p>Autor: {$objParticipant->getAutor()|default:'brak'}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell">
|
||||
<h3>Informacja o kwocie do zapłaty:</h3>
|
||||
<div>
|
||||
<b>Wybrane opcje:</b><br>
|
||||
|
||||
{if $discPrice == 2}
|
||||
Opłata zwykła (płatność <b>po 03.10.2025</b>)<br>
|
||||
{else}
|
||||
Opłata obniżona (płatność <b>do 03.10.2025</b>)<br>
|
||||
{/if}
|
||||
|
||||
<ul>
|
||||
{foreach $arrayObjParameters as $objParam}
|
||||
{if in_array($objParam->GetId(), $arrayFee)}
|
||||
<li>
|
||||
{$objParam->GetName()}
|
||||
{if $objParam->GetId() == 5}
|
||||
({$objParticipant->GetFeeOneDay()})
|
||||
{/if}<br>
|
||||
|
||||
{if $discPrice == 2}
|
||||
Cena netto: {$objParam->GetPrice()|number_format:2:",":" "} PLN<br>
|
||||
Cena brutto:
|
||||
{assign var="vat" value=$objParam->GetPrice()*1.23}
|
||||
{$vat|number_format:2:",":" "} PLN<br>
|
||||
{else}
|
||||
Cena netto (bez VAT): {$objParam->GetPriceProm()|number_format:2:",":" "} PLN<br>
|
||||
Cena brutto (z VAT):
|
||||
{assign var="vat" value=$objParam->GetPriceProm()*1.23}
|
||||
{$vat|number_format:2:",":" "} PLN<br>
|
||||
{/if}
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
<h3>Razem do zapłaty:</h3>
|
||||
{assign var="resultPrice" value=$objParticipant->getPrice()}
|
||||
Cena netto: {$resultPrice|number_format:2:",":" "} PLN<br>
|
||||
{assign var="resultPriceVat" value=$resultPrice*1.23}
|
||||
Cena brutto: {$resultPriceVat|number_format:2:",":" "} PLN<br>
|
||||
|
||||
<p><b>{'klauzula_ceny'|translate}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell">
|
||||
<h3>Wyrażono zgody:</h3>
|
||||
<p>Zgoda na przetwarzanie danych: {$objParticipant->getAgree1()|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
<p>Zgoda na przetwarzanie wizerunku: {$objParticipant->getAgree2()|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell">
|
||||
<h3>Wybrana opcja kongresu:</h3>
|
||||
<div class="divTableFormCell"><h3>Wybrana opcja udziału:</h3>
|
||||
{if $days}
|
||||
<p><b>Wskazane dni obecności:</b> {$days}</p>
|
||||
{else}
|
||||
<p><b>Obecność podczas całej konferencji.</b></p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
308
_rejestracja/template/partial/Index/Index_1data.tpl_
Normal file
308
_rejestracja/template/partial/Index/Index_1data.tpl_
Normal file
@@ -0,0 +1,308 @@
|
||||
{* Main *}
|
||||
<div style="text-align: left;">
|
||||
|
||||
{if $showNews}
|
||||
<h2>{$indexNews->GetTitle()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
<a href="{url label=$objNewsElement->GetUrlLabel()}" >{$objNewsElement->GetName()}</a>
|
||||
{else}
|
||||
<h2>{$indexNews->GetName()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
{/if}
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<form method="post" action="{url label=current}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Dane uczestnika (służbowe)'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Imię'}:</div>
|
||||
<div class="value">{formField name="name" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwisko'}:</div>
|
||||
<div class="value">{formField name="surname" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł/stop. naukowy'}:</div>
|
||||
<div class="value">{formField name="degree" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Stanowisko'}:</div>
|
||||
<div class="value">{formField name="position" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Telefon'}:</div>
|
||||
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Fax'}:</div>
|
||||
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Miejsce pracy'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Instytucja'}:</div>
|
||||
<div class="value">{formField name="institution" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Ulica i numer'}:</div>
|
||||
<div class="value">{formField name="address" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Kod pocztowy'}:</div>
|
||||
<div class="value">{formField name="post_code" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Miejscowość'}:</div>
|
||||
<div class="value">{formField name="city" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='NIP Instytucji'}:</div>
|
||||
<div class="value">{formField name="nip" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam referat</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="referat" class="referat" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="referat" class="referat" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam poster</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="poster" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="poster" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="message" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Autor referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="autor" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<div class="entry">
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Udział w konrefencji'}:</h5></div>
|
||||
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Opłata'}: </div>
|
||||
<div class="value">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">Opłata zwykła (płatność po 11.10.2024)
|
||||
<input type="radio" name="conference_fee_disc" id="conference_fee_norm" checked="true" class="conference_fee_disc" value="2" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cała konferencja'}: </div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" checked="true" id="conference_fee" class="conference_fee" value="1" onclick="$('#conference_1').show();
|
||||
$('#conference_2').hide(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<script>
|
||||
{literal}
|
||||
|
||||
$(function () {
|
||||
$('#conference_1').show();
|
||||
calculatePrice();
|
||||
});
|
||||
|
||||
function calculatePrice() {
|
||||
if ($("#conference_fee_disc").is(':checked')) {
|
||||
//alert('disc');
|
||||
var price = {/literal}{$arrayPricePromJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPricePromVatJson}{literal};
|
||||
}
|
||||
if ($("#conference_fee_norm").is(':checked')) {
|
||||
//alert('normal');
|
||||
var price = {/literal}{$arrayPriceJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPriceVatJson}{literal};
|
||||
}
|
||||
|
||||
|
||||
var sumPrice = 0;
|
||||
var sumPriceVat = 0;
|
||||
var price_info = '';
|
||||
if ($("#conference_fee").is(':checked')) {
|
||||
sumPrice = price[1];
|
||||
sumPriceVat = priceVat[1];
|
||||
price_info += 'cała conf ';
|
||||
}
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
sumPrice = sumPrice + price[2];
|
||||
sumPriceVat = sumPriceVat + priceVat[2];
|
||||
price_info += 'pokój jedynka ';
|
||||
}
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
sumPrice = sumPrice + price[3];
|
||||
sumPriceVat = sumPriceVat + priceVat[3];
|
||||
price_info += 'osoba dodatkoawa ';
|
||||
}
|
||||
if ($("#price_plus_ang").is(':checked')) {
|
||||
sumPrice = sumPrice + price[4];
|
||||
sumPriceVat = sumPriceVat + priceVat[4];
|
||||
price_info += 'ang ';
|
||||
}
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
sumPrice = price[5];
|
||||
sumPriceVat = priceVat[5];
|
||||
price_info = 'jeden dzień ';
|
||||
}
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
//alert(sumPrice);
|
||||
$("p.price_info").html(price_info);
|
||||
window.sumPrice = sumPrice;
|
||||
window.sumPriceVat = sumPriceVat;
|
||||
|
||||
|
||||
}
|
||||
$(function () {
|
||||
$(".conference_fee").on('change', function () {
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
$("#price_plus_ang").prop("checked", false);
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<div class="confOptionContainer" id="conference_1">
|
||||
<label class="control control--checkbox" > Dopłata do pokoju 1-osobowego (w innym hotelu)
|
||||
<input type="checkbox" name="fee_room1" class="price_plus_room" id="price_plus_room" data-theme="d" value="2" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" > Opłata za pobyt osoby towarzyszącej lub kierowcy w pokoju dwuosobowym
|
||||
<input type="checkbox" name="fee_room_add_person" id="price_plus_person" data-theme="d" onclick="$('#price_plus_room').prop
|
||||
("checked", true);" value="3" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" style="display: none;" > Udział w konferencji Ang.
|
||||
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
|
||||
$('#conference_2').show(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="confOptionContainer" id="conference_2">
|
||||
Wybierz dzień konferencji:
|
||||
<label class="control control--radio">08.11
|
||||
<input type="radio" name="day_conference" value="8.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">09.11
|
||||
<input type="radio" name="day_conference" value="9.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">10.11
|
||||
<input type="radio" name="day_conference" value="10.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cena za konferencję'}</div>
|
||||
<div class="value"><p class="price_full_fee" style="margin: 0px;"> </p></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="entry">
|
||||
<div><h5 align="center"> </h5></div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div>
|
||||
<p>{$indexNews->GetShortnote()}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="entry" style="padding-top: 1.1em;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
|
||||
<input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha">
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry entryLast">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><input class="button _sendContact" type="button" value="{translate word='send'}" /></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
314
_rejestracja/template/partial/Index/Index__.tp
Normal file
314
_rejestracja/template/partial/Index/Index__.tp
Normal file
@@ -0,0 +1,314 @@
|
||||
{* Main *}
|
||||
<div style="text-align: left;">
|
||||
|
||||
{if $showNews}
|
||||
<h2>{$indexNews->GetTitle()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
<a href="{url label=$objNewsElement->GetUrlLabel()}" >{$objNewsElement->GetName()}</a>
|
||||
{else}
|
||||
<h2>{$indexNews->GetName()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
{/if}
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<form method="post" action="{url label=current}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Dane uczestnika (służbowe)'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Imię'}:</div>
|
||||
<div class="value">{formField name="name" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwisko'}:</div>
|
||||
<div class="value">{formField name="surname" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł/stop. naukowy'}:</div>
|
||||
<div class="value">{formField name="degree" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Stanowisko'}:</div>
|
||||
<div class="value">{formField name="position" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Telefon'}:</div>
|
||||
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Fax'}:</div>
|
||||
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Miejsce pracy'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Instytucja'}:</div>
|
||||
<div class="value">{formField name="institution" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Ulica i numer'}:</div>
|
||||
<div class="value">{formField name="address" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Kod pocztowy'}:</div>
|
||||
<div class="value">{formField name="post_code" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Miejscowość'}:</div>
|
||||
<div class="value">{formField name="city" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='NIP Instytucji'}:</div>
|
||||
<div class="value">{formField name="nip" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam referat</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="referat" class="referat" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="referat" class="referat" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam poster</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="poster" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="poster" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="message" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Streszczenie referatu/posteru'}:</br><sub>(maksymalnie 1200 znaków)</sub></div>
|
||||
<div class="value">{formField name="message_long" type="textarea" maxlength="1200"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Autor referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="autor" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<div class="entry">
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Udział w konrefencji'}:</h5></div>
|
||||
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Opłata'}: </div>
|
||||
<div class="value">
|
||||
<div class="confOption">
|
||||
|
||||
<label class="control control--radio">Opłata zwykła (płatność po 14.10.2022)
|
||||
<input type="radio" name="conference_fee_disc" checked="true" id="conference_fee_norm" class="conference_fee_disc" value="2" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cała konferencja'}: </div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" checked="true" id="conference_fee" class="conference_fee" value="1" onclick="$('#conference_1').show();
|
||||
$('#conference_2').hide(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<script>
|
||||
{literal}
|
||||
|
||||
$(function () {
|
||||
$('#conference_1').show();
|
||||
calculatePrice();
|
||||
});
|
||||
|
||||
function calculatePrice() {
|
||||
if ($("#conference_fee_disc").is(':checked')) {
|
||||
//alert('disc');
|
||||
var price = {/literal}{$arrayPricePromJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPricePromVatJson}{literal};
|
||||
}
|
||||
if ($("#conference_fee_norm").is(':checked')) {
|
||||
//alert('normal');
|
||||
var price = {/literal}{$arrayPriceJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPriceVatJson}{literal};
|
||||
}
|
||||
|
||||
|
||||
var sumPrice = 0;
|
||||
var sumPriceVat = 0;
|
||||
var price_info = '';
|
||||
if ($("#conference_fee").is(':checked')) {
|
||||
sumPrice = price[1];
|
||||
sumPriceVat = priceVat[1];
|
||||
price_info += 'cała conf ';
|
||||
}
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
sumPrice = sumPrice + price[2];
|
||||
sumPriceVat = sumPriceVat + priceVat[2];
|
||||
price_info += 'pokój jedynka ';
|
||||
}
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
sumPrice = sumPrice + price[3];
|
||||
sumPriceVat = sumPriceVat + priceVat[3];
|
||||
price_info += 'osoba dodatkoawa ';
|
||||
}
|
||||
if ($("#price_plus_ang").is(':checked')) {
|
||||
sumPrice = sumPrice + price[4];
|
||||
sumPriceVat = sumPriceVat + priceVat[4];
|
||||
price_info += 'ang ';
|
||||
}
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
sumPrice = price[5];
|
||||
sumPriceVat = priceVat[5];
|
||||
price_info = 'jeden dzień ';
|
||||
}
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
//alert(sumPrice);
|
||||
$("p.price_info").html(price_info);
|
||||
window.sumPrice = sumPrice;
|
||||
window.sumPriceVat = sumPriceVat;
|
||||
|
||||
|
||||
}
|
||||
$(function () {
|
||||
$(".conference_fee").on('change', function () {
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
$("#price_plus_ang").prop("checked", false);
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<div class="confOptionContainer" id="conference_1">
|
||||
<label class="control control--checkbox" > Dopłata do pokoju 1-osobowego
|
||||
<input type="checkbox" name="fee_room1" class="price_plus_room" id="price_plus_room" data-theme="d" value="2" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" > Opłata za pobyt osoby towarzyszącej lub kierowcy w pokoju dwuosobowym
|
||||
<input type="checkbox" name="fee_room_add_person" id="price_plus_person" data-theme="d" onclick="$('#price_plus_room').prop
|
||||
("checked", true);" value="3" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" style="display: none;" > Udział w konferencji Ang.
|
||||
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
|
||||
$('#conference_2').show(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="confOptionContainer" id="conference_2">
|
||||
Wybierz dzień konferencji:
|
||||
<label class="control control--radio">04.11
|
||||
<input type="radio" name="day_conference" value="03.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">05.11
|
||||
<input type="radio" name="day_conference" value="04.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">06.11
|
||||
<input type="radio" name="day_conference" value="05.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cena za konferencje'}</div>
|
||||
<div class="value"><p class="price_full_fee" style="margin: 0px;"> </p></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="entry">
|
||||
<div><h5 align="center"> </h5></div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div>
|
||||
<p>{$indexNews->GetShortnote()}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="entry" style="padding-top: 1.1em;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
|
||||
<input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha">
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry entryLast">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><input class="button _sendContact" type="button" value="{translate word='send'}" /></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
309
_rejestracja/template/partial/Index/Index_good.tpl
Normal file
309
_rejestracja/template/partial/Index/Index_good.tpl
Normal file
@@ -0,0 +1,309 @@
|
||||
{* Main *}
|
||||
<div style="text-align: left;">
|
||||
|
||||
{if $showNews}
|
||||
<h2>{$indexNews->GetTitle()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
<a href="{url label=$objNewsElement->GetUrlLabel()}" >{$objNewsElement->GetName()}</a>
|
||||
{else}
|
||||
<h2>{$indexNews->GetName()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
{/if}
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<form method="post" action="{url label=current}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Dane uczestnika (służbowe)'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Imię'}:</div>
|
||||
<div class="value">{formField name="name" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwisko'}:</div>
|
||||
<div class="value">{formField name="surname" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł/stop. naukowy'}:</div>
|
||||
<div class="value">{formField name="degree" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Stanowisko'}:</div>
|
||||
<div class="value">{formField name="position" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Telefon'}:</div>
|
||||
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Fax'}:</div>
|
||||
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Miejsce pracy'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Instytucja'}:</div>
|
||||
<div class="value">{formField name="institution" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Ulica i numer'}:</div>
|
||||
<div class="value">{formField name="address" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Kod pocztowy'}:</div>
|
||||
<div class="value">{formField name="post_code" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Miejscowość'}:</div>
|
||||
<div class="value">{formField name="city" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='NIP Instytucji'}:</div>
|
||||
<div class="value">{formField name="nip" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam referat</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="referat" class="referat" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="referat" class="referat" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam poster</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="poster" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="poster" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="message" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Autor referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="autor" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<div class="entry">
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Udział w konrefencji'}:</h5></div>
|
||||
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Opłata'}: </div>
|
||||
<div class="value">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">Opłata obniżona (płatność do 11.10.2024)
|
||||
<input type="radio" name="conference_fee_disc" id="conference_fee_disc2" checked="true" class="conference_fee_disc" value="1" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Opłata zwykła (płatność po 11.10.2024)
|
||||
<input type="radio" name="conference_fee_disc" id="conference_fee_norm" class="conference_fee_disc" value="2" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cała konferencja'}: </div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" checked="true" id="conference_fee" class="conference_fee" value="1" onclick="$('#conference_1').show();
|
||||
$('#conference_2').hide(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<script>
|
||||
{literal}
|
||||
|
||||
$(function () {
|
||||
$('#conference_1').show();
|
||||
calculatePrice();
|
||||
});
|
||||
|
||||
function calculatePrice() {
|
||||
if ($("#conference_fee_disc").is(':checked')) {
|
||||
var price = {/literal}{$arrayPricePromJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPricePromVatJson}{literal};
|
||||
}
|
||||
if ($("#conference_fee_norm").is(':checked')) {
|
||||
var price = {/literal}{$arrayPriceJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPriceVatJson}{literal};
|
||||
}
|
||||
|
||||
|
||||
var sumPrice = 0;
|
||||
var sumPriceVat = 0;
|
||||
var price_info = '';
|
||||
if ($("#conference_fee").is(':checked')) {
|
||||
sumPrice = price[1];
|
||||
sumPriceVat = priceVat[1];
|
||||
price_info += 'cała conf ';
|
||||
}
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
sumPrice = sumPrice + price[2];
|
||||
sumPriceVat = sumPriceVat + priceVat[2];
|
||||
price_info += 'pokój jedynka ';
|
||||
}
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
sumPrice = sumPrice + price[3];
|
||||
sumPriceVat = sumPriceVat + priceVat[3];
|
||||
price_info += 'osoba dodatkoawa ';
|
||||
}
|
||||
if ($("#price_plus_ang").is(':checked')) {
|
||||
sumPrice = sumPrice + price[4];
|
||||
sumPriceVat = sumPriceVat + priceVat[4];
|
||||
price_info += 'ang ';
|
||||
}
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
sumPrice = price[5];
|
||||
sumPriceVat = priceVat[5];
|
||||
price_info = 'jeden dzień ';
|
||||
}
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
$("p.price_info").html(price_info);
|
||||
window.sumPrice = sumPrice;
|
||||
window.sumPriceVat = sumPriceVat;
|
||||
|
||||
|
||||
}
|
||||
$(function () {
|
||||
$(".conference_fee").on('change', function () {
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
$("#price_plus_ang").prop("checked", false);
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<div class="confOptionContainer" id="conference_1">
|
||||
<label class="control control--checkbox" > Dopłata do pokoju 1-osobowego
|
||||
<input type="checkbox" name="fee_room1" class="price_plus_room" id="price_plus_room" data-theme="d" value="2" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" > Opłata za pobyt osoby towarzyszącej lub kierowcy w pokoju dwuosobowym
|
||||
<input type="checkbox" name="fee_room_add_person" id="price_plus_person" data-theme="d" onclick="$('#price_plus_room').prop
|
||||
("checked", true);" value="3" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" style="display: none;" > Udział w konferencji Ang.
|
||||
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
|
||||
$('#conference_2').show(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="confOptionContainer" id="conference_2">
|
||||
Wybierz dzień konferencji:
|
||||
<label class="control control--radio">06.11
|
||||
<input type="radio" name="day_conference" value="6.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">07.11
|
||||
<input type="radio" name="day_conference" value="7.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">8.11
|
||||
<input type="radio" name="day_conference" value="8.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cena za konferencję'}</div>
|
||||
<div class="value"><p class="price_full_fee" style="margin: 0px;"> </p></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="entry">
|
||||
<div><h5 align="center"> </h5></div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div>
|
||||
<p>{$indexNews->GetShortnote()}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="entry" style="padding-top: 1.1em;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
|
||||
<input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha">
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry entryLast">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><input class="button _sendContact" type="button" value="{translate word='send'}" /></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
314
_rejestracja/template/partial/Index/Index_pokonf.tp_
Normal file
314
_rejestracja/template/partial/Index/Index_pokonf.tp_
Normal file
@@ -0,0 +1,314 @@
|
||||
{* Main *}
|
||||
<div style="text-align: left;">
|
||||
|
||||
{if $showNews}
|
||||
<h2>{$indexNews->GetTitle()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
<a href="{url label=$objNewsElement->GetUrlLabel()}" >{$objNewsElement->GetName()}</a>
|
||||
{else}
|
||||
<h2>{$indexNews->GetName()}</h2><p>{$indexNews->GetDescription()}</p>
|
||||
{/if}
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<form method="post" action="{url label=current}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Dane uczestnika (służbowe)'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Imię'}:</div>
|
||||
<div class="value">{formField name="name" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwisko'}:</div>
|
||||
<div class="value">{formField name="surname" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł/stop. naukowy'}:</div>
|
||||
<div class="value">{formField name="degree" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Stanowisko'}:</div>
|
||||
<div class="value">{formField name="position" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Telefon'}:</div>
|
||||
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Fax'}:</div>
|
||||
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Miejsce pracy'}:</h5></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Instytucja'}:</div>
|
||||
<div class="value">{formField name="institution" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Ulica i numer'}:</div>
|
||||
<div class="value">{formField name="address" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Kod pocztowy'}:</div>
|
||||
<div class="value">{formField name="post_code" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Miejscowość'}:</div>
|
||||
<div class="value">{formField name="city" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='NIP Instytucji'}:</div>
|
||||
<div class="value">{formField name="nip" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam referat</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="referat" class="referat" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="referat" class="referat" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">Zgłaszam poster</div>
|
||||
<div class="value" title="s">
|
||||
|
||||
<label class="control control--radio">Tak
|
||||
<input type="radio" name="poster" value="1" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">Nie
|
||||
<input type="radio" name="poster" value="2" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="message" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Streszczenie referatu/posteru'}:</br><sub>(maksymalnie 1200 znaków)</sub></div>
|
||||
<div class="value">{formField name="message_long" type="textarea" maxlength="1200"}</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Autor referatu/posteru'}:</div>
|
||||
<div class="value">{formField name="autor" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<div class="entry">
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" title="{translate word='agree_title'}">
|
||||
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div><h5 align="center">{translate word='Udział w konrefencji'}:</h5></div>
|
||||
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Opłata'}: </div>
|
||||
<div class="value">
|
||||
<div class="confOption">
|
||||
|
||||
<label class="control control--radio">Opłata zwykła
|
||||
<input type="radio" name="conference_fee_disc" id="conference_fee_norm" checked="true" class="conference_fee_disc" value="2" onclick="calculatePrice();"/>
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cała konferencja'}: </div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" checked="true" id="conference_fee" class="conference_fee" value="1" onclick="$('#conference_1').show();
|
||||
$('#conference_2').hide(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<script>
|
||||
{literal}
|
||||
|
||||
$(function () {
|
||||
$('#conference_1').show();
|
||||
calculatePrice();
|
||||
});
|
||||
|
||||
function calculatePrice() {
|
||||
if ($("#conference_fee_disc").is(':checked')) {
|
||||
//alert('disc');
|
||||
var price = {/literal}{$arrayPricePromJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPricePromVatJson}{literal};
|
||||
}
|
||||
if ($("#conference_fee_norm").is(':checked')) {
|
||||
//alert('normal');
|
||||
var price = {/literal}{$arrayPriceJson}{literal};
|
||||
var priceVat = {/literal}{$arrayPriceVatJson}{literal};
|
||||
}
|
||||
|
||||
|
||||
var sumPrice = 0;
|
||||
var sumPriceVat = 0;
|
||||
var price_info = '';
|
||||
if ($("#conference_fee").is(':checked')) {
|
||||
sumPrice = price[1];
|
||||
sumPriceVat = priceVat[1];
|
||||
price_info += 'cała conf ';
|
||||
}
|
||||
if ($("#price_plus_room").is(':checked')) {
|
||||
sumPrice = sumPrice + price[2];
|
||||
sumPriceVat = sumPriceVat + priceVat[2];
|
||||
price_info += 'pokój jedynka ';
|
||||
}
|
||||
if ($("#price_plus_person").is(':checked')) {
|
||||
sumPrice = sumPrice + price[3];
|
||||
sumPriceVat = sumPriceVat + priceVat[3];
|
||||
price_info += 'osoba dodatkoawa ';
|
||||
}
|
||||
if ($("#price_plus_ang").is(':checked')) {
|
||||
sumPrice = sumPrice + price[4];
|
||||
sumPriceVat = sumPriceVat + priceVat[4];
|
||||
price_info += 'ang ';
|
||||
}
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
sumPrice = price[5];
|
||||
sumPriceVat = priceVat[5];
|
||||
price_info = 'jeden dzień ';
|
||||
}
|
||||
$("p.price_full_fee").html(sumPrice + ',00 PLN netto ' + '(' + sumPriceVat + ',00 PLN brutto)');
|
||||
//alert(sumPrice);
|
||||
$("p.price_info").html(price_info);
|
||||
window.sumPrice = sumPrice;
|
||||
window.sumPriceVat = sumPriceVat;
|
||||
|
||||
|
||||
}
|
||||
$(function () {
|
||||
$(".conference_fee").on('change', function () {
|
||||
if ($("#conference_fee_one").is(':checked')) {
|
||||
$("#price_plus_room").prop("checked", false);
|
||||
$("#price_plus_ang").prop("checked", false);
|
||||
$("#price_plus_person").prop("checked", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<div class="confOptionContainer" id="conference_1">
|
||||
<label class="control control--checkbox" > Dopłata do pokoju 1-osobowego
|
||||
<input type="checkbox" name="fee_room1" class="price_plus_room" id="price_plus_room" data-theme="d" value="2" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" > Opłata za pobyt osoby towarzyszącej lub kierowcy w pokoju dwuosobowym
|
||||
<input type="checkbox" name="fee_room_add_person" id="price_plus_person" data-theme="d" onclick="$('#price_plus_room').prop
|
||||
("checked", true);" value="3" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--checkbox" style="display: none;" > Udział w konferencji Ang.
|
||||
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" onchange="calculatePrice();" >
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
|
||||
<div class="value">
|
||||
<div class="configContainer">
|
||||
<div class="confOption">
|
||||
<label class="control control--radio">
|
||||
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
|
||||
$('#conference_2').show(); calculatePrice();" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<div class="confOptionContainer" id="conference_2">
|
||||
Wybierz dzień konferencji:
|
||||
<label class="control control--radio">16.11
|
||||
<input type="radio" name="day_conference" value="16.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">17.11
|
||||
<input type="radio" name="day_conference" value="17.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
<label class="control control--radio">18.11
|
||||
<input type="radio" name="day_conference" value="18.11" />
|
||||
<div class="control__indicator"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Cena za konferencje'}</div>
|
||||
<div class="value"><p class="price_full_fee" style="margin: 0px;"> </p></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="entry">
|
||||
<div><h5 align="center"> </h5></div>
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
<div>
|
||||
<p>{$indexNews->GetShortnote()}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="entry" style="padding-top: 1.1em;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
|
||||
<input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha">
|
||||
</div>
|
||||
</div>
|
||||
<div class="entry entryLast">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><input class="button _sendContact" type="button" value="{translate word='send'}" /></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
16
_rejestracja/template/partial/Index/MailTxt.tpl
Normal file
16
_rejestracja/template/partial/Index/MailTxt.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
Wpłynęło zapytanie od [{$email}] {$post.name} {$post.surname}
|
||||
{*Treść:<br /><br />
|
||||
{$message|nl2br}*}
|
||||
<br />
|
||||
<br />
|
||||
Kontakt:
|
||||
<br />
|
||||
{$post.name} {$post.surname}<br />
|
||||
Telefon: {$post.phone}<br />
|
||||
Adres e-mail: {$post.email}<br />
|
||||
|
||||
|
||||
|
||||
<p>Kalkulacja:</p>
|
||||
{$textPrice}
|
||||
46
_rejestracja/template/partial/Index/Maps.tpl
Normal file
46
_rejestracja/template/partial/Index/Maps.tpl
Normal file
@@ -0,0 +1,46 @@
|
||||
<section id="main" class="main contentText right dark fullscreen">
|
||||
|
||||
<div class="content box contentText">
|
||||
|
||||
<div class="tresc">
|
||||
<h1 class="title">{'maps_site'|translate}</h1>
|
||||
<div class="menuRight">
|
||||
{foreach from=$arrayTree item=itemLeft}
|
||||
<div class="link1-head"><a href="{$itemLeft->GetUrlWithType()}" >{$itemLeft->GetElementName()}</a></div>
|
||||
|
||||
|
||||
{if $itemLeft->GetHaveChildren()}
|
||||
{foreach from=$itemLeft->arrayChildren item=objElementSubChild name=childMenu key=keyChild}
|
||||
|
||||
{assign var=urlSubChild value=$objElementSubChild->GetUrlWithType()}
|
||||
{* {assign var=idParentSubChild value=$objElementSubChild->GetId()}*}
|
||||
|
||||
<div class="link1"><a href="{$urlSubChild}" >{$objElementSubChild->GetElementName()}</a></div>
|
||||
|
||||
{if $objElementSubChild->GetHaveChildren()} {*&& $active2 == $objElementSubChild->getId()*}
|
||||
{foreach from=$objElementSubChild->arrayChildren item=objElementSubSubChild name=childMenu key=keyChild}
|
||||
{assign var=urlSubSubChild value=$objElementSubSubChild->GetUrlWithType()}
|
||||
|
||||
<div class="link2"><astyle href="{$urlSubSubChild}" >{$objElementSubSubChild->GetElementName()}</a></div>
|
||||
{if $objElementSubSubChild->GetHaveChildren()}
|
||||
{assign var=arraySubSubSub value=$objElementSubSubChild->arrayChildren}
|
||||
{section keyElement $arraySubSubSub}
|
||||
<div class="link3"><a href="{$arraySubSubSub[keyElement]->GetUrlWithType()}" >{$arraySubSubSub[keyElement]->GetElementName()}</a></div>
|
||||
|
||||
{/section}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
127
_rejestracja/template/partial/Index/_/IndexSent.tpl
Normal file
127
_rejestracja/template/partial/Index/_/IndexSent.tpl
Normal file
@@ -0,0 +1,127 @@
|
||||
<div style="text-align: left;">
|
||||
<h2>Dziękujemy za rejestrację na II Kongres Surowcowy</h2>
|
||||
<p><b>Termin: 3-6 listopada 2025 r.</b></p>
|
||||
<p><b>Miejsce kongresu: Krynica-Zdrój</b></p>
|
||||
<h3>Podsumowanie </h3>
|
||||
<p>{'info_wysłane'|translate}</p>
|
||||
<div>
|
||||
<div class="divFormTable">
|
||||
<div class="divTableFormBody">
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane uczestnika:</h3>
|
||||
Imię: {$objParticipant->getName()}</br>
|
||||
Nazwisko: {$objParticipant->getSurname()}</br>
|
||||
Tytuł/stop. naukowy:{$objParticipant->getDegree()}</br>
|
||||
Stanowisko: {$objParticipant->getPosition()|default:'brak'}</br>
|
||||
Telefon: {$objParticipant->getPhone()}</br>
|
||||
Fax: {$objParticipant->getFax()|default:'brak'}</br>
|
||||
Email: {$objParticipant->getEmail()}</br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane instytucji:</h3>
|
||||
Instytucja: {$objParticipant->getInstitution()|default:'brak'}</br>
|
||||
Ulica i numer: {$objParticipant->getAddress()|default:'brak'}</br>
|
||||
Kod pocztowy: {$objParticipant->getPostCode()|default:'brak'}</br>
|
||||
Miejscowość: {$objParticipant->getCity()|default:'brak'}</br>
|
||||
NIP Instytucji: {$objParticipant->getNip()|default:'brak'}</br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane wystąpienia:</h3>
|
||||
Referat: {$objParticipant->getReferat()|default:'Nie'|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}</br>
|
||||
Poster: {$objParticipant->getPoster()|default:'Nie'|replace:1:'Tak'|replace:2:'Nie'|replace:0:'Nie'}
|
||||
<p>Tytuł referatu/posteru: {$objParticipant->getMessage()|default:'brak'}</p>
|
||||
<p>Autor: {$objParticipant->getAutor()|default:'brak'}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Informacja o kwocie do zapłaty:</h3>
|
||||
<div>
|
||||
Wybrane opcje:</br>
|
||||
{* {if $discPrice == 2}*}
|
||||
{if 2 == 2}
|
||||
|
||||
Opłata zwykła (płatność <b>po 11.10.2024</b>)
|
||||
{else}
|
||||
Opłata obniżona (płatność <b>do 11.10.2024</b>)
|
||||
{/if}
|
||||
<ul>
|
||||
{foreach $arrayObjParameters as $objParam}
|
||||
{if in_array($objParam->GetId(),$arrayFee)}
|
||||
{* {if $discPrice == 2}*}
|
||||
{if 2 == 1}
|
||||
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$objParticipant->GetFeeOneDay()}){/if}</br>
|
||||
Cena netto: {$objParam->GetPrice()|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto: {assign var="vat" value=$objParam->GetPrice()*1.23}{$vat|number_format:2:",":" "} PLN</br>
|
||||
</li>
|
||||
|
||||
<h3>Razem do zapłaty:</h3>
|
||||
{assign var="resultPrice" value=$objParticipant->getPrice()}
|
||||
Cena netto: {$resultPrice|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto: {assign var="resultPriceVat" value=$resultPrice*1.23}{$resultPriceVat|number_format:2:",":" "} PLN</br>
|
||||
|
||||
{else}
|
||||
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$objParticipant->GetFeeOneDay()}){/if}</br>
|
||||
Cena netto (bez VAT): {$objParam->GetPriceProm()|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto (z VAT): {assign var="vat" value=$objParam->GetPriceProm()*1.23}{$vat|number_format:2:",":" "} PLN</br>
|
||||
</li>
|
||||
|
||||
{assign var="resultPrice" value=$objParticipant->GetPrice()}
|
||||
Cena netto: {$resultPrice|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto: {assign var="resultPriceVat" value=$resultPrice*1.23}{$resultPriceVat|number_format:2:",":" "} PLN</br>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
<p><b>{'klauzula_ceny'|translate}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Wyrażono zgody:</h3>
|
||||
<p>Zgoda na przetwarzanie danych - {$objParticipant->getAgree1()|default:'Nie'|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
|
||||
<p>Zgoda na przetwarzanie wizerunku - {$objParticipant->getAgree2()|default:'Nie'|replace:1:'Tak'|replace:'on':'Tak'|replace:0:'Nie'}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{literal}
|
||||
<div style="display: none">
|
||||
<style>
|
||||
.divTableForm{
|
||||
display: table;
|
||||
width: 70%;
|
||||
}
|
||||
.divTableFormRow {
|
||||
display: table-row;
|
||||
}
|
||||
.divTableFormHeading {
|
||||
background-color: #EEE;
|
||||
display: table-header-group;
|
||||
}
|
||||
.divTableFormCell, .divTableFormHead {
|
||||
border: 0px solid #999999;
|
||||
display: table-cell;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
.divTableFormHeading {
|
||||
background-color: #EEE;
|
||||
display: table-header-group;
|
||||
font-weight: bold;
|
||||
}
|
||||
.divTableFormFoot {
|
||||
background-color: #EEE;
|
||||
display: table-footer-group;
|
||||
font-weight: bold;
|
||||
}
|
||||
.divTableFormBody {
|
||||
display: table-row-group;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{/literal}
|
||||
Reference in New Issue
Block a user