_catalogs_product.tpl
3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<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} </td><td>{$modifications[i].color} </td><td>{$modifications[i].code} </td><td>{$modifications[i].code|mod_city} </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}