Файл: InstantSocial/uploud/templates/_default_/modules/mod_latest_uc.tpl
Строк: 32
{if $is_uc}
{if $cfg.showtype == 'thumb'}
{foreach
key=tid item=item from=$items}
<div
class="uc_latest_item">
<table border="0"
cellspacing="2" cellpadding="0"
width="100%">
<tr><td height="110"
align="center" valign="middle">
<a
href="/catalog/item{$item.id}.html">
<img
alt="{$item.title|escape:'html'}"
src="/images/catalog/small/{$item.imageurl}.jpg"
border="0"
/>
</a>
</td></tr>
<tr><td
align="center" valign="middle">
<a
class="uc_latest_link"
href="/catalog/item{$item.id}.html">{$item.title}</a>
</td></tr>
{if
$item.viewtype == 'shop'}
<tr><td
align="center" valign="middle">
<div
id="uc_latest_price">{$item.price}
{$LANG.UC_LATEST_RUB}</div>
</td></tr>
{/if}
</table>
</div>
{/foreach}
<div
class="blog_desc"></div>
{/if}
{if
$cfg.showtype == 'list'}
<table width="100%"
cellspacing="0" cellpadding="4"
class="uc_latest_list">
{foreach key=tid item=item
from=$items}
<tr>
<td width=""
valign="top"><a class="uc_latest_link"
href="/catalog/item{$item.id}.html">{$item.title}</a></td>
{section name=customer start=0 loop=$cfg.showf
step=1}
<td
valign="top">{$item.fdata[$smarty.section.customer.index]}</td>
{/section}
<td width=""
align="right"
valign="top">{$item.fdate}</td>
<td
align="right">
{if $item.viewtype ==
'shop'}
<div id="uc_latest_price">{$item.price}
{$LANG.UC_LATEST_RUB}</div>
{/if}
</td>
</tr>
{/foreach}
</table>
{/if}
{if
$cfg.fulllink}
<div style="margin-top:5px; text-align:right;
clear:both"><a style="text-decoration:underline"
href="/catalog">{$LANG.UC_LATEST_ALLCATALOG}</a>
→</div>
{/if}
{else}
<p>{$LANG.UC_LATEST_NOOBJECTS}</p>
{/if}