Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/Smarty/templates/default/bloc/best5.tpl

    r18432 r18609  
    2020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2121 *}--> 
    22 <!--▼おすすめ情報ここから--> 
     22<!--▼おすすめ商品--> 
    2323<!--{if count($arrBestProducts) > 0}--> 
    2424<div id="recomendarea"> 
    2525  <h2> 
    26     <img src="<!--{$TPL_DIR}-->img/top/osusume.jpg" width="400" height="29" alt="おすすめ情報" /> 
     26    <img src="<!--{$TPL_DIR}-->img/top/osusume.jpg" width="400" height="29" alt="おすすめ商品" /> 
    2727  </h2> 
    2828  <!--{section name=cnt loop=$arrBestProducts step=2}--> 
    2929  <div class="recomendblock"> 
    3030    <div class="recomendleft"> 
    31     <!--{if $arrBestProducts[cnt].main_list_image != ""}--> 
    32       <!--{assign var=image_path value="`$arrBestProducts[cnt].main_list_image`"}--> 
    33     <!--{else}--> 
    34       <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    35     <!--{/if}--> 
    3631 
    37       <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"> 
    38         <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /></a> 
     32      <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[cnt].product_id|escape:url}-->"> 
     33        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /></a> 
     34 
    3935      <h3> 
    40         <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><!--{$arrBestProducts[cnt].name|escape}--></a> 
     36        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[cnt].product_id|escape:url}-->"><!--{$arrBestProducts[cnt].name|escape}--></a> 
    4137      </h3> 
    4238 
     
    4440<!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> 
    4541 
    46       <p>価格<span class="mini">(税込)</span>:<span class="price"> 
    47 <!--{if $price02 == ""}--> 
    48   <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    49 <!--{else}--> 
    50   <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    51 <!--{/if}-->円 
    52         </span> 
     42      <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: 
     43        <span class="price"><!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span> 
    5344      </p> 
    54       <p class="mini"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p> 
     45 
     46      <p class="mini comment"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p> 
    5547    </div> 
    5648 
     
    5850      <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }--> 
    5951      <!--{if $arrBestProducts[$cnt2]|count > 0}--> 
    60         <!--{if $arrBestProducts[$cnt2].main_list_image != ""}--> 
    61           <!--{assign var=image_path value="`$arrBestProducts[$cnt2].main_list_image`"}--> 
    62         <!--{else}--> 
    63           <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    64         <!--{/if}--> 
    6552 
    66       <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"> 
    67         <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" /></a> 
     53      <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[$cnt2].product_id|escape:url}-->"> 
     54        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|escape}-->&amp;width=48&amp;height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" /></a> 
     55 
    6856      <h3> 
    69       <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a> 
     57      <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[$cnt2].product_id|escape:url}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a> 
    7058      </h3> 
    7159 
     
    7361<!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}--> 
    7462 
    75       <p>価格<span class="mini">(税込)</span>:<span class="price"> 
    76 <!--{if $price02 == ""}--> 
    77   <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    78 <!--{else}--> 
    79   <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    80 <!--{/if}-->円</span> 
     63      <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: 
     64        <span class="price"><!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span> 
    8165      </p> 
    8266 
    83       <p class="mini"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p> 
     67      <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p> 
    8468      <!--{/if}--> 
    8569    </div> 
     
    8872</div> 
    8973<!--{/if}--> 
    90 <!--▲おすすめ情報ここまで--> 
     74<!--▲おすすめ商品--> 
Note: See TracChangeset for help on using the changeset viewer.