32 lines
1.0 KiB
Smarty
32 lines
1.0 KiB
Smarty
<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> |