update
This commit is contained in:
32
template/partial/Shared/BanerBox.tpl
Normal file
32
template/partial/Shared/BanerBox.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<section id="slider" class="slider">
|
||||
<div class="flexslider sliderCont">
|
||||
<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="" style="object-fit: cover; max-height: 940px;" />
|
||||
{else}
|
||||
{assign var=imageSlider value=$objHomeElementBaner->GetPhotoPath()}
|
||||
{thumb file=$imageSlider longside=false shortside=false width="1200" height="350" link='false' crop=true }
|
||||
{/if}
|
||||
<div class="wrap">
|
||||
<div class="desc-wrap">
|
||||
<div class="desc" style="display: none;"><p style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetDescription()}</p>
|
||||
|
||||
</div>
|
||||
<h1> </h1>
|
||||
<h3 style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetName()}</h3>
|
||||
<h2 style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetDescription()}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
{*<div class="parallax-window" data-parallax="scroll" data-image-src="{$urlStatic}/image/Strona/slider1.jpg" data-natural-width="1400" data-natural-height="940"> </div>*}
|
||||
30
template/partial/Shared/BanerBox_old.tpl
Normal file
30
template/partial/Shared/BanerBox_old.tpl
Normal file
@@ -0,0 +1,30 @@
|
||||
<section id="slider" class="slider">
|
||||
<div class="flexslider sliderCont">
|
||||
<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="" style="object-fit: cover; max-height: 650px;" />
|
||||
{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" style="display: none;"><p style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetDescription()}</p>
|
||||
|
||||
</div>
|
||||
<h3 style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetName()}</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
{*<div class="parallax-window" data-parallax="scroll" data-image-src="{$urlStatic}/image/Strona/slider1.jpg" data-natural-width="1400" data-natural-height="900"> </div>*}
|
||||
0
template/partial/Shared/GetUrlLang.tpl
Normal file
0
template/partial/Shared/GetUrlLang.tpl
Normal file
1
template/partial/Shared/InfoFrame.tpl
Normal file
1
template/partial/Shared/InfoFrame.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<div class="{if $error=="ok"}message{else}messageError{/if}">{$info}</div>
|
||||
50
template/partial/Shared/MenuBottomTree.tpl
Normal file
50
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
template/partial/Shared/MenuBox.tpl
Normal file
0
template/partial/Shared/MenuBox.tpl
Normal file
22
template/partial/Shared/MenuLangBox.tpl
Normal file
22
template/partial/Shared/MenuLangBox.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
<div class="navLang">
|
||||
{if $lang == 'pl'}
|
||||
<a href="{$urlMain}/en">en</a>
|
||||
{else}
|
||||
<a href="{$urlMain}/pl">pl</a>
|
||||
{/if}
|
||||
</div>
|
||||
{literal}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.navLang').click(function(){
|
||||
$('.navLang').toggleClass('navLangLong');
|
||||
});
|
||||
$(".navLang").mouseover(function(){
|
||||
$(".navLang").addClass('navLangLong');
|
||||
});
|
||||
$(".navLang").mouseout(function(){
|
||||
$(".navLang").removeClass('navLangLong');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
45
template/partial/Shared/MenuTopChildTree.tpl
Normal file
45
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}
|
||||
53
template/partial/Shared/MenuTopTree.tpl
Normal file
53
template/partial/Shared/MenuTopTree.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
<div class="menu" id="menu" style="z-index: 2;">
|
||||
|
||||
<ul id="nav">
|
||||
{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><a href="{$url}" >{$name}</a><div class="menuCover" ></div>{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}
|
||||
|
||||
{*
|
||||
<div class="menu" id="menu" style="z-index: 2;">
|
||||
<ul id="nav">
|
||||
<li><a href="#">Start</a><div class="menuCover" ></div></li>
|
||||
<li><a href="#">O firmie</a><div class="menuCover" ></div></li>
|
||||
<li><a href="#">Produkty i usługi</a><div class="menuCover" ></div></li>
|
||||
<li><a href="#">Praca</a><div class="menuCover" ></div></li>
|
||||
<li><a href="#">Kontakt</a><div class="menuCover" ></div></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
*}
|
||||
|
||||
|
||||
14
template/partial/Shared/News.tpl
Normal file
14
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
template/partial/Shared/Slider.tpl
Normal file
0
template/partial/Shared/Slider.tpl
Normal file
Reference in New Issue
Block a user