first commit
This commit is contained in:
94
_rejestracja/template/partial/Shared/BanerBox.tpl
Normal file
94
_rejestracja/template/partial/Shared/BanerBox.tpl
Normal file
@@ -0,0 +1,94 @@
|
||||
<section id="slider" class="slider">
|
||||
<div class="flexslider">
|
||||
<ul class="slides">
|
||||
{foreach from=$arrayToEditBaner item=objHomeElementBaner key=keyHome}
|
||||
{if $objHomeElementBaner->GetPhotoUrl()}
|
||||
<li>
|
||||
<div class="clearfix">
|
||||
{if isset($indexSG)}
|
||||
<img src="{$objHomeElementBaner->GetPhotoUrl()}" alt="" />
|
||||
{else}
|
||||
{assign var=imageSlider value=$objHomeElementBaner->GetPhotoPath()}
|
||||
{thumb file=$imageSlider longside=false shortside=false width="1200" height="290" link='false' crop=true }
|
||||
{/if}
|
||||
<div class="wrap">
|
||||
<div class="desc-wrap">
|
||||
<div class="desc"><p style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetDescription()}</p>
|
||||
|
||||
</div>
|
||||
<h3 style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetName()}</h3>
|
||||
<a class="more" href="{$objHomeElementBaner->GetSourceUrl()|default:'#'}" style="opacity: 0; visibility: visible;">{'read_more_slider'|translate}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
{*
|
||||
<ul class="slides">
|
||||
<li>
|
||||
<div class="clearfix">
|
||||
<img src="{$urlStatic}/image/tmp/slider1.jpg" />
|
||||
<div class="wrap">
|
||||
<div class="desc-wrap">
|
||||
<div class="desc"><p style="opacity: 0; visibility: visible;">Sed porttitor lectus nibh. Donec rutrum congue leo eget malesuada.</p>
|
||||
<a class="more" href="#" style="opacity: 0; visibility: visible;">czytaj więcej</a>
|
||||
</div>
|
||||
<h3 style="opacity: 0; visibility: visible;">Sed porttitor lectus nibha</h3>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="clearfix">
|
||||
<img src="{$urlStatic}/image/tmp/slider2.jpg" />
|
||||
<div class="wrap">
|
||||
<div class="desc-wrap">
|
||||
<div class="desc"><p style="opacity: 0; visibility: visible;">Donec rutrum congue leo eget malesuada. </p>
|
||||
<a class="more" href="#" style="opacity: 0; visibility: visible;">czytaj więcej</a>
|
||||
</div>
|
||||
<h3 style="opacity: 0; visibility: visible;">Pellentesque in ipsum id</h3>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="clearfix">
|
||||
<img src="{$urlStatic}/image/tmp/slider3.jpg" />
|
||||
<div class="wrap">
|
||||
<div class="desc-wrap">
|
||||
<div class="desc"><p style="opacity: 0; visibility: visible;">Quisque velit nisi, pretium ut lacinia in, elementum id enim. </p>
|
||||
<a class="more" href="#" style="opacity: 0; visibility: visible;">czytaj więcej</a>
|
||||
</div>
|
||||
<h3 style="opacity: 0; visibility: visible;">Orci porta dapibus.</h3>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="clearfix">
|
||||
<img src="{$urlStatic}/image/tmp/slider4.jpg" />
|
||||
<div class="wrap">
|
||||
<div class="desc-wrap">
|
||||
<div class="desc"><p style="opacity: 0; visibility: visible;">Donec rutrum congue leo eget malesuada. </p>
|
||||
<a class="more" href="#" style="opacity: 0; visibility: visible;">czytaj więcej</a>
|
||||
</div>
|
||||
<h3 style="opacity: 0; visibility: visible;">Curabitur aliquet quam</h3>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>*}
|
||||
0
_rejestracja/template/partial/Shared/GetUrlLang.tpl
Normal file
0
_rejestracja/template/partial/Shared/GetUrlLang.tpl
Normal file
50
_rejestracja/template/partial/Shared/MenuBottomTree.tpl
Normal file
50
_rejestracja/template/partial/Shared/MenuBottomTree.tpl
Normal file
@@ -0,0 +1,50 @@
|
||||
<div class="boxBottomMenu left">
|
||||
{assign var=countMenuArray value=$arrayTree|@count}
|
||||
{foreach from=$arrayTree item=item name=mainMenuBottom key=key}
|
||||
{assign var=id value=$item->GetId()}
|
||||
{assign var=lang value=$item->GetLang()}
|
||||
{assign var=url value=$item->GetUrlWithType()}
|
||||
{assign var=urlName value=$item->GetUrl()}
|
||||
{assign var=name value=$item->GetMenuName()}
|
||||
{assign var=subname value=$item->GetSubname()}
|
||||
{if !$name} {assign var=name value=$item->GetName()}{/if}
|
||||
{if $item->GetType() == 1}
|
||||
<div class="elementBottomMenu" {if $smarty.foreach.mainMenuBottom.last}style="width:100px;"{/if}>
|
||||
<h4><a href="{$url}" >{$name}</a></h4>
|
||||
{if $item->GetHaveChildren()}
|
||||
|
||||
{foreach from=$item->arrayChildren item=objElementSub key=idElementSub name=mainSubMenu}
|
||||
{assign var=urlSub value=$objElementSub->GetUrlWithType()}
|
||||
{assign var=idParentSub value=$objElementSub->GetId()}
|
||||
<div class="itemBotomMenu"><a href="{$urlSub}" >{$objElementSub->GetElementName()}</a></div>
|
||||
{/foreach}
|
||||
|
||||
{/if}
|
||||
{if $name == 'Demo'}
|
||||
|
||||
<div class="itemBotomMenu"><a href="{$url}" >Wersja podstawowa</a></div>
|
||||
<div class="itemBotomMenu"><a href="{$url}" >Wersja pełna</a></div>
|
||||
<div class="itemBotomMenu"><a href="{$url}" >Wersja mobilna</a></div>
|
||||
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div style="margin-top: 15px; text-align: left;">
|
||||
<div class="fb-like" data-href="https://www.facebook.com/pages/GoNet-CRM/435255036505963" data-width="40" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
|
||||
</div>
|
||||
<div style="margin-top: 15px; text-align: left;">
|
||||
<script src="https://apis.google.com/js/platform.js"></script>
|
||||
|
||||
<div class="g-ytsubscribe" data-channel="GoNetCRMSupport" data-layout="default" data-count="hidden"></div>
|
||||
</div>
|
||||
<div style="margin-top: 15px; text-align: left;">
|
||||
<a href="{$urlStatic}/upload/GoNet_QS.exe" title=""><img src="{$urlStatic}/image/team_viewer.gif" alt="" /></a>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
|
||||
|
||||
0
_rejestracja/template/partial/Shared/MenuBox.tpl
Normal file
0
_rejestracja/template/partial/Shared/MenuBox.tpl
Normal file
45
_rejestracja/template/partial/Shared/MenuTopChildTree.tpl
Normal file
45
_rejestracja/template/partial/Shared/MenuTopChildTree.tpl
Normal file
@@ -0,0 +1,45 @@
|
||||
{if isset($arrayTree[$active0]) && $arrayTree[$active0]->GetHaveChildren()}{* || $objElement->GetIdParent() > 0*}
|
||||
<aside class="col-4 columnRight">
|
||||
{* <div class="menuSubRwd" onclick="showHide('.menuRight');"></div> *}
|
||||
<div class="menuRight">
|
||||
{assign var=arrayTopArrayChild value=$arrayTree[$active0]}
|
||||
{assign var=countMenuChildArray value=$arrayTopArrayChild|@count}
|
||||
{if $countMenuChildArray > 0}
|
||||
{assign var=idChild value=$arrayTopArrayChild->GetId()}
|
||||
{assign var=langChild value=$arrayTopArrayChild->GetLang()}
|
||||
{assign var=urlChild value=$arrayTopArrayChild->GetUrlWithType()}
|
||||
{assign var=urlNamChilde value=$arrayTopArrayChild->GetUrl()}
|
||||
{assign var=nameChild value=$arrayTopArrayChild->GetMenuName()}
|
||||
{assign var=subnameChild value=$arrayTopArrayChild->GetSubname()}
|
||||
{if $arrayTopArrayChild->GetHaveChildren()}
|
||||
{foreach $arrayTopArrayChild->arrayChildren as $keyChild=>$objElementSubChild }
|
||||
{if !$nameChild}
|
||||
{assign var=nameChild value=$objElementSubChild->GetName()}
|
||||
{/if}
|
||||
{assign var=urlSubChild value=$objElementSubChild->GetUrlWithType()}
|
||||
{assign var=idParentSubChild value=$objElementSubChild->GetId()}
|
||||
{if $objElementSubChild@first}
|
||||
<div class="link1-head">{$nameChild}</div>
|
||||
{/if}
|
||||
<div class="link1"><a {if $active1 == $objElementSubChild->GetId()}style="color: #68ceff;"{/if} href="{$urlSubChild}" >{$objElementSubChild->GetElementName()}</a></div>
|
||||
{if $objElementSubChild->GetHaveChildren() && $active1 == $objElementSubChild->getId() }
|
||||
{foreach from=$objElementSubChild->arrayChildren item=objElementSubSubChild name=childMenu key=keyChild}
|
||||
{assign var=urlSubSubChild value=$objElementSubSubChild->GetUrlWithType()}
|
||||
{assign var=idParentSubSubChild value=$objElementSubSubChild->GetId()}
|
||||
<div class="link2"><a {if $active2 == $objElementSubSubChild->GetId()}style="color: #68ceff;"{/if} href="{$urlSubSubChild}" >{$objElementSubSubChild->GetElementName()}</a></div>
|
||||
{if $objElementSubSubChild->GetHaveChildren()} {*&& $active2 == $objElementSubSubChild->GetId()*}
|
||||
{assign var=arraySubSubSub value=$objElementSubSubChild->arrayChildren}
|
||||
{section keyElement $arraySubSubSub}
|
||||
<div class="link3"><a {if $active3 == $arraySubSubSub[keyElement]->GetId()}style="color: #68ceff;"{/if} href="{$arraySubSubSub[keyElement]->GetUrlWithType()}" >{$arraySubSubSub[keyElement]->GetElementName()}</a></div>
|
||||
|
||||
{/section}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
{/if}
|
||||
40
_rejestracja/template/partial/Shared/MenuTopTree.tpl
Normal file
40
_rejestracja/template/partial/Shared/MenuTopTree.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
<div class="menu{if !isset($indexSG)} menuBoxSub{/if}" id="menu" style="z-index: 2;">
|
||||
|
||||
<ul id="nav">
|
||||
<li><a href="{$urlMain}" >START</a></li>
|
||||
{assign var=countMenuArray value=$arrayTree|@count}
|
||||
{foreach from=$arrayTree item=item name=mainMenu key=key}
|
||||
{assign var=id value=$item->GetId()}
|
||||
{assign var=lang value=$item->GetLang()}
|
||||
{assign var=url value=$item->GetUrlWithType()}
|
||||
{assign var=urlName value=$item->GetUrl()}
|
||||
{assign var=name value=$item->GetMenuName()}
|
||||
{assign var=subname value=$item->GetSubname()}
|
||||
{if !$name} {assign var=name value=$item->GetName()}{/if}
|
||||
{if $item->GetType() == 1}
|
||||
<li {if $smarty.foreach.mainMenu.last}style="border-right: 0px"{/if}><a href="{$url}" >{$name}</a>{if $item->GetHaveChildren()}<a class="moreLink" href="#" title="" onclick="showHide('#moreLink_{$id}');" >∨</a>{/if}
|
||||
{if $item->GetHaveChildren()}
|
||||
<ul id="moreLink_{$id}" >
|
||||
{foreach from=$item->arrayChildren item=objElementSub key=idElementSub name=mainSubMenu}
|
||||
{assign var=urlSub value=$objElementSub->GetUrlWithType()}
|
||||
{assign var=idParentSub value=$objElementSub->GetId()}
|
||||
<li ><a href="{$urlSub}" >{$objElementSub->GetElementName()}</a> </li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
</li>
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
|
||||
{/literal}
|
||||
|
||||
|
||||
14
_rejestracja/template/partial/Shared/News.tpl
Normal file
14
_rejestracja/template/partial/Shared/News.tpl
Normal file
@@ -0,0 +1,14 @@
|
||||
<h1 class="newsBoxTitle">{translate word='NEWS'}</h1>
|
||||
{assign var=labelNews value=''}
|
||||
{foreach from=$arrayObjNewsIndex item=objNewsIndex name=news}
|
||||
{assign var=idNewsIndex value=$objNewsIndex->GetId()}
|
||||
{assign var=objStructure value=$objNewsIndex->GetStructure()}
|
||||
{assign var=labelNews value=$objStructure->GetUrlLabel()}
|
||||
{assign var=Detail value=Detail}
|
||||
{assign var=labelNewsDetail value=$labelNews}
|
||||
{assign var=truncateCount value=100}
|
||||
<div class="newsBoxItem">
|
||||
{$objNewsIndex->GetDatePublicationWithoutTime()|replace:"-":"."}<br/>
|
||||
<a href="{url label=$labelNewsDetail title=$objNewsIndex->GetTitle()|text2url id=$idNewsIndex}">{$objNewsIndex->GetShortnote()|strip_tags|truncate:$truncateCount:" $moreNews"}</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
0
_rejestracja/template/partial/Shared/Slider.tpl
Normal file
0
_rejestracja/template/partial/Shared/Slider.tpl
Normal file
1
_rejestracja/template/partial/Shared/infoFrame.tpl
Normal file
1
_rejestracja/template/partial/Shared/infoFrame.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<div class="{if $error=="ok"}message{else}messageError{/if}">{$info}</div>
|
||||
Reference in New Issue
Block a user