1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2013 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 | |
---|
25 | <div id="mypagecolumn"> |
---|
26 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
27 | <!--{if $tpl_navi != ""}--> |
---|
28 | <!--{include file=$tpl_navi}--> |
---|
29 | <!--{else}--> |
---|
30 | <!--{include file=`$smarty.const.TEMPLATE_REALDIR`mypage/navi.tpl}--> |
---|
31 | <!--{/if}--> |
---|
32 | <div id="mycontents_area"> |
---|
33 | <form name="form1" id="form1" method="post" action="?"> |
---|
34 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
35 | <input type="hidden" name="order_id" value="" /> |
---|
36 | <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> |
---|
37 | <input type="hidden" name="mode" value="" /> |
---|
38 | <input type="hidden" name="product_id" value="" /> |
---|
39 | <h3><!--{$tpl_subtitle|h}--></h3> |
---|
40 | |
---|
41 | <!--{if $tpl_linemax > 0}--> |
---|
42 | |
---|
43 | <p><span class="attention"><!--{$tpl_linemax}-->件</span>のお気に入りがあります。</p> |
---|
44 | <div class="paging"> |
---|
45 | <!--▼ページナビ--> |
---|
46 | <!--{$tpl_strnavi}--> |
---|
47 | <!--▲ページナビ--> |
---|
48 | </div> |
---|
49 | |
---|
50 | <table summary="お気に入り"> |
---|
51 | <col width="15%" /> |
---|
52 | <col width="20%" /> |
---|
53 | <col width="45%" /> |
---|
54 | <col width="20%" /> |
---|
55 | <tr> |
---|
56 | <th class="alignC">削除</th> |
---|
57 | <th class="alignC">商品画像</th> |
---|
58 | <th class="alignC">商品名</th> |
---|
59 | <th class="alignC"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込)</th> |
---|
60 | </tr> |
---|
61 | <!--{section name=cnt loop=$arrFavorite}--> |
---|
62 | <!--{assign var=product_id value="`$arrFavorite[cnt].product_id`"}--> |
---|
63 | <tr> |
---|
64 | <td class="alignC"> |
---|
65 | <a href="javascript:eccube.setModeAndSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');"> |
---|
66 | 削除</a> |
---|
67 | </td> |
---|
68 | <td class="alignC"> |
---|
69 | <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$product_id|u}-->"> |
---|
70 | <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|h}-->" style="max-width: 65px;max-height: 65px;" alt="<!--{$arrFavorite[cnt].name|h}-->" /> |
---|
71 | </td> |
---|
72 | <td> |
---|
73 | <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$product_id|u}-->"> |
---|
74 | <!--{$arrFavorite[cnt].name|h}--></a> |
---|
75 | </td> |
---|
76 | <td class="alignR sale_price"> |
---|
77 | <span class="price"> |
---|
78 | <!--{if $arrFavorite[cnt].price02_min_inctax == $arrFavorite[cnt].price02_max_inctax}--> |
---|
79 | <!--{$arrFavorite[cnt].price02_min_inctax|number_format}--> |
---|
80 | <!--{else}--> |
---|
81 | <!--{$arrFavorite[cnt].price02_min_inctax|number_format}-->~<!--{$arrFavorite[cnt].price02_max_inctax|number_format}--> |
---|
82 | <!--{/if}-->円</span> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | <!--{/section}--> |
---|
86 | </table> |
---|
87 | <br /> |
---|
88 | |
---|
89 | <!--{else}--> |
---|
90 | <p>お気に入りが登録されておりません。</p> |
---|
91 | <!--{/if}--> |
---|
92 | </form> |
---|
93 | </div> |
---|
94 | </div> |
---|