catalogs_compare.tpl
3.63 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
<div class="title3 mt mb"><div class="l"><div class="r"><div class="w">Ñðàâíèòü òîâàðû</div></div></div></div>
{if $products[0].id>0 || $products[1].id>0}
<table bgcolor="#C7C7C7" cellpadding="2" cellspacing="1" width="100%">
<tr bgcolor="#ffffff" valign="top">
<td width="50%">{if $products[0].id>0}
<img src="{$smarty.const.URL}{if $products[0].pic}uploaded/pic/catalogs/products/{$products[0].pic}{else}img/picno.jpg{/if}" alt="{$products[0].name|escape:'html'}" title="{$products[0].name|escape:'html'}" border="0" class="pic right" align="left" />
<strong><a href="{$smarty.const.URL}catalogs/{$products[0].rubric_id}/t{$products[0].id}/" style="text-transform:uppercase;">{$products[0].name|stripslashes}</a></strong>
<p>{$products[0].about|stripslashes}</p>
{/if}</td>
<td width="50%">{if $products[1].id>0}
<img src="{$smarty.const.URL}{if $products[1].pic}uploaded/pic/catalogs/products/{$products[1].pic}{else}img/picno.jpg{/if}" alt="{$products[1].name|escape:'html'}" title="{$products[1].name|escape:'html'}" border="0" class="pic right" align="left" />
<strong><a href="{$smarty.const.URL}catalogs/{$products[1].rubric_id}/t{$products[1].id}/" style="text-transform:uppercase;">{$products[1].name|stripslashes}</a></strong>
<p>{$products[1].about|stripslashes}</p>
{/if}</td>
</tr>
<tr bgcolor="#ffffff" valign="top">
<td>
{if count($products[0].params)>0}
<table bgcolor="#C7C7C7" cellpadding="2" cellspacing="1" width="100%">
{section name=i loop=$products[0].params}
<tr bgcolor="#ffffff"><td width="200">{$products[0].params[i].name}</td><td>{if $products[0].params[i].size}{$products[0].params[i].size} {/if}{$products[0].params[i].metka}</td></tr>
{/section}
</table>
{/if}
</td>
<td>
{if count($products[1].params)>0}
<table bgcolor="#C7C7C7" cellpadding="2" cellspacing="1" width="100%">
{section name=i loop=$products[1].params}
<tr bgcolor="#ffffff"><td width="200">{$products[1].params[i].name}</td><td>{if $products[1].params[i].size}{$products[1].params[i].size} {/if}{$products[1].params[i].metka}</td></tr>
{/section}
</table>
{/if}
</td>
</tr>
<tr bgcolor="#ffffff" align="center" valign="top">
<td>{if $products[0].id>0}
{if $products[0].is_cost2 eq 1}
<div><strike>{$products[0].cine}</strike></div>
<div class="cine"><div class="l"><div class="r"><div class="w">{$products[0].cine2}</div></div></div></div>
{else}
{if $products[0].cine_last>0}<div><strike>{$products[0].cine_last}</strike></div>{/if}
<div class="cost">{$products[0].cine} ãðí.</div>
{/if}<br />
<a href="{$smarty.const.URL}catalogs/{$products[0].rubric_id}/t{$products[0].id}/" class="link_kupit">Êóïèòü</a><br />
<a href="{$smarty.const.URL}catalogs/compare/?deleteID={$products[0].id}" onClick="return Basket.delete_c();">Óäàëèòü òîâàð</a>
{/if}</td>
<td>{if $products[1].id>0}
{if $products[1].is_cost2 eq 1}
<div><strike>{$products[1].cine}</strike></div>
<div class="cine"><div class="l"><div class="r"><div class="w">{$products[1].cine2}</div></div></div></div>
{else}
{if $products[1].cine_last>0}<div><strike>{$products[1].cine_last}</strike></div>{/if}
<div class="cost">{$products[1].cine} ãðí.</div>
{/if}<br />
<a href="{$smarty.const.URL}catalogs/{$products[1].rubric_id}/t{$products[1].id}/" class="link_kupit">Êóïèòü</a><br />
<a href="{$smarty.const.URL}catalogs/compare/?deleteID={$products[1].id}" onClick="return Basket.delete_c();">Óäàëèòü òîâàð</a>
{/if}</td>
</tr>
</table>
{/if}