update
This commit is contained in:
84
template/partial/Index/AjaxForm.tpl
Normal file
84
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
template/partial/Index/Captcha.tpl
Normal file
0
template/partial/Index/Captcha.tpl
Normal file
7
template/partial/Index/Error404.tpl
Normal file
7
template/partial/Index/Error404.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
<div style="height:auto; min-height:100%; "> <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
|
||||
<h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">404 </h1>
|
||||
<h2 style="margin-top:20px;font-size: 30px;">Brak strony
|
||||
</h2>
|
||||
|
||||
</div></div>
|
||||
165
template/partial/Index/Index.tpl
Normal file
165
template/partial/Index/Index.tpl
Normal file
@@ -0,0 +1,165 @@
|
||||
{* Slider *}
|
||||
{* {$banerBox}
|
||||
<div class="cb"></div>*}
|
||||
|
||||
<!-- {* Ikonki odracane *}
|
||||
<section id="intro" class="main style3 primary">
|
||||
<div class="container">
|
||||
<div class="rowIntro scrollHiddenOn" >
|
||||
{literal}
|
||||
<script>
|
||||
$(function () {
|
||||
$('.containerSecurity').mouseenter(function () {
|
||||
$('.front.security').transition({rotateY: '180deg', easing: 'ease', duration: 800});
|
||||
$('.back.security').transition({rotateY: '0deg', easing: 'ease', duration: 800});
|
||||
});
|
||||
$('.containerSecurity').mouseleave(function () {
|
||||
$('.back.security').transition({rotateY: '180deg', easing: 'ease', duration: 800});
|
||||
$('.front.security').transition({rotateY: '0deg', easing: 'ease', duration: 800});
|
||||
});
|
||||
|
||||
$('.containerEnergy').mouseenter(function () {
|
||||
$('.front.energy').transition({rotateY: '180deg', easing: 'ease', duration: 800});
|
||||
$('.back.energy').transition({rotateY: '0deg', easing: 'ease', duration: 800});
|
||||
});
|
||||
$('.containerEnergy').mouseleave(function () {
|
||||
$('.back.energy').transition({rotateY: '180deg', easing: 'ease', duration: 800});
|
||||
$('.front.energy').transition({rotateY: '0deg', easing: 'ease', duration: 800});
|
||||
});
|
||||
|
||||
$('.containerProperty').mouseenter(function () {
|
||||
$('.front.property').transition({rotateY: '180deg', easing: 'ease', duration: 800});
|
||||
$('.back.property').transition({rotateY: '0deg', easing: 'ease', duration: 800});
|
||||
});
|
||||
$('.containerProperty').mouseleave(function () {
|
||||
$('.back.property').transition({rotateY: '180deg', easing: 'ease', duration: 800});
|
||||
$('.front.property').transition({rotateY: '0deg', easing: 'ease', duration: 800});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<div class="col-4 col-s-12 posRel containerSecurity">
|
||||
|
||||
<section class="introBox security flipBox front">
|
||||
<div class="securityIcon"></div>
|
||||
<div class="lineTop lineTopSecurity"></div>
|
||||
<header>
|
||||
<div class="introBoxText">
|
||||
{$objBox1->GetDescription()}
|
||||
</div>
|
||||
</header>
|
||||
<div class="lineBottom lineBottomSecurity "></div>
|
||||
</section>
|
||||
{*<section class="introBox security flipBox back" {if $securityObj->GetSourceUrl()}onclick="window.location.href = 'http://{$securityObj->GetSourceUrl()}';" style="cursor: pointer;" {/if}>
|
||||
{if $securityObj->GetTitle()}
|
||||
<header>
|
||||
<h2>{$securityObj->GetTitle()}</h2>
|
||||
</header>
|
||||
{/if}
|
||||
<div class="introBoxText">
|
||||
{$securityObj->GetDescription()}
|
||||
</div>
|
||||
</section>*}
|
||||
<section class="introBox security flipBox back" {if $objBox1->GetSourceUrl()}onclick="window.location.href = 'http://{$objBox1->GetSourceUrl()|replace:"http://":""}';" style="cursor: pointer;" {/if} >
|
||||
|
||||
<div class="securityIcon_back"></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-4 col-s-12 posRel containerEnergy">
|
||||
<section class="introBox energy flipBox front">
|
||||
<div class="energyIcon"></div>
|
||||
<div class="lineTop lineTopEnergy"></div>
|
||||
<header>
|
||||
<div class="introBoxText">
|
||||
{$objBox2->GetDescription()}
|
||||
</div>
|
||||
</header>
|
||||
<div class="lineBottom lineBottomEnergy"></div>
|
||||
</section>
|
||||
{*<section class="introBox energy flipBox back" {if $energyObj->GetSourceUrl()}onclick="window.location.href = 'http://{$energyObj->GetSourceUrl()}';" style="cursor: pointer;" {/if}>
|
||||
{if $energyObj->GetTitle()}
|
||||
<header>
|
||||
<h2>{$energyObj->GetTitle()}</h2>
|
||||
</header>
|
||||
{/if}
|
||||
<div class="introBoxText">
|
||||
{$energyObj->GetDescription()}
|
||||
</div>
|
||||
</section>*}
|
||||
<section class="introBox energy flipBox back" {if $objBox2->GetSourceUrl()}onclick="window.location.href = 'http://{$objBox2->GetSourceUrl()|replace:"http://":""}';" style="cursor: pointer;" {/if} >
|
||||
<div class="energyIcon_back"></div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<div class="col-4 col-s-12 posRel containerProperty">
|
||||
<section class="introBox property flipBox front">
|
||||
<div class="propertyIcon"></div>
|
||||
<div class="lineTop lineTopProperty"></div>
|
||||
<header>
|
||||
<div class="introBoxText">
|
||||
{$objBox3->GetDescription()}
|
||||
</div>
|
||||
</header>
|
||||
<div class="lineBottom lineBottomProperty"></div>
|
||||
</section>
|
||||
{*<section class="introBox property flipBox back" {if $propertyObj->GetSourceUrl()}onclick="window.location.href = 'http://{$propertyObj->GetSourceUrl()}';" style="cursor: pointer;" {/if}>
|
||||
{if $propertyObj->GetTitle()}
|
||||
<header>
|
||||
<h2>{$propertyObj->GetTitle()}</h2>
|
||||
</header>
|
||||
{/if}
|
||||
<div class="introBoxText">
|
||||
{$propertyObj->GetDescription()}
|
||||
</div>
|
||||
</section>*}
|
||||
<section class="introBox property flipBox back" {if $objBox3->GetSourceUrl()}onclick="window.location.href = 'http://{$objBox3->GetSourceUrl()|replace:"http://":""}';" style="cursor: pointer;" {/if} >
|
||||
<div class="propertyIcon_back"></div>
|
||||
</section>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
</section> !-->
|
||||
|
||||
{* Boxy *}
|
||||
|
||||
|
||||
{foreach from=$arrayObjHomeArticle item=objArticleSG key=keyHome}
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
$(function () {
|
||||
$( window ).scroll(function() {
|
||||
if ($('.containerBoxNr{/literal}{$keyHome}{literal}').visible(true)) {
|
||||
$('.boxSG{/literal}{$keyHome}{literal}').addClass('scrollHiddenOff');
|
||||
$('.boxSG{/literal}{$keyHome}{literal}').removeClass('scrollHiddenOn');
|
||||
} else {
|
||||
$('.boxSG{/literal}{$keyHome}{literal}').addClass('scrollHiddenOn');
|
||||
$('.boxSG{/literal}{$keyHome}{literal}').removeClass('scrollHiddenOff');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
<section id="contentMain" class="main style3 primary containerBoxNr{$keyHome}">
|
||||
<div class="container trescSG boxSG{$keyHome}" >
|
||||
|
||||
{if $objArticleSG->GetName()}
|
||||
<header>
|
||||
<h2>{$objArticleSG->GetName()}</h2>
|
||||
</header>
|
||||
{/if}
|
||||
<div class="trescSGText">
|
||||
{$objArticleSG->GetDescription()}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/foreach}
|
||||
<div class="cb"></div>
|
||||
|
||||
|
||||
94
template/partial/Index/IndexSent.tpl
Normal file
94
template/partial/Index/IndexSent.tpl
Normal file
@@ -0,0 +1,94 @@
|
||||
<div style="text-align: left;">
|
||||
<h2>{$indexNews->GetName()}</h2><p></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()}</br>
|
||||
Telefon: {$objParticipant->getPhone()}</br>
|
||||
Fax: {$objParticipant->getFax()}</br>
|
||||
Email: {$objParticipant->getEmail()}</br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane instytucji:</h3>
|
||||
Instytucja: {$objParticipant->getInstitution()}</br>
|
||||
Ulica i numer: {$objParticipant->getAddress()}</br>
|
||||
Kod pocztowy: {$objParticipant->getPostCode()}</br>
|
||||
Miejscowość: {$objParticipant->getCity()}</br>
|
||||
NIP Instytucji: {$objParticipant->getNip()}</br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Dane wystapienia:</h3>
|
||||
Referat: {$objParticipant->getReferat()|replace:1:'Tak'|replace:2:'Nie'}</br>
|
||||
Poster: {$objParticipant->getPoster()|replace:1:'Tak'|replace:2:'Nie'}
|
||||
<p>Temat: {$objParticipant->getMessage()|default:'brak'}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divTableFormRow">
|
||||
<div class="divTableFormCell"><h3>Informacje o płatości:</h3>
|
||||
<div>
|
||||
Wybrane opcje:</br>
|
||||
<ul>
|
||||
{foreach $arrayObjParameters as $objParam}
|
||||
{if in_array($objParam->GetId(),$arrayFee)}
|
||||
<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>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<h3>Suma:</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>
|
||||
<p>{'klauzula_ceny'|translate}</p>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{literal}
|
||||
<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>
|
||||
{/literal}
|
||||
16
template/partial/Index/MailTxt.tpl
Normal file
16
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
template/partial/Index/Maps.tpl
Normal file
46
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user