catalogs_product.tpl 2.96 KB
<div class="title3 mt mb"><h2>{$product.rubric_id|rubric}</h2></div>

<h1>{$product.name|stripslashes}</h1>

{if $product.pic_big}<a href="{$smarty.const.URL}uploaded/pic/catalogs/products/big/{$product.pic_big}" rel="milkbox[gall1]" title="{$product.name|stripslashes|escape:"html"}"><img src="{$smarty.const.URL}uploaded/pic/catalogs/products/{$product.pic}" border="0" alt="{$product.name|stripslashes}" class="pic right" align="left" /></a>{/if}
{$product.about|stripslashes}
{if count($cities)}
<p><span class="txtb">Ãîðîäà</span>:
{section name=i loop=$cities}
  {$cities[i].name}{if $smarty.section.i.index<count($cities)-1}, {/if}
{/section}
</p>
{/if}
<div class="both"></div>
<div class="cine_last">Ñòàðàÿ öåíà: <strike>{$product.cine_last}</strike> {if $curs eq 'usd'}${elseif $curs eq 'euro'}&euro;{else}ãðí.{/if}</div>
<div class="cine">Öåíà: {$product.cine} {if $curs eq 'usd'}${elseif $curs eq 'euro'}&euro;{else}ãðí.{/if}</div>
{*
<p><a href="javascript:Basket.go_pruduct({$product.id});" class="bask1">â êîðçèíó</a></p>
*}
<div class="both"></div>
{if count($modifications)}
<div class="title3 mt">Ìîäèôèêàöèè</div>
<table cellpadding="4" cellspacing="1" border="0" align="center" class="mt" width="100%">
<tr align="center" bgcolor="#BDBDBD" class="txtb"><td width="144">Ôîòî</td><td width="150">ðàçìåð.</td><td width="150">Öâåò</td><td width="150">Êîä</td></tr>
{section name=i loop=$modifications}
<tr align="center" bgcolor="#E0E0E0"><td>{if $modifications[i].pic}<a href="{$smarty.const.URL}uploaded/pic/catalogs/modifications/big/{$modifications[i].pic_big}" rel="milkbox[gall1]" title="{$modifications[i].code|stripslashes|escape:"html"}"><img src="{$smarty.const.URL}uploaded/pic/catalogs/modifications/{$modifications[i].pic}" border="0" class="pic" alt="{$modifications[i].code|stripslashes|escape:"html"}" /></a>{/if}&nbsp;</td><td>{$modifications[i].size}&nbsp;</td><td>{$modifications[i].color}&nbsp;</td><td>{$modifications[i].code}&nbsp;</td><td><a href="javascript:Basket.go_pruduct({$modifications[i].id});" class="bask1">â êîðçèíó</a></td></tr>
{/section}
</table>
{/if}

{if count($products_parent)}
<div class="title3 mt">Ñîïóòñòâóþùèå òîâàðû</div>
<div class="akciya mt">
{section name=i loop=$products_parent}
     <div class="row {if not ($smarty.section.i.rownum mod 3)}n{/if}" align="center">
      <a href="{$smarty.const.URL}catalogs/{$products_parent[i].rubric_id}/t{$products_parent[i].id}/"><img src="{$smarty.const.URL}uploaded/pic/catalogs/products/{$products_parent[i].pic}" alt="{$products_parent[i].title|escape:'html'}" title="{$products_parent[i].title|escape:'html'}" border="0" class="pic" /></a>
      <div class="name1"><a href="{$smarty.const.URL}catalogs/{$products_parent[i].rubric_id}/t{$products_parent[i].id}/"><strong>{$products_parent[i].name|stripslashes}</strong></a></div>
      <div class="cine">{$products_parent[i].cine} ãðí.</div>
     </div>{if not ($smarty.section.i.rownum mod 3)}<div class="both"></div>{/if}
{/section}<div class="both"></div>
</div>
{/if}