1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2010 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|h}--></h2> |
---|
26 | <!--{if $tpl_navi != ""}--> |
---|
27 | <!--{include file=$tpl_navi}--> |
---|
28 | <!--{else}--> |
---|
29 | <!--{include file=`$smarty.const.TEMPLATE_REALDIR`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|h}--></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 | |
---|
47 | <form name="form1" id="form1" method="post" action="?"> |
---|
48 | <input type="hidden" name="mode" value="cart" /> |
---|
49 | <input type="hidden" name="product_id" value="" /> |
---|
50 | <table summary="お気に入り" id="mypage-history-list" class="list"> |
---|
51 | <tr> |
---|
52 | <th width="40">削除</th> |
---|
53 | <th width="60">商品画像</th> |
---|
54 | <th width="200">商品名</th> |
---|
55 | <th width="200" class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span></th> |
---|
56 | </tr> |
---|
57 | <!--{section name=cnt loop=$arrFavorite}--> |
---|
58 | <!--{assign var=product_id value="`$arrFavorite[cnt].product_id`"}--> |
---|
59 | <tr> |
---|
60 | <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');">削除</a></td> |
---|
61 | <td><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$product_id|u}-->"><img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65"></a></td> |
---|
62 | <td><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$product_id|u}-->"><!--{$arrFavorite[cnt].name}--></a></td> |
---|
63 | <td class="right sale_price"> |
---|
64 | <span class="price"> |
---|
65 | <!--{if $arrFavorite[cnt].price02_min == $arrFavorite[cnt].price02_max}--> |
---|
66 | <!--{$arrFavorite[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
67 | <!--{else}--> |
---|
68 | <!--{$arrFavorite[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrFavorite[cnt].price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
69 | <!--{/if}-->円</span> |
---|
70 | </td> |
---|
71 | </tr> |
---|
72 | <!--{/section}--> |
---|
73 | </table> |
---|
74 | <br /> |
---|
75 | <!--{if $stock_find_count > 0 && $customer_rank < 51}--> |
---|
76 | <div class="product-btn"> |
---|
77 | <a href="javascript:void(document.form1.submit())" class="btn-cart">カートに入れる</a> |
---|
78 | </div> |
---|
79 | <!--{/if}--> |
---|
80 | </form> |
---|
81 | |
---|
82 | <!--{else}--> |
---|
83 | <p>お気に入りが登録されておりません。</p> |
---|
84 | <!--{/if}--> |
---|
85 | </form> |
---|
86 | </div> |
---|
87 | </div> |
---|