update
This commit is contained in:
37
template/partial/SimpleArticle/Index/AjaxSendMessage.tpl
Normal file
37
template/partial/SimpleArticle/Index/AjaxSendMessage.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
$('buttonInfo').style.display = 'none';
|
||||
$('buttonError').style.display = 'none';
|
||||
|
||||
{if $wrongEmail!=''}
|
||||
$('buttonError').style.display = 'block';
|
||||
$('infoMsg').style.display = 'block';
|
||||
$('wrongEmail').innerHTML = '{$wrongEmail}';
|
||||
$('send').disabled=true;
|
||||
{else}
|
||||
|
||||
$('wrongEmail').innerHTML = '';
|
||||
{/if}
|
||||
{if $wrongPhone!=''}
|
||||
$('buttonError').style.display = 'block';
|
||||
$('infoMsg').style.display = 'block';
|
||||
$('wrongPhone').innerHTML = '{$wrongPhone}';
|
||||
$('send').disabled=true;
|
||||
{else}
|
||||
$('wrongPhone').innerHTML = '';
|
||||
{/if}
|
||||
{if $error!=''}
|
||||
$('buttonError').style.display = 'block';
|
||||
$('infoMsg').style.display = 'block';
|
||||
$('error').innerHTML = '{$error}';
|
||||
$('send').disabled=true;
|
||||
{else}
|
||||
$('error').innerHTML = '';
|
||||
{/if}
|
||||
{if $success!=''}
|
||||
$('buttonInfo').style.display = 'block';
|
||||
$('infoMsg').style.display = 'block';
|
||||
$('info').innerHTML = '{$success}';
|
||||
$('send').disabled=true;
|
||||
{else}
|
||||
$('info').innerHTML = '';
|
||||
{/if}
|
||||
|
||||
82
template/partial/SimpleArticle/Index/Article.tpl
Normal file
82
template/partial/SimpleArticle/Index/Article.tpl
Normal file
@@ -0,0 +1,82 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle"> {$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
|
||||
{if isset($idCategory) && $idCategory != 1 && isset($labelDetal)}
|
||||
|
||||
<h1>{$objArticle->GetTitle()}</h1>
|
||||
{if $objArticle->GetPicture()}
|
||||
<div class="newsImg"><img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" border="0"/></div>
|
||||
{/if}
|
||||
|
||||
|
||||
{assign var=descriptionArray value=$objArticle->GetDescriptionArray()}
|
||||
{foreach from=$descriptionArray name=article item=article key=key}
|
||||
<div id="page_{$key+1}" {if $smarty.foreach.article.first}{else}style="display: none;"{/if}>{$article|replace:'<ul>':'<ul class="arrowPointers">'}</div>
|
||||
{/foreach}
|
||||
|
||||
{ if $descriptionArray|@count > 1 }
|
||||
<center>
|
||||
<div>
|
||||
{foreach from=$descriptionArray name=pagi item=article key=key}
|
||||
<a href="#" id="link_{$key+1}" {if $smarty.foreach.pagi.first}style="color: red; font-weight: bold;"{/if} onclick="{foreach from=$descriptionArray item=art key=i} document.getElementById('page_{$i+1}').style.display = 'none'; document.getElementById('link_{$i+1}').innerHTML = '{$i+1}'; document.getElementById('link_{$i+1}').style.color = '';{/foreach} document.getElementById('page_{$key+1}').style.display = ''; document.getElementById('link_{$key+1}').innerHTML = '<b>{$key+1}</b>'; document.getElementById('link_{$key+1}').style.color = 'red';"> {$key+1} </a>
|
||||
{/foreach}
|
||||
</div>
|
||||
</center>
|
||||
{ /if }
|
||||
|
||||
<div class="back"><a href="javascript:history.back();">{translate word='back'}</a></div>
|
||||
|
||||
|
||||
{else}
|
||||
|
||||
{if $lang == 'pl'}
|
||||
{assign var=kontakt value='http://www.ogiela.pl/pl/formularz_zapytania'}
|
||||
{else}
|
||||
{assign var=kontakt value='http://www.ogiela.pl/en/contact_form'}
|
||||
{/if}
|
||||
|
||||
{$objArticle->GetDescription()|replace:'#KONTAKT#':$kontakt}
|
||||
<div class="imagesList">
|
||||
{foreach from=$arrayImage item=image key=key name=imageGallery}
|
||||
<a class="gallery normalImg{if $smarty.foreach.imageGallery.index > 3} SubImage_imageGallery{/if}" href="{$image->GetFullUrlId($objArticle->GetId())}" {if $smarty.foreach.imageGallery.index > 3}style="display: none;" {/if}>
|
||||
{assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())}
|
||||
{thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true }
|
||||
{*<img src="{$image->GetFullUrlMiniId($objArticle->GetId())}" width="120" height="60" alt="" style="border: 1px solid white;" />*}
|
||||
</a>
|
||||
{/foreach}
|
||||
{if $smarty.foreach.imageGallery.index > 3}
|
||||
<div class="moreImage" id="moreImage"><a href="#" onclick="$('.SubImage_imageGallery').show('slow'); $('#lessImage').show(); $('#moreImage').hide(); return false; " >{translate word='more'}</a></div>
|
||||
<div class="lessImage" id="lessImage"><a href="#" onclick="$('.SubImage_imageGallery').hide('slow'); $('#moreImage').show(); $('#lessImage').hide(); return false;" >{translate word='less'}</a></div>
|
||||
{/if}
|
||||
</div>
|
||||
<div> </div>
|
||||
|
||||
{foreach from=$articleList item=articleSubObj}
|
||||
<h1>{$articleSubObj->GetTitle()}</h1>
|
||||
{$articleSubObj->GetDescription()}
|
||||
<div class="imagesList">
|
||||
|
||||
{assign var=imageSubGallery value=$articleSubObj->getArrayImage()}
|
||||
{assign var=idSubGallery value=$articleSubObj->getId()}
|
||||
{foreach $imageSubGallery as $imageSub}
|
||||
{* {foreach from=$imageSubGallery item=imageSub name=%$idSubGallery%} *}
|
||||
<a rel="{$idSubGallery}" class="gallery normalImg {if $imageSub@index > 3}SubImage_{$idSubGallery}{/if}" href="{$imageSub->GetFullUrlId($articleSubObj->GetId())}" {if $imageSub@index > 3}style="display: none;" {/if}>
|
||||
{assign var=imageGallery value=$imageSub->GetFullPathOrgId($articleSubObj->GetId())}
|
||||
{thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true }
|
||||
{*<img src="{$imageSub->GetFullUrlMiniId($articleSubObj->GetId())}" width="120" height="60" alt="" style="border: 1px solid white;" />*}
|
||||
</a>
|
||||
{/foreach}
|
||||
{if $imageSub@index > 3}
|
||||
<div class="moreImage" id="moreImage{$idSubGallery}"><a href="#" onclick="$('.SubImage_{$idSubGallery}').show('slow'); $('#lessImage{$idSubGallery}').show(); $('#moreImage{$idSubGallery}').hide(); return false; " >{translate word='more'}</a></div>
|
||||
<div class="lessImage" id="lessImage{$idSubGallery}"><a href="#" onclick="$('.SubImage_{$idSubGallery}').hide('slow'); $('#moreImage{$idSubGallery}').show(); $('#lessImage{$idSubGallery}').hide(); return false;" >{translate word='less'}</a></div>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div> </div>
|
||||
{/if}
|
||||
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
136
template/partial/SimpleArticle/Index/EmailToClientHTML.tpl
Normal file
136
template/partial/SimpleArticle/Index/EmailToClientHTML.tpl
Normal file
@@ -0,0 +1,136 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
</head>
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
|
||||
td.header-maila {
|
||||
border-radius:6px 6px 0px 0px;
|
||||
-moz-border-radius: 6px 6px 0px 0px;
|
||||
-webkit-border-radius: 6px 6px 0px 0px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
background-color: #006ab3;
|
||||
color: #f7f7f7;
|
||||
padding-top:6px;
|
||||
padding-bottom:6px;
|
||||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
font-family: Arial;
|
||||
font-size: 12px;
|
||||
|
||||
}
|
||||
|
||||
td.header-maila a {
|
||||
color: #f5f5f5;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
font-family:Arial;
|
||||
}
|
||||
|
||||
td.white {
|
||||
background-color: #ffffff;
|
||||
color: #6a6a6a;
|
||||
padding-top:20px;
|
||||
padding-bottom:30px;
|
||||
padding-left:30px;
|
||||
padding-right:30px;
|
||||
font-family: Arial;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.article-content {
|
||||
font-size: 13px;
|
||||
color: #6a6a6a;
|
||||
margin-bottom: 18px;
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
.article-content h1 {
|
||||
font-size: 18px;
|
||||
color: #006ab3;
|
||||
margin-bottom: 6px;
|
||||
font-family: Arial;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.article-content a {
|
||||
color: #2f98e0;
|
||||
font-weight:bold;
|
||||
font-size: 13px;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.article-content img {
|
||||
max-width: 100%;
|
||||
border:1px solid #c8c8c8;
|
||||
}
|
||||
|
||||
.article-content ol, .article-content ul {
|
||||
margin-top:0px; margin-bottom:18px; margin-left:19px; padding:0;
|
||||
}
|
||||
|
||||
.article-content li { font-size: 13px; line-height: 18px; color: #6a6a6a; }
|
||||
.article-content li a { color: #2f98e0; text-decoration:none; }
|
||||
|
||||
td.stopka-maila {
|
||||
border-radius:0px 0px 6px 6px;
|
||||
-moz-border-radius: 0px 0px 6px 6px;
|
||||
-webkit-border-radius:0px 0px 6px 6px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
background-color: #006ab3;
|
||||
color: #f7f7f7;
|
||||
padding-top:30px;
|
||||
padding-bottom:30px;
|
||||
padding-left:30px;
|
||||
padding-right:30px;
|
||||
font-family: Arial;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
td.stopka-maila a {
|
||||
color: #f7f7f7;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
{/literal}
|
||||
|
||||
<body bgcolor="#ececec"><center>
|
||||
|
||||
<table style="margin-top:10px;" width="640" cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="640" height="30" align="right" class="header-maila">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td valign="top" width="14" align="left"><img src="{$urlStatic}/image/Strona/like-glyph.png" border="0" width="8" height="14" alt="Facebook icon"></td>
|
||||
<td valign="top"><a href="http://www.facebook.com/pages/GoNet-CRM/435255036505963">Facebook</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" bgcolor="#ffffff" valign="top"><img src="{$urlStatic}/image/Strona/top_mail.jpg" border="0" style="border: 0px solid;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" class="white">
|
||||
{* content *}
|
||||
<div align="left" class="article-content">
|
||||
<p>{'info_contact_email'|translate}</p>
|
||||
</div>
|
||||
{* end content *}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="stopka-maila" align="left"><img src="{$urlStatic}/image/Strona/kim_logo.gif" align="right">
|
||||
|
||||
<p>{'contact_mail_signature'|translate}</p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
19
template/partial/SimpleArticle/Index/Faq.tpl
Normal file
19
template/partial/SimpleArticle/Index/Faq.tpl
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle"> {$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
|
||||
|
||||
<h1>{$objArticle->GetTitle()}</h1>
|
||||
|
||||
|
||||
{$objArticle->GetDescription()}
|
||||
|
||||
<div class="back"><a href="javascript:history.back();">{translate word='back'}</a></div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
70
template/partial/SimpleArticle/Index/Form.tpl
Normal file
70
template/partial/SimpleArticle/Index/Form.tpl
Normal file
@@ -0,0 +1,70 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
<div class="col-4 col-s-12">
|
||||
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle">{$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{$objArticle->GetDescription()}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-6 col-s-12 formBox">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="trescAdd">
|
||||
|
||||
<div class="formContainer">
|
||||
{assign var=url value=$objElement->GetUrl()}
|
||||
<form method="post" action="{url _value=$url}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='Nazwa'}:</div>
|
||||
<div class="value">{formField name="surname" 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='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='message'}:</div>
|
||||
<div class="value">{formField name="message" type="textarea" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry" style="padding-top: 1.4em;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6Lc-ETwaAAAAAN827BOYBGf9cG50OMkKgXeJrs82" 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 class="cb"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
{$contentObj->GetDescriptionAdd()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
56
template/partial/SimpleArticle/Index/FormModule.tpl
Normal file
56
template/partial/SimpleArticle/Index/FormModule.tpl
Normal file
@@ -0,0 +1,56 @@
|
||||
<div class="tresc">
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{if !$success}
|
||||
<div class="formBox">
|
||||
<div class="trescAdd">
|
||||
<div class="cb"></div>
|
||||
<div class="formContainer">
|
||||
{assign var=url value=$objElement->GetUrl()}
|
||||
<form method="post" action="{url _value=$url}" id="sendContactForm" class="contactForm">
|
||||
<input name="send" type="hidden" value="true" />
|
||||
<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='Nazwa'}:</div>
|
||||
<div class="value">{formField name="name" 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='email'}:</div>
|
||||
<div class="value">{formField name="email" type="text" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="label">{translate word='message'}:</div>
|
||||
<div class="value">{formField name="message" type="textarea" errorClass="warning"}</div>
|
||||
</div>
|
||||
<div class="entry" style="padding-top: 8px;">
|
||||
<div class="label"> </div>
|
||||
<div class="value"><div class="g-recaptcha" data-sitekey="6Lcn-NQbAAAAAC1fJ8rF_NZlA8r4CwqMWONc3HlD" 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 class="cb"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
11
template/partial/SimpleArticle/Index/FormSent.tpl
Normal file
11
template/partial/SimpleArticle/Index/FormSent.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{'Formularz zapytania'|translate}</h1>
|
||||
|
||||
|
||||
|
||||
{'message_sent'|translate}
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
34
template/partial/SimpleArticle/Index/Index.tpl
Normal file
34
template/partial/SimpleArticle/Index/Index.tpl
Normal file
@@ -0,0 +1,34 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle">{$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
<div>
|
||||
|
||||
{$objArticleMain->getDescription()}
|
||||
|
||||
{foreach from=$articleList item=objArticle name=objArticle }
|
||||
{assign var=objDescription value=$objArticle->GetDescriptionObj()}
|
||||
{assign var=id value=$objArticle->GetId()}
|
||||
<article class="mainNewsItem" style="min-height: 90px;">
|
||||
{if $objArticle->GetPicture()}
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}">
|
||||
{assign var=imageItemGallery value=$objArticle->GetPicturePath()}
|
||||
<figure class="itemImageGallery" title="{$objArticle->GetShortnote()|strip_tags|escape}" >{thumb file=$imageItemGallery longside=false shortside=false width="280" height="160" link='false' crop=true }</figure>
|
||||
</a>
|
||||
{else}
|
||||
{* <img src="{$urlStatic}/image/Strona/160x120.jpg" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetShortnote()|strip_tags|escape}" style="float: left; margin-right: 25px; margin-bottom: 0px;" /> *}
|
||||
{/if}
|
||||
<!--<div class="dateList">{$objArticle->GetDatePublicationWithoutTime()|date_format:"%d.%m.%Y"} r.</div>!-->
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}"><h1>{$objDescription->GetTitle()}</h1></a>
|
||||
{$objDescription->GetShortnote()|strip_tags}<br><a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}">{'more'|translate}...</a>
|
||||
</article><div class="cb"></div>
|
||||
<p style="border-bottom: 0.15em solid #c9d5d6; margin: 2em 15em 2em 15em;"></p>
|
||||
{foreachelse}
|
||||
<h4>{'W chwili obecnej nie poszukujemy kandydatów do pracy'|translate}</h4>
|
||||
{/foreach}
|
||||
<div style="clear: both;"></div>
|
||||
<div class="pager" style="margin-bottom: 10px; margin-right: 5px;">{pagination class=pagermore _current=$objElement->GetUrl() currPage=$page pageCount=$maxPage name=p next='>' prev='<'}</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
</div>
|
||||
23
template/partial/SimpleArticle/Index/IndexFaq.tpl
Normal file
23
template/partial/SimpleArticle/Index/IndexFaq.tpl
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle">{$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
<div>
|
||||
|
||||
|
||||
|
||||
{foreach from=$articleList item=objArticle name=objArticle }
|
||||
{assign var=objDescription value=$objArticle->GetDescriptionObj()}
|
||||
{assign var=id value=$objArticle->GetId()}
|
||||
<article class="mainNewsItem" >
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}"><h2>{$objDescription->GetTitle()}</h2> </a>
|
||||
{$objDescription->GetShortnote()|strip_tags}{if $objDescription->GetShortnote()} <a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}">{'more'|translate}</a>{/if}
|
||||
</article><div class="cb"></div>
|
||||
<p style="border-bottom: 1px solid #8f8f8f; margin: 30px 10px 30px 10px;"></p>
|
||||
{/foreach}
|
||||
<div style="clear: both;"></div>
|
||||
<div class="pager" style="margin-bottom: 10px; margin-right: 5px;">{pagination class=pagermore _current=$objElement->GetUrl() currPage=$page pageCount=$maxPage name=p next='>' prev='<'}</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
</div>
|
||||
31
template/partial/SimpleArticle/Index/IndexModule.tpl
Normal file
31
template/partial/SimpleArticle/Index/IndexModule.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
<div class="tresc">
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
{foreach from=$articleList item=objArticle name=objArticle }
|
||||
{assign var=objDescription value=$objArticle->GetDescriptionObj()}
|
||||
{assign var=id value=$objArticle->GetId()}
|
||||
<article class="mainNewsItem col-5 col-s-12" style="min-height: 90px;">
|
||||
{if $objArticle->GetPicture()}
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}">
|
||||
{assign var=imageItemGallery value=$objArticle->GetPicturePath()}
|
||||
<figure class="itemImageGallery" title="{$objArticle->GetShortnote()|strip_tags|escape}" >{thumb file=$imageItemGallery longside=false shortside=false width="280" height="160" link='false' crop=true }</figure>
|
||||
</a>
|
||||
{else}
|
||||
{* <img src="{$urlStatic}/image/Strona/160x120.jpg" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetShortnote()|strip_tags|escape}" style="float: left; margin-right: 25px; margin-bottom: 0px;" /> *}
|
||||
{/if}
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}"><h1>{$objDescription->GetTitle()}</h1></a>
|
||||
{$objDescription->GetShortnote()}
|
||||
<div class="cb"></div>
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}">{'more'|translate}</a>
|
||||
</article>
|
||||
{* <p style="border-bottom: 1px solid #cd8927; margin: 30px 10px 30px 10px;"></p>*}
|
||||
{foreachelse}
|
||||
<h4>{'no_item_list'|translate}</h4>
|
||||
{/foreach}
|
||||
<div style="clear: both;"></div>
|
||||
<div class="pager" style="margin-bottom: 10px; margin-right: 5px;">{pagination class=pagermore _current=$objElement->GetUrl() currPage=$page pageCount=$maxPage name=p next='>' prev='<'}</div>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
</div>
|
||||
61
template/partial/SimpleArticle/Index/IndexProject.tpl
Normal file
61
template/partial/SimpleArticle/Index/IndexProject.tpl
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
{assign var=k value=0}
|
||||
{foreach from=$articleList item=objItem }
|
||||
{if $objItem@first}
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
//alert( idItem);
|
||||
|
||||
$(window).scroll(function() {
|
||||
{/literal}
|
||||
{/if}
|
||||
{literal}
|
||||
idItem = '#projectItem_'+'{/literal}{$objItem@iteration}{literal}';
|
||||
if ($(idItem).visible(true)) {
|
||||
$(idItem).addClass('scrollHiddenOff');
|
||||
$(idItem).removeClass('scrollHiddenOn');
|
||||
} else {
|
||||
$(idItem).addClass('scrollHiddenOn');
|
||||
$(idItem).removeClass('scrollHiddenOff');
|
||||
}
|
||||
{/literal}
|
||||
{if $objItem@last}
|
||||
{literal}
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
|
||||
|
||||
{foreach from=$articleList item=objArticle name=objArticle }
|
||||
{assign var=objDescription value=$objArticle->GetDescriptionObj()}
|
||||
{assign var=id value=$objArticle->GetId()}
|
||||
{assign var=k value=$k+1}
|
||||
{assign var=x value=1}
|
||||
<div class="projectItem scrollHiddenOn" id="projectItem_{$smarty.foreach.objArticle.iteration}" {if $smarty.foreach.objArticle.index is even}style="background: url('{$objArticle->GetPictureUrl()}') right top no-repeat; background-size: auto 100%;"{else}style="background: url('{$objArticle->GetPictureUrl()}') left top no-repeat; background-size: auto 100%;"{/if}>
|
||||
|
||||
{*{if $objArticle->GetPicture()}
|
||||
<div class="newsImg">
|
||||
<img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" border="0"/>
|
||||
|
||||
{/if}*}
|
||||
<div class="col-5 col-s-12 projectItemDesc {if $smarty.foreach.objArticle.index is even}{else}right{/if}" style="background-color: {$objArticle->GetAutor()};">
|
||||
<h2>{$objArticle->GetTitle()}</h2>
|
||||
{$objArticle->GetShortnote()}
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
{*
|
||||
|
||||
scrollHiddenOn
|
||||
if ($('.projectItem').visible(true)) {
|
||||
$('.projectItem').addClass('scrollHiddenOff');
|
||||
$('.projectItem').removeClass('scrollHiddenOn');
|
||||
}
|
||||
*}
|
||||
16
template/partial/SimpleArticle/Index/MailTxt.tpl
Normal file
16
template/partial/SimpleArticle/Index/MailTxt.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
Wpłynęło zapytanie od [{$email}] {$post.surname}
|
||||
<br /><br />
|
||||
|
||||
Treść:<br /><br />
|
||||
{$message|nl2br}
|
||||
<br />
|
||||
<br />
|
||||
Kontakt:
|
||||
<br />
|
||||
{$post.surname}<br />
|
||||
Telefon: {$post.phone}<br />
|
||||
Adres e-mail: {$post.email}<br />
|
||||
Telefon: {$post.phone}<br />
|
||||
|
||||
|
||||
20
template/partial/SimpleArticle/Index/News.tpl
Normal file
20
template/partial/SimpleArticle/Index/News.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle"> {$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
|
||||
<div class="mainContent">
|
||||
{if $objArticle->GetPictureMini()}
|
||||
<div class="newsImg left" style="margin-right: 1em;"><img src="{$objArticle->GetPictureMiniUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" border="0" /></div>
|
||||
{/if}
|
||||
|
||||
<h1>{$objArticle->GetTitle()}</h1>
|
||||
<p>
|
||||
{$objArticle->GetDescription()}
|
||||
</p>
|
||||
<a href="{url label=$objElement->GetUrlLabel()}">{translate word='back_to_news'}</a>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
71
template/partial/SimpleArticle/Index/Project.tpl
Normal file
71
template/partial/SimpleArticle/Index/Project.tpl
Normal file
@@ -0,0 +1,71 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{$objArticle->getDescription()}
|
||||
</div>
|
||||
{assign var=k value=1}
|
||||
{foreach from=$arrayImage item=objItem }
|
||||
{if $objItem@first}
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
//alert( idItem);
|
||||
|
||||
$(window).scroll(function() {
|
||||
{/literal}
|
||||
{/if}
|
||||
{* {if $k eq 1}*}
|
||||
{literal}
|
||||
idItem = '#projectItem_'+'{/literal}{$objItem@iteration}{literal}';
|
||||
//alert( idItem);
|
||||
if ($(idItem).visible(true)) {
|
||||
|
||||
$(idItem).addClass('scrollHiddenOff');
|
||||
$(idItem).removeClass('scrollHiddenOn');
|
||||
} else {
|
||||
//alert( idItem);
|
||||
$(idItem).addClass('scrollHiddenOn');
|
||||
$(idItem).removeClass('scrollHiddenOff');
|
||||
}
|
||||
{/literal}
|
||||
{* {/if} *}
|
||||
{if $objItem@last}
|
||||
{literal}
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
{if $k eq 4}
|
||||
{assign var=k value=1}
|
||||
{else}
|
||||
{assign var=k value=$k+1}
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
|
||||
|
||||
{assign var=k value=1}
|
||||
{foreach from=$arrayImage item=image}
|
||||
{if $k eq 1}
|
||||
|
||||
<div class="col-12" style="padding: 0px;">
|
||||
{/if}
|
||||
<div class="col-3 col-s-6 imgGallery scrollHiddenOn" id="projectItem_{$image@iteration}">
|
||||
<a class="gallery" href="{$image->GetFullUrlId($objArticle->GetId())}" title="{$image->GetDescription()|escape}" >
|
||||
{assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())}
|
||||
{assign var=titleImg value=$image->GetDescription()|escape}
|
||||
{* <figure class="itemImageGalleryDetail">{thumb file=$imageGallery longside=false shortside=false width="25%" height="160" link='false' crop=true title=$titleImg }</figure>*}
|
||||
<figure class="itemImageGalleryDetail"><img src="{$image->GetFullUrlId($objArticle->GetId())}" alt="{$image->GetDescription()}" title="{$image->GetDescription()}" /></figure>
|
||||
</a>
|
||||
</div>
|
||||
{if $k eq 4}
|
||||
{assign var=k value=1}
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
{else}
|
||||
{assign var=k value=$k+1}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
|
||||
19
template/partial/SimpleArticle/Index/Project_m.tpl
Normal file
19
template/partial/SimpleArticle/Index/Project_m.tpl
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{$objArticle->getDescription()}
|
||||
</div>
|
||||
|
||||
{foreach from=$arrayImage item=image}
|
||||
<div class="col-3 col-s-6 imgGallery">
|
||||
<a class="gallery" href="{$image->GetFullUrlId($objArticle->GetId())}" title="{$image->GetDescription()|escape}" >
|
||||
{assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())}
|
||||
{assign var=titleImg value=$image->GetDescription()|escape}
|
||||
{* <figure class="itemImageGalleryDetail">{thumb file=$imageGallery longside=false shortside=false width="25%" height="160" link='false' crop=true title=$titleImg }</figure>*}
|
||||
<figure class="itemImageGalleryDetail"><img src="{$image->GetFullUrlId($objArticle->GetId())}" alt="{$image->GetDescription()}" title="{$image->GetDescription()}" /></figure>
|
||||
</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<a href="{url label=$objElement->GetUrlLabel()}">{translate word='back'}</a>
|
||||
|
||||
32
template/partial/SimpleArticle/Index/Subsite.tpl
Normal file
32
template/partial/SimpleArticle/Index/Subsite.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="tytul-strony">{$objElement->GetName()}</div>
|
||||
{$objArticle->GetDescription()}
|
||||
{assign var=x value=1}
|
||||
<table width="100%" cellpadding="4" cellspacing="0" border="0">
|
||||
|
||||
{foreach from=$arrayObjSubsite item=objSubsite name=Subsite}
|
||||
|
||||
|
||||
|
||||
<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
|
||||
{if $objSubsite->GetPicture()}
|
||||
<td width="10%"><img src="{$objSubsite->GetPictureMiniUrl()}" alt="" /></td>
|
||||
{else}
|
||||
<td width="10%"><img src="{$urlStatic}/image/Strona/id.gif" alt="" /></td>
|
||||
{/if}
|
||||
<td width="60%"><a href="{url label=$objSubsite->GetUrlLabel()}">{$objSubsite->GetName()}</a></td>
|
||||
<td width="30%" style="text-align: center;">
|
||||
<a href="{url label=$objSubsite->GetUrlLabel()}">{translate word='read_more'}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
{*if !isset($searchString) || $searchString == ""}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">Brak zdefiniowanych produktów.</td>
|
||||
</tr>
|
||||
{/if*}
|
||||
|
||||
|
||||
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
85
template/partial/SimpleArticle/Index/View.tpl
Normal file
85
template/partial/SimpleArticle/Index/View.tpl
Normal file
@@ -0,0 +1,85 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if isset($param['title'])}
|
||||
<h2 class="title">{$objArticle->GetTitle()}</h2>
|
||||
{/if}
|
||||
|
||||
<div class="trescContent">
|
||||
<div style="clear: left;">
|
||||
|
||||
{$objArticle->GetDescription()}
|
||||
|
||||
</div>
|
||||
{assign var=k value=1}
|
||||
{foreach from=$arrayImage item=objItem }
|
||||
{if $objItem@first}
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
//alert( idItem);
|
||||
|
||||
$(window).scroll(function () {
|
||||
{/literal}
|
||||
{/if}
|
||||
{* {if $k eq 1}*}
|
||||
{literal}
|
||||
idItem = '#projectItem_' + '{/literal}{$objItem@iteration}{literal}';
|
||||
//alert( idItem);
|
||||
if ($(idItem).visible(true)) {
|
||||
|
||||
$(idItem).addClass('scrollHiddenOff');
|
||||
$(idItem).removeClass('scrollHiddenOn');
|
||||
} else {
|
||||
//alert( idItem);
|
||||
$(idItem).addClass('scrollHiddenOn');
|
||||
$(idItem).removeClass('scrollHiddenOff');
|
||||
}
|
||||
{/literal}
|
||||
{* {/if} *}
|
||||
{if $objItem@last}
|
||||
{literal}
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
{/if}
|
||||
{if $k eq 4}
|
||||
{assign var=k value=1}
|
||||
{else}
|
||||
{assign var=k value=$k+1}
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{if isset($param['title'])}
|
||||
{assign var=k value=1}
|
||||
{foreach from=$arrayImage item=image}
|
||||
{if $k eq 1}
|
||||
|
||||
<div class="col-12" style="padding: 0px;">
|
||||
{/if}
|
||||
<div class="col-3 col-s-6 imgGallery scrollHiddenOn" id="projectItem_{$image@iteration}">
|
||||
<a class="gallery" href="{$image->GetFullUrlId($objArticle->GetId())}" title="{$image->GetDescription()|escape}" >
|
||||
{assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())}
|
||||
{assign var=titleImg value=$image->GetDescription()|escape}
|
||||
<figure class="itemImageGalleryDetail">{thumb file=$imageGallery longside=false shortside=false width="640" height="480" link='false' crop=true title=$titleImg }</figure>
|
||||
{* <figure class="itemImageGalleryDetail"><img src="{$image->GetFullUrlId($objArticle->GetId())}" alt="{$image->GetDescription()}" title="{$image->GetDescription()}" /></figure>*}
|
||||
</a>
|
||||
</div>
|
||||
{if $k eq 4}
|
||||
{assign var=k value=1}
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
{else}
|
||||
{assign var=k value=$k+1}
|
||||
{/if}
|
||||
{/foreach}
|
||||
<div class="cb"></div>
|
||||
|
||||
{/if}
|
||||
<div class="cb"></div>
|
||||
|
||||
|
||||
|
||||
82
template/partial/SimpleArticle/Index/View2.tpl
Normal file
82
template/partial/SimpleArticle/Index/View2.tpl
Normal file
@@ -0,0 +1,82 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle"> {$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
|
||||
{if isset($idCategory) && $idCategory != 1 && isset($labelDetal)}
|
||||
|
||||
<h1>{$objArticle->GetTitle()}</h1>
|
||||
{if $objArticle->GetPicture()}
|
||||
<div class="newsImg"><img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" border="0"/></div>
|
||||
{/if}
|
||||
|
||||
|
||||
{assign var=descriptionArray value=$objArticle->GetDescriptionArray()}
|
||||
{foreach from=$descriptionArray name=article item=article key=key}
|
||||
<div id="page_{$key+1}" {if $smarty.foreach.article.first}{else}style="display: none;"{/if}>{$article|replace:'<ul>':'<ul class="arrowPointers">'}</div>
|
||||
{/foreach}
|
||||
|
||||
{ if $descriptionArray|@count > 1 }
|
||||
<center>
|
||||
<div>
|
||||
{foreach from=$descriptionArray name=pagi item=article key=key}
|
||||
<a href="#" id="link_{$key+1}" {if $smarty.foreach.pagi.first}style="color: red; font-weight: bold;"{/if} onclick="{foreach from=$descriptionArray item=art key=i} document.getElementById('page_{$i+1}').style.display = 'none'; document.getElementById('link_{$i+1}').innerHTML = '{$i+1}'; document.getElementById('link_{$i+1}').style.color = '';{/foreach} document.getElementById('page_{$key+1}').style.display = ''; document.getElementById('link_{$key+1}').innerHTML = '<b>{$key+1}</b>'; document.getElementById('link_{$key+1}').style.color = 'red';"> {$key+1} </a>
|
||||
{/foreach}
|
||||
</div>
|
||||
</center>
|
||||
{ /if }
|
||||
|
||||
<div class="back"><a href="javascript:history.back();">{translate word='back'}</a></div>
|
||||
|
||||
|
||||
{else}
|
||||
|
||||
{if $lang == 'pl'}
|
||||
{assign var=kontakt value='http://www.ogiela.pl/pl/formularz_zapytania'}
|
||||
{else}
|
||||
{assign var=kontakt value='http://www.ogiela.pl/en/contact_form'}
|
||||
{/if}
|
||||
|
||||
{$objArticle->GetDescription()|replace:'#KONTAKT#':$kontakt}
|
||||
<div class="imagesList">
|
||||
{foreach from=$arrayImage item=image key=key name=imageGallery}
|
||||
<a class="gallery normalImg{if $smarty.foreach.imageGallery.index > 3} SubImage_imageGallery{/if}" href="{$image->GetFullUrlId($objArticle->GetId())}" {if $smarty.foreach.imageGallery.index > 3}style="display: none;" {/if}>
|
||||
{assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())}
|
||||
{thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true }
|
||||
{*<img src="{$image->GetFullUrlMiniId($objArticle->GetId())}" width="120" height="60" alt="" style="border: 1px solid white;" />*}
|
||||
</a>
|
||||
{/foreach}
|
||||
{if $smarty.foreach.imageGallery.index > 3}
|
||||
<div class="moreImage" id="moreImage"><a href="#" onclick="$('.SubImage_imageGallery').show('slow'); $('#lessImage').show(); $('#moreImage').hide(); return false; " >{translate word='more'}</a></div>
|
||||
<div class="lessImage" id="lessImage"><a href="#" onclick="$('.SubImage_imageGallery').hide('slow'); $('#moreImage').show(); $('#lessImage').hide(); return false;" >{translate word='less'}</a></div>
|
||||
{/if}
|
||||
</div>
|
||||
<div> </div>
|
||||
|
||||
{foreach from=$articleList item=articleSubObj}
|
||||
<h1>{$articleSubObj->GetTitle()}</h1>
|
||||
{$articleSubObj->GetDescription()}
|
||||
<div class="imagesList">
|
||||
|
||||
{assign var=imageSubGallery value=$articleSubObj->getArrayImage()}
|
||||
{assign var=idSubGallery value=$articleSubObj->getId()}
|
||||
{foreach $imageSubGallery as $imageSub}
|
||||
{* {foreach from=$imageSubGallery item=imageSub name=%$idSubGallery%} *}
|
||||
<a rel="{$idSubGallery}" class="gallery normalImg {if $imageSub@index > 3}SubImage_{$idSubGallery}{/if}" href="{$imageSub->GetFullUrlId($articleSubObj->GetId())}" {if $imageSub@index > 3}style="display: none;" {/if}>
|
||||
{assign var=imageGallery value=$imageSub->GetFullPathOrgId($articleSubObj->GetId())}
|
||||
{thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true }
|
||||
{*<img src="{$imageSub->GetFullUrlMiniId($articleSubObj->GetId())}" width="120" height="60" alt="" style="border: 1px solid white;" />*}
|
||||
</a>
|
||||
{/foreach}
|
||||
{if $imageSub@index > 3}
|
||||
<div class="moreImage" id="moreImage{$idSubGallery}"><a href="#" onclick="$('.SubImage_{$idSubGallery}').show('slow'); $('#lessImage{$idSubGallery}').show(); $('#moreImage{$idSubGallery}').hide(); return false; " >{translate word='more'}</a></div>
|
||||
<div class="lessImage" id="lessImage{$idSubGallery}"><a href="#" onclick="$('.SubImage_{$idSubGallery}').hide('slow'); $('#moreImage{$idSubGallery}').show(); $('#lessImage{$idSubGallery}').hide(); return false;" >{translate word='less'}</a></div>
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
<div> </div>
|
||||
{/if}
|
||||
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
55
template/partial/SimpleArticle/Index/ViewCarousel.tpl
Normal file
55
template/partial/SimpleArticle/Index/ViewCarousel.tpl
Normal file
@@ -0,0 +1,55 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="clear: left;">
|
||||
|
||||
{$objArticle->GetDescription()}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
|
||||
|
||||
$('.my-flipster').flipster({
|
||||
start: 'center',
|
||||
autoplay: 5000,
|
||||
fadeIn: 900,
|
||||
scrollwheel: false,
|
||||
loop: true
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
<div class="my-flipster">
|
||||
|
||||
<ul>
|
||||
<li>{thumb file='Static/upload/carusel/technologie.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/turystyka.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/edukacja.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/sztuka.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/zwierzeta.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/moda.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/deweloperzy.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/kosmetyki.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/awiacja.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/medycyna.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
<li>{thumb file='Static/upload/carusel/przemysl.jpg' longside=false shortside=false width="600" height="400" link='false' crop='' title='' }</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user