source: branches/comu-ver2/data/Smarty/templates/default/mobile/products/detail.tpl @ 17103

Revision 17103, 4.0 KB checked in by pineray, 16 years ago (diff)

拡大画像もリストアップされてしまっていたので、通常の画像のみを表示するように

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
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<!--▼CONTENTS-->
25<!--▼MAIN CONTENTS-->
26<!--タイトルここから-->
27<!--★商品名★-->
28<div align="center"><!--{$arrProduct.name|escape}--></div>
29<hr>
30<!--タイトルここまで-->
31<!--詳細ここから-->
32<!--{if $smarty.get.image != ''}-->
33  <!--{assign var=key value="`$smarty.get.image`"}-->
34<!--{else}-->
35  <!--{assign var=key value="main_image"}-->
36<!--{/if}-->
37<img src="<!--{$arrFile[$key].filepath}-->">
38<!--{if $subImageFlag == true}-->
39<br>画像
40  <!--{if ($smarty.get.image == "" || $smarty.get.image == "main_image")}-->
41[1]
42  <!--{else}-->
43[<a href="<!--{$smarty.server.PHP_SELF|escape}-->?product_id=<!--{$smarty.get.product_id}-->&image=main_image">1</a>]
44  <!--{/if}-->
45 
46  <!--{assign var=num value="2"}-->
47  <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
48  <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
49  <!--{if $arrFile[$key].filepath != ""}-->
50    <!--{if $key == $smarty.get.image}-->
51[<!--{$num}-->]
52    <!--{else}-->
53[<a href="<!--{$smarty.server.PHP_SELF|escape}-->?product_id=<!--{$smarty.get.product_id}-->&image=<!--{$key}-->"><!--{$num}--></a>]
54    <!--{/if}-->
55    <!--{assign var=num value="`$num+1`"}-->
56  <!--{/if}-->
57  <!--{/section}-->
58<!--{/if}-->
59<br>
60<!--{* オペビルダー用 *}-->
61<!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
62<!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/detail_ope_mb_view.tpl}-->
63<!--{/if}-->
64<!--★詳細メインコメント★-->
65[emoji:76]<!--{$arrProduct.main_comment|nl2br}--><br>
66<br>
67<!--アイコン-->
68<!--★価格★-->
69<font color="#FF0000">価格(税込):
70<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
71    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
72<!--{else}-->
73    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->・<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
74<!--{/if}-->
75円</font><br/>
76<!--{if $arrProduct.price01_max > 0}-->
77<font color="#FF0000">参考市場価格:
78<!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
79<!--{$arrProduct.price01_min|number_format}-->
80<!--{else}-->
81<!--{$arrProduct.price01_min|number_format}-->・<!--{$arrProduct.price01_max|number_format}-->
82<!--{/if}-->
83円</font><br>
84<!--{/if}-->
85<form name="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
86    <input type="hidden" name="mode" value="select">
87    <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->">
88<!--{if $tpl_stock_find}-->
89    <!--★商品を選ぶ★-->
90    <center><input type="submit" name="select" id="cart" value="この商品を選ぶ"></center>
91<!--{else}-->
92    <font color="#FF0000">申し訳ございませんが、只今品切れ中です。</font>
93<!--{/if}-->
94</form>
95<!--詳細ここまで-->
96<!--▲CONTENTS-->
97
98<br>
99<hr>
100
101<a href="<!--{$smarty.const.MOBILE_URL_CART_TOP}-->" accesskey="9"><!--{9|numeric_emoji}-->かごを見る</a><br>
102<a href="<!--{$smarty.const.MOBILE_URL_SITE_TOP}-->" accesskey="0"><!--{0|numeric_emoji}-->TOPページへ</a><br>
103
104<br>
105
106<!-- ▼フッター ここから -->
107<!--{include file='footer.tpl'}-->
108<!-- ▲フッター ここまで -->
Note: See TracBrowser for help on using the repository browser.