Commit 363a9cce7812b80a4dadb58e6a3a11394c5afa8a
1 parent
402d029c
- подарочный коврик
Showing
4 changed files
with
3 additions
and
78 deletions
Show diff stats
templates/box/_product.tpl deleted
1 | - <div class="row_product"><div class="wrp"> | |
2 | - {* | |
3 | - <div class="pr_t"><strong>{if $rubric.list_name}<span itemprop="category" content="{$rubric.list_name}"> {$rubric.list_name}</span> {else}<span itemprop="category" content="{$data[i].list_name}"> {$data[i].list_name}</span> {/if}<a href="{$smarty.const.URL}catalogs/brends/{$data[i].brend_name}/"><span itemprop="brand">{$data[i].brend_name}</span></a></strong></div> | |
4 | - *} | |
5 | - <div class="fl"> | |
6 | - <a href="{$smarty.const.URL}{$data[i].rubric_translit}-catalogs/{$data[i].translit}-{$data[i].id}/" class="link_pic1"><img src="{$smarty.const.URL}{if $data[i].mod.pic}uploaded/pic/catalogs/modifications/{$data[i].mod.pic}{elseif $data[i].pic}uploaded/pic/catalogs/products/{if $data[i].akcii_id>0}a_{/if}{$data[i].pic}{else}img/picno.jpg{/if}" alt="{$data[i].list_name} {$data[i].brend_name}" title="{$data[i].list_name} {$data[i].brend_name}" itemprop="image" border="0" /></a> | |
7 | - {if $data[i].sail eq 1} | |
8 | - <br /><img src="{$smarty.const.URL}img/sail.png" border="0" /> | |
9 | - {/if} | |
10 | - </div> | |
11 | - <div class="infor" align="center" style="position:relative;"> | |
12 | - | |
13 | -<div id='ratig-layer-{$data[i].id}' style="float: none;"> | |
14 | -<div class="rating" style=""> | |
15 | - <ul class="unit-rating"> | |
16 | - <li class="current-rating" style="width:{$data[i].rating}px;">{$data[i].rating}</li> | |
17 | - <li><a href="#" title="Óæàñíî" class="r1-unit" onclick="doRate('1', '{$data[i].id}'); return false;">1</a></li> | |
18 | - <li><a href="#" title="Ïëîõî" class="r2-unit" onclick="doRate('2', '{$data[i].id}'); return false;">2</a></li> | |
19 | - <li><a href="#" title="Ñðåäíå" class="r3-unit" onclick="doRate('3', '{$data[i].id}'); return false;">3</a></li> | |
20 | - <li><a href="#" title="Õîðîøî" class="r4-unit" onclick="doRate('4', '{$data[i].id}'); return false;">4</a></li> | |
21 | - <li><a href="#" title="Îòëè÷íî" class="r5-unit" onclick="doRate('5', '{$data[i].id}'); return false;">5</a></li> | |
22 | - </ul> | |
23 | -</div></div> | |
24 | -<p>{$data[i].rating2} íà îñíîâå {$data[i].vote_num} ãîëîñîâ</p> | |
25 | -<br /> | |
26 | - {if $data[i].cine eq 1} | |
27 | - <div class="jdom">Òîâàð îæèäàåòñÿ</div> | |
28 | - {if $data[i].active>1}<div class="cine"><div class="l"><div class="r"><div class="w">{$data[i].active}</div></div></div></div>{/if} | |
29 | - {elseif $data[i].is_cost2 eq 1} | |
30 | - <div><strike>{$data[i].cine}</strike></div> | |
31 | - <div class="cost"><div class="l"><div class="r"><div class="w">{$data[i].cine2}</div></div></div></div> | |
32 | - {else} | |
33 | - {if $data[i].cine_last>0}<div><strike>{$data[i].cine_last}</strike></div>{/if} | |
34 | - <div class="cost"><div class="l"><div class="r"><div class="w"><span itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer"><span itemprop="price">{if $data[i].salepc>0}<strike>{/if}{$data[i].cine} ãðí.{if $data[i].salepc>0}</strike>{/if}{if $rubric.is_usd eq 1}<br />{$data[i].cine|usd} ${/if}</span><meta itemprop="currency" content="UAH" /></span>{if $data[i].sale>0}<span class="sale">*</span>{/if}</div></div></div></div> | |
35 | - {/if} | |
36 | - | |
37 | - | |
38 | - | |
39 | - | |
40 | - | |
41 | - | |
42 | - {if $data[i].cine ne 1} | |
43 | - <a href="{$smarty.const.URL}{$data[i].rubric_translit}-catalogs/{$data[i].translit}-{$data[i].id}/" class="link_kupit">Êóïèòü</a><br /> | |
44 | - {/if} | |
45 | - | |
46 | - | |
47 | - {if $data[i].salepc>0} | |
48 | - {assign var="twenty_procent" value="`$data[i].cine*$data[i].salepc/100`"} | |
49 | - <img src="{$smarty.const.URL}img/_sale10.png" style="position:absolute;right:130px;top:120px" width="57" height="46" /> | |
50 | - <div class="cost" style="color:#e31515;font-size:16px;"> = {$data[i].cine-$twenty_procent|round} ãðí.</div><br /> | |
51 | - {/if} | |
52 | - </div> | |
53 | - <div class="infob"> | |
54 | - {* | |
55 | - <strong>{$rubric.list_name} <a href="{$smarty.const.URL}catalogs/brends/{$data[i].brend_name}/">{$data[i].brend_name}</a>, <a href="{$smarty.const.URL}{$data[i].rubric_translit}-catalogs/{$data[i].translit}-{$data[i].id}/" style="text-transform:uppercase;" class="link_green"><span itemprop="name">{if $rubric.literal eq 1}{$data[i].name|stripslashes|prodliteral}{else}{$data[i].name|stripslashes}{/if}</span></a></strong> | |
56 | - *} | |
57 | - <a href="{$smarty.const.URL}{$data[i].rubric_translit}-catalogs/{$data[i].translit}-{$data[i].id}/" style="text-transform:uppercase;" class="link_green">{$data[i].ph1} {$rubric.list_name} {$data[i].brend_name} {$data[i].art}, <span itemprop="name">{if $rubric.literal eq 1}{$data[i].name|stripslashes|prodliteral}{else}{$data[i].name|stripslashes}{/if}</span></a> | |
58 | - <div class="fr" style="padding-top:50px;text-align:center;"><span class='onstock'>Íàëè÷èå è öåíû<br/> óòî÷íÿéòå íà<br/> ìîìåíò ïîêóïêè</span></div> | |
59 | - <p><span itemprop="description">{$data[i].about|stripslashes|strip_tags|truncate:100}</span></p> | |
60 | - {*<br /> | |
61 | - <input type="checkbox" value="{$data[i].id}" rel="compare {$data[i].id}" id="compare_{$data[i].id}" /><label for="compare_{$data[i].id}" class="txtblue">Äîáàâèòü ê ñðàâíåíèþ</label> | |
62 | - *} | |
63 | - </div><div class="both"></div> | |
64 | - {if $data[i].kovrick eq 1} | |
65 | - <img src="/img/kovrick.png" style="margin-left:150px;margin-top:-60px;" width="168" height="64" /> | |
66 | - {/if} | |
67 | - </div></div> | |
68 | 0 | \ No newline at end of file |
templates/box/product.tpl
... | ... | @@ -60,8 +60,5 @@ |
60 | 60 | {*<br /> |
61 | 61 | <input type="checkbox" value="{$data[i].id}" rel="compare {$data[i].id}" id="compare_{$data[i].id}" /><label for="compare_{$data[i].id}" class="txtblue">Äîáàâèòü ê ñðàâíåíèþ</label> |
62 | 62 | *} |
63 | - </div><div class="both"></div> | |
64 | - {if $data[i].kovrick eq 1} | |
65 | - <img src="/img/kovrick.png" style="margin-left:150px;margin-top:-60px;" width="168" height="64" /> | |
66 | - {/if} | |
63 | + </div><div class="both"></div> | |
67 | 64 | </div></div> |
68 | 65 | \ No newline at end of file | ... | ... |
templates/box/product_kite.tpl
... | ... | @@ -61,7 +61,5 @@ |
61 | 61 | <input type="checkbox" value="{$data[i].id}" rel="compare {$data[i].id}" id="compare_{$data[i].id}" /><label for="compare_{$data[i].id}" class="txtblue">Äîáàâèòü ê ñðàâíåíèþ</label> |
62 | 62 | *} |
63 | 63 | </div><div class="both"></div> |
64 | - {if $data[i].kovrick eq 1} | |
65 | - <img src="/img/kovrick.png" style="margin-left:150px;margin-top:-60px;" width="168" height="64" /> | |
66 | - {/if} | |
64 | + | |
67 | 65 | </div></div> |
68 | 66 | \ No newline at end of file | ... | ... |
templates/catalogs_product.tpl
... | ... | @@ -72,10 +72,7 @@ |
72 | 72 | <span class="txtb">{if $rubric.filter}{$rubric.filter}{else}{$smarty.const.FILTER_LABEL_3}{/if}</span> {section name=i loop=$product_filters}<a href="{$smarty.const.URL}{$lang_prefix}{url4 prefix=f n=$product_filters[i].id s=$product_filters[i].prefix}" class="link_blue">{$product_filters[i].name}</a> {/section} |
73 | 73 | </p> |
74 | 74 | {if $lang eq 'ukr'}{$product.about|stripslashes}{else}{$product.text|stripslashes}{/if} |
75 | - <br /><br /> | |
76 | - {if $product.kovrick eq 1} | |
77 | - <a href={$smarty.const.URL}{$lang_prefix}kovriki_i_matrasyi-catalogs/PE_Campingmat_NA-3610-S-84712/"><img src="/img/kovrick.png" width="168" height="64" border="0" /></a> | |
78 | - {/if} | |
75 | + <br /> | |
79 | 76 | {if $smarty.get.test eq 1} |
80 | 77 | <a href="#" id="subscribe"><img src="{$smarty.const.URL}img/subscribe.jpg" width="540" height="58" /></a> |
81 | 78 | {/if} | ... | ... |