Ignore:
Timestamp:
2008/07/17 21:31:46 (16 years ago)
Author:
Seasoft
Message:

ポイントシステムをON・OFF可能に。フロント機能のみの暫定対応。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/detail.tpl

    r17434 r17435  
    7777            <!--アイコン--> 
    7878            <!--{if count($arrProduct.product_flag) > 0}--> 
    79             <ul> 
     79            <ul class="status_icon"> 
    8080                <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> 
    8181                <!--{if $arrProduct.product_flag[flg] == "1"}--> 
     
    125125 
    126126            <!--★ポイント★--> 
    127             <div><span class="price">ポイント: 
    128                 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    129                     <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    130                 <!--{else}--> 
    131                     <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     127            <!--{if $smarty.const.USE_POINT !== false}--> 
     128                <div><span class="price">ポイント: 
     129                    <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    132130                        <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    133131                    <!--{else}--> 
    134                         <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->〜<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    135                     <!--{/if}--> 
    136                 <!--{/if}-->Pt</span></div> 
     132                        <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     133                            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     134                        <!--{else}--> 
     135                            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--><!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     136                        <!--{/if}--> 
     137                    <!--{/if}-->Pt</span></div> 
     138            <!--{/if}--> 
    137139 
    138140            <!--★関連カテゴリ★--> 
     
    274276 
    275277        <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 
    276         <!--★新規コメントを書き込む★--> 
     278            <!--★新規コメントを書き込む★--> 
    277279            <a href="./review.php" 
    278280                 onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" 
     
    299301 
    300302    <!--{if $arrTrackbackView == "ON"}--> 
    301     <!--▼トラックバック--> 
    302     <div id="trackbackarea"> 
    303         <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
    304         <h3>この商品のトラックバック先URL</h3> 
    305         <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
    306  
    307         <!--{if $arrTrackback}--> 
    308             <ul> 
    309             <!--{section name=cnt loop=$arrTrackback}--> 
    310                 <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong> 
    311                     <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
    312             <!--{/section}--> 
    313             </ul> 
    314         <!--{/if}--> 
    315     <!--▲トラックバック--> 
    316     </div> 
     303        <!--▼トラックバック--> 
     304        <div id="trackbackarea"> 
     305            <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
     306            <h3>この商品のトラックバック先URL</h3> 
     307            <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
     308 
     309            <!--{if $arrTrackback}--> 
     310                <ul> 
     311                <!--{section name=cnt loop=$arrTrackback}--> 
     312                    <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong> 
     313                        <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
     314                <!--{/section}--> 
     315                </ul> 
     316            <!--{/if}--> 
     317        </div> 
     318        <!--▲トラックバック--> 
    317319    <!--{/if}--> 
    318320 
     
    329331                <!-- 左列 --> 
    330332                <div class="whoboughtleft"> 
    331                 <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
    332                     <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
    333                 <!--{else}--> 
    334                     <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    335                 <!--{/if}--> 
    336  
     333                    <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
     334                        <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     335                    <!--{else}--> 
     336                        <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     337                    <!--{/if}--> 
     338                     
    337339                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    338                      <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
     340                        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
    339341                    </a> 
    340342 
     
    344346 
    345347                    <p><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
    346                     <!--{if $price02_min == $price02_max}--> 
    347                         <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    348                     <!--{else}--> 
    349                         <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    350                     <!--{/if}-->円</span></p> 
     348                        <!--{if $price02_min == $price02_max}--> 
     349                            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     350                        <!--{else}--> 
     351                            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     352                        <!--{/if}-->円</span></p> 
    351353                    <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
    352354                </div> 
     
    360362                <!-- 右列 --> 
    361363                <div class="whoboughtright"> 
    362                     <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    363364                    <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
    364365                        <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     
    366367                        <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    367368                    <!--{/if}--> 
     369                     
     370                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    368371                        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
    369372                    </a> 
     373                     
    370374                    <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    371375                    <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     
    374378                    <p><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
    375379 
    376                     <!--{if $price02_min == $price02_max}--> 
    377                         <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    378                     <!--{else}--> 
    379                         <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    380                     <!--{/if}-->円</span></p> 
     380                        <!--{if $price02_min == $price02_max}--> 
     381                            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     382                        <!--{else}--> 
     383                            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     384                        <!--{/if}-->円</span></p> 
    381385                    <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
    382386                </div> 
Note: See TracChangeset for help on using the changeset viewer.