[22157] | 1 | <!--{* |
---|
| 2 | /* |
---|
| 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
| 5 | * Copyright(c) 2000-2012 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" 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>There are <span class="attention"><!--{$tpl_linemax}--> items</span> in your favorites.</p> |
---|
| 44 | <div class="paging"> |
---|
| 45 | <!--▼ページナビ--> |
---|
| 46 | <!--{$tpl_strnavi}--> |
---|
| 47 | <!--▲ページナビ--> |
---|
| 48 | </div> |
---|
| 49 | |
---|
| 50 | <table summary="Favorites"> |
---|
| 51 | <col width="15%" /> |
---|
| 52 | <col width="20%" /> |
---|
| 53 | <col width="45%" /> |
---|
| 54 | <col width="20%" /> |
---|
| 55 | <tr> |
---|
| 56 | <th class="alignC">Delete</th> |
---|
| 57 | <th class="alignC">Product image</th> |
---|
| 58 | <th class="alignC">Product name</th> |
---|
| 59 | <th class="alignC"><!--{$smarty.const.SALE_PRICE_TITLE}-->(tax included)</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"><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');">Delete</a></td> |
---|
| 65 | <td class="alignC"><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$product_id|u}-->"><img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65"></a></td> |
---|
| 66 | <td><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$product_id|u}-->"><!--{$arrFavorite[cnt].name}--></a></td> |
---|
| 67 | <td class="alignR sale_price"> |
---|
| 68 | <span class="price"> |
---|
| 69 | & |
---|
| 70 | <!--{if $arrFavorite[cnt].price02_min_inctax == $arrFavorite[cnt].price02_max_inctax}--> |
---|
| 71 | <!--{$arrFavorite[cnt].price02_min_inctax|number_format}--> |
---|
| 72 | <!--{else}--> |
---|
| 73 | <!--{$arrFavorite[cnt].price02_min_inctax|number_format}--> - <!--{$arrFavorite[cnt].price02_max_inctax|number_format}--> |
---|
| 74 | <!--{/if}--></span> |
---|
| 75 | </td> |
---|
| 76 | </tr> |
---|
| 77 | <!--{/section}--> |
---|
| 78 | </table> |
---|
| 79 | <br /> |
---|
| 80 | |
---|
| 81 | <!--{else}--> |
---|
| 82 | <p>There are no favorites registered.</p> |
---|
| 83 | <!--{/if}--> |
---|
| 84 | </form> |
---|
| 85 | </div> |
---|
| 86 | </div> |
---|