first commit
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
_rejestracja/template/partial/SimpleArticle/Index/Faq.tpl
Normal file
19
_rejestracja/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>
|
||||
132
_rejestracja/template/partial/SimpleArticle/Index/Form.tpl
Normal file
132
_rejestracja/template/partial/SimpleArticle/Index/Form.tpl
Normal file
@@ -0,0 +1,132 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle">{$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{$objArticle->GetDescription()}
|
||||
|
||||
|
||||
<div id="info_container">
|
||||
{if isset($info)}
|
||||
<div class="{if $error && $error!='info'}error{else}info{/if}">{$info}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<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='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='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="6LcNLRsUAAAAAGx7ZIDZDUbkjGDGioDaBGGC64fV" 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>
|
||||
|
||||
{*<tr>
|
||||
<td width="180">Imię</td>
|
||||
<td width="440"><input name="imie" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nazwisko</td>
|
||||
<td><input name="nazwisko" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Stanowisko</td>
|
||||
<td><input name="stanowisko" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nazwa firmy</td>
|
||||
<td><input name="nazwa_firmy" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Miejscowość</td>
|
||||
<td><input name="miejscowosc" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kod pocztowy</td>
|
||||
<td><input name="kod" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ulica i nr lokalu</td>
|
||||
<td><input name="ulica_nr" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Telefon</td>
|
||||
<td><input name="telefon" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Adres e-mail</td>
|
||||
<td><input name="email" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Adres strony internetowej *</td>
|
||||
<td><input name="www" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">Proszę o kontakt:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="2">
|
||||
<table border="0" cellpadding="2" cellspacing="0" width="170">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="right">telefoniczny</td>
|
||||
<td><input checked="checked" name="kontakt" type="radio" value="telefoniczny" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">e-mail</td>
|
||||
<td><input name="kontakt" type="radio" value="email" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="_top">Treść zapytania</td>
|
||||
<td><textarea name="tresc" style="BORDER-RIGHT: #79b8db 1px solid; BORDER-TOP: #79b8db 1px solid; FONT-SIZE: 13px; BORDER-LEFT: #79b8db 1px solid; WIDTH: 400px; COLOR: #444444; BORDER-BOTTOM: #79b8db 1px solid; FONT-FAMILY: Tahoma, Verdana; HEIGHT: 70px"></textarea></td>
|
||||
</tr>*}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{'Formularz zapytania'|translate}</h1>
|
||||
|
||||
|
||||
|
||||
{'message_sent'|translate}
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
32
_rejestracja/template/partial/SimpleArticle/Index/Index.tpl
Normal file
32
_rejestracja/template/partial/SimpleArticle/Index/Index.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<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" 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}"><h2>{$objDescription->GetTitle()}</h2> </a>
|
||||
{$objDescription->GetShortnote()|strip_tags}<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}">{'more'|translate}...</a>
|
||||
</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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,36 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle">{$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
<div>
|
||||
{if $objArticle->GetPicture()}
|
||||
<div class="newsImg"><a title="obrazek" href="{url label=$labelDetal id=$id title=$objArticle->GetTitle()|text2url}"><img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" border="0"/></a></div>
|
||||
{/if}
|
||||
|
||||
{$objArticle->GetDescription()}
|
||||
{assign var=k value=0}
|
||||
{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}
|
||||
<article class="mainNewsItem" style="min-height: 90px;">
|
||||
{if $objArticle->GetPicture()}
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}" title="{$objArticle->GetTitle()|escape}">
|
||||
{* <img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetShortnote()|strip_tags|escape}" style="float: left; margin-right: 10px;" />*}
|
||||
{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>
|
||||
|
||||
{/if}
|
||||
<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}" title="{$objArticle->GetTitle()|escape}"><h2>{$objDescription->GetTitle()}</h2></a>
|
||||
{$objDescription->GetShortnote()|strip_tags}<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}" title="{$objArticle->GetTitle()|escape}">więcej...</a>
|
||||
{*<div class="dateList">{$objArticle->GetDatePublicationWithoutTime()|date_format:"%d.%m.%Y"} r.</div>*}
|
||||
</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>
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
Wpłynęło zapytanie od [{$email}] {$post.name} {$post.surname}
|
||||
<br /><br />
|
||||
|
||||
Treść:<br /><br />
|
||||
{$message|nl2br}
|
||||
<br />
|
||||
<br />
|
||||
Kontakt:
|
||||
<br />
|
||||
{$post.name} {$post.surname}<br />
|
||||
Telefon: {$post.phone}<br />
|
||||
Adres e-mail: {$post.email}<br />
|
||||
Telefon: {$post.phone}<br />
|
||||
|
||||
|
||||
20
_rejestracja/template/partial/SimpleArticle/Index/News.tpl
Normal file
20
_rejestracja/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>
|
||||
@@ -0,0 +1,30 @@
|
||||
<div class="tresc">
|
||||
<h1 class="title">{$objElement->GetName()}</h1>
|
||||
{if $objElement->GetSubname()}
|
||||
<div class="subTitle">{$objElement->GetSubname()}</div>
|
||||
{/if}
|
||||
<div>
|
||||
<h2>{$objArticle->GetTitle()}</h2>
|
||||
|
||||
{*if $objArticle->GetPicture()}
|
||||
<div class="newsImg"><img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" style="border: 2px solid #76632d;" /></div>
|
||||
{/if*}
|
||||
|
||||
{$objArticle->getDescription()}
|
||||
|
||||
<div >
|
||||
{foreach from=$arrayImage item=image}
|
||||
<div class="imgGallery" style="float: left; margin-right: 10px;">
|
||||
<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="250" height="160" link='false' crop=true title=$titleImg }</figure>
|
||||
{* <img src="{$image->GetFullUrlMiniId($objArticle->GetId())}" alt="{$image->GetDescription()}" title="{$image->GetDescription()}" /><br />*}
|
||||
</a>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="cb"> </div>
|
||||
<a href="{url label=$objElement->GetUrlLabel()}">{translate word='back'}</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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>
|
||||
82
_rejestracja/template/partial/SimpleArticle/Index/View.tpl
Normal file
82
_rejestracja/template/partial/SimpleArticle/Index/View.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>
|
||||
Reference in New Issue
Block a user