source: branches/version-2_5-dev/data/Smarty/templates/mobile/products/detail.tpl @ 19833

Revision 19833, 4.1 KB checked in by Seasoft, 13 years ago (diff)

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある)

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
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<!--▼CONTENTS-->
25<!--▼MAIN CONTENTS-->
26<!--タイトルここから-->
27<!--★商品名★-->
28<div align="center"><!--{$arrProduct.name|h}--></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|h}-->?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|h}-->?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_REALDIR`mdl_opebuilder/detail_ope_mb_view.tpl}-->
63<!--{/if}-->
64<!--★詳細メインコメント★-->
65[emoji:76]<!--{$arrProduct.main_comment|nl2br_html}--><br>
66<br>
67<!--アイコン-->
68<!--★販売価格★-->
69<font color="#FF0000"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
70<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
71    <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
72<!--{else}-->
73    <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
74<!--{/if}-->
75円</font><br/>
76<!--★通常価格★-->
77<!--{if $arrProduct.price01_max > 0}-->
78<font color="#FF0000"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->:
79<!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
80<!--{$arrProduct.price01_min|number_format}-->
81<!--{else}-->
82<!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}-->
83<!--{/if}-->
84円</font><br>
85<!--{/if}-->
86<form name="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
87    <input type="hidden" name="mode" value="select">
88    <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->">
89<!--{if $tpl_stock_find}-->
90    <!--★商品を選ぶ★-->
91    <center><input type="submit" name="select" id="cart" value="この商品を選ぶ"></center>
92<!--{else}-->
93    <font color="#FF0000">申し訳ございませんが、只今品切れ中です。</font>
94<!--{/if}-->
95</form>
96<!--詳細ここまで-->
97<!--▲CONTENTS-->
98
99<br>
100<hr>
101
102<a href="<!--{$smarty.const.MOBILE_CART_URL_PATH}-->" accesskey="9"><!--{9|numeric_emoji}-->かごを見る</a><br>
103<a href="<!--{$smarty.const.MOBILE_TOP_URL_PATH}-->" accesskey="0"><!--{0|numeric_emoji}-->TOPページへ</a><br>
104
105<br>
106
107<!-- ▼フッター ここから -->
108<!--{include file='footer.tpl'}-->
109<!-- ▲フッター ここまで -->
Note: See TracBrowser for help on using the repository browser.