catalogs_product===.tpl
8.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<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}
{if $product.is_cost2 eq 1}
<div><strike>{$product.cine}</strike></div>
<br /><div class="cine"><div class="l"><div class="r"><div class="w">{$product.cine2}</div></div></div></div>
{else}
<br /><div class="cine"><div class="l"><div class="r"><div class="w">{$product.cine}</div></div></div></div>
{/if}
<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}{if $modifications[i].code}
<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>
{/if}{/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>
*}
<div class="box5 mt">
<div id="SlideItMoo_outer2">
<div id="SlideItMoo_inner2">
<div id="SlideItMoo_items2">
{section name=i loop=$products_parent}
<div class="SlideItMoo_element2"><div class="row" align="center">
<div class="pic_row">
<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|default:'no_image2.jpg'}" alt="{$products_parent[i].title|escape:'html'}" title="{$products_parent[i].title|escape:'html'}" border="0" class="pic" /></a>
</div>
<div class="name2"><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>
{if $products_parent[i].is_cost2 eq 1}
<div><strike>{$products_parent[i].cine}</strike></div>
<div class="cine"><div class="l"><div class="r"><div class="w">{$products_parent[i].cine2}</div></div></div></div>
{else}
<div class="cine"><div class="l"><div class="r"><div class="w">{$products_parent[i].cine}</div></div></div></div>
{/if}
</div> </div>
{/section}
</div>
</div>
</div>
</div>
{/if}
{if $product.video_code}
<div class="title3 mt">Âèäåî</div>
<center>{$product.video_code|stripslashes}</center>
{/if}
{if count($params)>0}
<div class="title3 mt">Îáçîðû</div>
{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}
{/if}
{if $product.doc}
<div class="title3 mt">Äîêóìåíòàöèÿ</div>
{$product.doc|stripslashes}
{/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 class="txtb">Ôîòî:</div>
{if count($gallery)>0}
{section name=i loop=$gallery}
<div class="box_pic">
<p><a href="{$smarty.const.URL}uploaded/pic/catalogs/gallery/big/{$gallery[i].pic_big}" rel="milkbox[galls2]" title="{$gallery[i].name|stripslashes|escape:"html"}"><strong>{$gallery[i].name}</strong></a></p>
<a href="{$smarty.const.URL}uploaded/pic/catalogs/gallery/big/{$gallery[i].pic_big}" rel="milkbox[galls1]" title="{$gallery[i].name|stripslashes|escape:"html"}"><img src="{$smarty.const.URL}uploaded/pic/catalogs/gallery/{$gallery[i].pic}" border="0" alt="{$gallery[i].name}" title="{$gallery[i].name}" class="pic" /></a>
</div>
{if not ($smarty.section.i.rownum mod 3)}<div class="both"></div>{/if}
{/section}<div class="both"></div>
{else}ïóñòî!{/if}
<div class="txtb">Âèäåî:</div>
{if count($video)>0}
{section name=i loop=$video}
<div id="video_{$video[i].id}" class="ct">{if $video[i].type eq "code"}{$video[i].code|stripslashes}{/if}</div>
<p class="ct">{$video[i].name}</p>
{if $video[i].type eq "video"}
<script type="text/javascript">{literal}
var obj = new Swiff('{/literal}{$smarty.const.URL}{literal}js/player.swf', {
width: 500,
height: 300,
container: $('video_{/literal}{$video[i].id}{literal}'),
params: {
allowfullscreen: 'true',
allowscriptaccess: 'always',
wmode: 'transparent',
flashvars: 'file={/literal}{$smarty.const.URL}uploaded/pic/catalogs/video/{$video[i].video}{literal}'
},
events: {
onLoad: function() {
alert("Flash is loaded!")
}
}
});{/literal}</script>
{/if}
{/section}
{else}ïóñòî!{/if}
</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>
*}