catalogs_product2.tpl 4.2 KB
<div class="products mt">
<div class="pr_t"><div class="l"><div class="r">{$product.rubric_id|rubric}</div></div></div>
 <div class="row"><div class="wrp">
      <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}{if $product.pic}uploaded/pic/catalogs/products/{$product.pic}{else}img/picno.jpg{/if}" alt="{$product.name|escape:'html'}" title="{$product.name|escape:'html'}" border="0" class="pic" align="left" width="144" /></a>
      <div class="infor" align="center">
       {if $product.cine_last>0}<div><strike>{$product.cine_last}</strike></div>{/if}
       <br /><div class="cine"><div class="l"><div class="r"><div class="w">{$product.cine} ãðí.</div></div></div></div><br /><br />
      </div>
      <div class="infob">
      <h1>{$product.name|stripslashes}</h1>
      {$product.text|stripslashes}
      {if $product.brend_text}
       <br /><a href="#" id="v_slidein" style="display:inline-block;border-bottom:1px dashed black;text-decoration:none;">ðàçìåðíàÿ ñåòêà</a>
       <div id="vertical_slide">
        {$product.brend_text|stripslashes}
       </div>
      {/if}
      <div class="both"></div>
      </div><div class="both"></div>
     </div>
</div></div>

<div class="both"></div>
{if count($modifications)}
{*
<div class="title3 mt">Ìîäèôèêàöèè</div>
*}
<table cellpadding="4" cellspacing="1" border="0" align="center" width="100%" bgcolor="#969696">
<tr align="center" bgcolor="#ffffff" class="txtb"><td width="144">Ôîòî</td><td width="150">Ðàçìåð</td><td width="150">Öâåò</td><td width="150">Êîä</td><td width="150">Ãäå êóïèòü</td><td width="150">Êóïèòü</td></tr>
{section name=i loop=$modifications}
<tr align="center" bgcolor="#ffffff"><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>{else}<img src="{$smarty.const.URL}img/picno2.jpg" border="0" class="pic" alt="{$modifications[i].code|stripslashes|escape:"html"}" />{/if}</td><td>{$modifications[i].size}&nbsp;</td><td>{$modifications[i].color}&nbsp;</td><td>{$modifications[i].code}&nbsp;</td><td>{$modifications[i].code|mod_city}&nbsp;</td><td><a href="javascript:Basket.go_pruduct({$modifications[i].id});" class="link_but1">â êîðçèíó</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}


<div class="bots">
<a href="#" class="tab">Õàðàêòåðèñòèêè</a> <a href="#" class="tab">Ôîòî-âèäåî</a> <a href="#" class="tab">Îáçîðû</a> <a href="#" class="tab">Äîêóìåíòàöèÿ</a>
</div>
<div class="bot_content">
     <div class="feature">{if $product.params}{$product.params|stripslashes}{else}Çàêëàäêà ïóñòà!{/if}</div>
     <div class="feature">Çàêëàäêà ïóñòà!</div>
     <div class="feature">
      {if count($articles)>0}
      {section name=i loop=$articles}
       <p><a href="{$smarty.const.URL}articles/{$articles[i].id}/">{$articles[i].title}</a></p>
      {/section}
      {else}
       Çàêëàäêà ïóñòà!
      {/if}
     </div>
     <div class="feature">{if $product.doc}{$product.doc|stripslashes}{else}Çàêëàäêà ïóñòà!{/if}</div>
</div>