1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | <div id="mypagecolumn"> |
---|
25 | <h2 class="title"><!--{$tpl_title|escape}--></h2> |
---|
26 | <!--{if $tpl_navi != ""}--> |
---|
27 | <!--{include file=$tpl_navi}--> |
---|
28 | <!--{else}--> |
---|
29 | <!--{include file=`$smarty.const.TEMPLATE_DIR`mypage/navi.tpl}--> |
---|
30 | <!--{/if}--> |
---|
31 | |
---|
32 | <div id="mycontentsarea"> |
---|
33 | <form name="form1" method="post" action="?"> |
---|
34 | <input type="hidden" name="order_id" value="" /> |
---|
35 | <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> |
---|
36 | <h3><!--{$tpl_subtitle|escape}--></h3> |
---|
37 | |
---|
38 | <!--{if $tpl_linemax > 0}--> |
---|
39 | |
---|
40 | <p><!--{$tpl_linemax}-->件のお気に入りがあります。</p> |
---|
41 | <div class="paging"> |
---|
42 | <!--▼ページナビ--> |
---|
43 | <!--{$tpl_strnavi}--> |
---|
44 | <!--▲ページナビ--> |
---|
45 | </div> |
---|
46 | <p>※最大20件まで表示します。</p> |
---|
47 | |
---|
48 | <form name="form1" id="form1" method="post" action="<!--{$smarty.const.SITE_URL}-->products/detail.php"> |
---|
49 | <input type="hidden" name="mode" value="cart" /> |
---|
50 | <input type="hidden" name="product_id" value="" /> |
---|
51 | <table summary="お気に入り" id="mypage-history-list" class="list"> |
---|
52 | <tr> |
---|
53 | <th width="40">削除</th> |
---|
54 | <th width="60">商品画像</th> |
---|
55 | <th width="200">商品名</th> |
---|
56 | <th width="200" class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span></th> |
---|
57 | </tr> |
---|
58 | <!--{section name=cnt loop=$arrFavorite}--> |
---|
59 | <!--{assign var=product_id value="`$arrFavorite[cnt].product_id`"}--> |
---|
60 | <tr> |
---|
61 | <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id}-->');">削除</a></td> |
---|
62 | <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id}-->"><img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|escape}-->&width=65&height=65"></a></td> |
---|
63 | <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id}-->"><!--{$arrFavorite[cnt].name}--></a></td> |
---|
64 | <td class="right sale_price"> |
---|
65 | <span class="price"> |
---|
66 | <!--{if $arrFavorite[cnt].price02_min == $arrFavorite[cnt].price02_max}--> |
---|
67 | <!--{$arrFavorite[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
68 | <!--{else}--> |
---|
69 | <!--{$arrFavorite[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrFavorite[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
70 | <!--{/if}-->円</span> |
---|
71 | </td> |
---|
72 | </tr> |
---|
73 | <!--{/section}--> |
---|
74 | </table> |
---|
75 | <br /> |
---|
76 | <!--{if $stock_find_count > 0 && $customer_rank < 51}--> |
---|
77 | <div class="product-btn"> |
---|
78 | <a href="javascript:void(document.form1.submit())" class="btn-cart">カートに入れる</a> |
---|
79 | </div> |
---|
80 | <!--{/if}--> |
---|
81 | </form> |
---|
82 | |
---|
83 | <!--{else}--> |
---|
84 | <p>お気に入りが登録されておりません。</p> |
---|
85 | <!--{/if}--> |
---|
86 | </form> |
---|
87 | </div> |
---|
88 | </div> |
---|