-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyshop_index.html
85 lines (73 loc) · 2.97 KB
/
myshop_index.html
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
<{if $welcome_msg != ''}>
<div id="myshop_welcome"><{$welcome_msg}></div>
<{/if}>
<{if $mod_pref.advertisement != ''}><div id="myshop_publicite"><{$mod_pref.advertisement}></div><{/if}>
<{* CATEGORIES LIST *}>
<{include file="db:myshop_categories_list.html" categories=$categories}>
<{* CADDY & RSS *}>
<div id="myshop_caddy" align="right">
<a href="<{$smarty.const.MYSHOP_URL}>caddy.php" title="<{$smarty.const._MYSHOP_CART}>"><img src="<{$smarty.const.MYSHOP_IMAGES_URL}>cart.png" alt="<{$smarty.const._MYSHOP_CART}>" border="0" /></a>
<{if $mod_pref.rss}>
<a href="<{$smarty.const.MYSHOP_URL}>rss.php" title="<{$smarty.const._MYSHOP_RSS_FEED}>"><img src="<{$smarty.const.MYSHOP_IMAGES_URL}>feed.png" alt="<{$smarty.const._MYSHOP_RSS_FEED}>" border="0" /></a>
<{/if}>
</div>
<{* RECENT PRODUCTS *}>
<{if count($products) > 0}>
<h2><{$smarty.const._MYSHOP_MOST_RECENT}></h2>
<table border="0" class="myshop_productindex">
<{foreach item=product from=$products}>
<tr>
<td class="myshop_productthumb">
<{if $product.product_thumb_url}>
<a href="<{$product.product_url_rewrited}>" title="<{$product.product_href_title}>">
<img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" border="0" />
</a>
<{/if}>
</td>
<td class="myshop_productssummary">
<table width="100%" cellspacing="0">
<tr>
<td>
<div class="myshop_producttitle">
<{$product.product_recommended_picture}>
<a href="<{$product.product_url_rewrited}>" title="<{$product.product_href_title}>">
<{$product.product_title}>
</a>
</div>
<div class="myshop_productauthor">
<{if $product.product_joined_manufacturers != ''}>
<img src="<{$smarty.const.MYSHOP_IMAGES_URL}>manufacturers.png" alt="" border="0" />
<{$smarty.const._MYSHOP_BY}> <{$product.product_joined_manufacturers}>
<{/if}>
</div>
<{if $mod_pref.use_price}>
<div class="myshop_productprice">
<{if $product.product_stock > 0 }>
<{$smarty.const._MYSHOP_PRICE}>
<a href="<{$smarty.const.MYSHOP_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>" title="<{$smarty.const._MYSHOP_ADD_TO_CART}>">
<{if $product.product_discount_price_ttc != ''}>
<s><{$product.product_price_ttc}></s>
<{$product.product_discount_price_ttc}>
<{else}>
<{$product.product_price_ttc}>
<{/if}>
<img src="<{$smarty.const.MYSHOP_IMAGES_URL}>cartadd.png" alt="<{$smarty.const._MYSHOP_ADD_TO_CART}>" border="0" />
</a>
<{else}>
<{$mod_pref.nostock_msg}>
<{/if}>
</div>
<{/if}>
</td>
</tr>
</table>
</td>
</tr>
<{/foreach}>
</table>
<{/if}>
<{if $pagenav != ''}>
<br />
<div align="center"><{$pagenav}></div>
<{/if}>
<{include file='db:legacy_notification_select.html'}>