source: branches/version-2_11-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl @ 21132

Revision 21132, 3.7 KB checked in by nanasess, 13 years ago (diff)

#1413 HTML5 構文修正

  • カート, 複数お届け先指定, 購入確認画面での画像リンクは見づらいので廃止
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<!-- ▼おすすめ商品 -->
23<!--{if count($arrBestProducts) > 0}-->
24<section id="recomend_area" class="mainImageInit">
25<h2>おすすめ商品</h2>
26<ul>
27<!--{section name=cnt loop=$arrBestProducts step=2}-->
28        <li id="mainImage<!--{$smarty.section.cnt.index}-->">
29            <div class="recomendblock clearfix">
30              <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$arrBestProducts[cnt].name|h}-->" />
31              <div class="productContents">
32                <h3><a rel="external" href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a></h3>
33                  <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p>
34                    <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
35                    <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
36                  <p class="sale_price"><span class="mini"><!--<span class="mini">-->販売価格(税込):<!--</span>--></span><span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span></p>
37              </div>
38            </div>
39        </li>
40        <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}-->
41        <!--{if $arrBestProducts[$cnt2]|count > 0}-->
42          <li id="mainImage<!--{$cnt2}-->">
43              <div class="recomendblock clearfix">
44                <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" />
45                <div class="productContents">
46                  <h3><a rel="external" href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a></h3>
47                    <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p>
48                      <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
49                      <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
50                    <p class="sale_price"><span class="mini"><!--<span class="mini">-->販売価格(税込):</span><!--</span>--><span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span></p>
51                </div>
52              </div>
53          </li>
54        <!--{/if}-->
55    <!--{/section}-->
56</ul>   
57</section>
58<!--{/if}-->
59<!-- ▲おすすめ商品 -->
60
61<script type="application/javascript"> 
62<!--//
63$(function(){
64    $('#recomend_area ul li').flickSlide({target:'#recomend_area>ul', duration:5000});
65});
66//-->
67</script>
Note: See TracBrowser for help on using the repository browser.