Ignore:
Timestamp:
2010/11/07 09:33:16 (14 years ago)
Author:
tatsuno
Message:

#787 iPhoneの主要テンプレートをPCテンプレートに上書きしてテストコミット。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-B/data/Smarty/templates/default/detail.tpl

    r18862 r19639  
    166166    <h2 class="title"><!--{$tpl_subtitle|escape}--></h2> 
    167167 
    168     <!--★詳細メインコメント★--> 
    169     <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div> 
    170  
    171168    <div id="detailarea"> 
    172169        <div id="detailphotoblock"> 
     
    211208            <!--{/if}--> 
    212209 
    213             <!--★商品コード★--> 
    214             <div>商品コード: 
    215                 <span id="product_code_default"> 
    216                     <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> 
    217                         <!--{$arrProduct.product_code_min|escape}--> 
    218                     <!--{else}--> 
    219                         <!--{$arrProduct.product_code_min|escape}-->~<!--{$arrProduct.product_code_max|escape}--> 
    220                     <!--{/if}--> 
    221                 </span><span id="product_code_dynamic"></span> 
    222             </div> 
    223  
    224             <!--★商品名★--> 
    225             <h2><!--{$arrProduct.name|escape}--></h2> 
    226  
    227             <!--★販売価格★--> 
    228             <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: 
    229                 <span class="price"> 
    230                     <span id="price02_default"> 
    231                         <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    232                             <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    233                         <!--{else}--> 
    234                             <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    235                         <!--{/if}--> 
    236                     </span><span id="price02_dynamic"></span> 
    237                     円 
    238                 </span> 
    239             </div> 
    240  
    241             <!--★通常価格★--> 
    242             <!--{if $arrProduct.price01_max > 0}--> 
    243                 <div class="normal_price"> 
    244                     <!--{$smarty.const.NORMAL_PRICE_TITLE}-->: 
    245                     <span class="price"> 
    246                         <span id="price01_default"> 
    247                             <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
    248                                 <!--{$arrProduct.price01_min|number_format}--> 
    249                             <!--{else}--> 
    250                                 <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}--> 
    251                             <!--{/if}--> 
    252                         </span><span id="price01_dynamic"></span> 
    253                         円 
    254                     </span> 
    255                 </div> 
    256             <!--{/if}--> 
    257  
    258             <!--★ポイント★--> 
    259             <!--{if $smarty.const.USE_POINT !== false}--> 
    260                 <div><span class="price">ポイント: 
    261                     <span id="point_default"> 
    262                         <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    263                             <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    264                         <!--{else}--> 
    265                             <!--{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}--> 
     210            <table> 
     211                <tr> 
     212                    <th colspan="2"> 
     213                        <!--★商品名★--> 
     214                        <h2><!--{$arrProduct.name|escape}--></h2> 
     215                    </th> 
     216                </tr> 
     217                <tr> 
     218                    <th> 
     219                        <!--★販売価格★--> 
     220                        <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span></div> 
     221                    </th> 
     222                    <td> 
     223                        <span class="price"> 
     224                            <span id="price02_default"> 
     225                                <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     226                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     227                                <!--{else}--> 
     228                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     229                                <!--{/if}--> 
     230                            </span><span id="price02_dynamic"></span> 
     231                            円 
     232                        </span> 
     233                    </td> 
     234                </tr> 
     235                <!--★通常価格★--> 
     236                <!--{if $arrProduct.price01_max > 0}--> 
     237                <tr> 
     238                    <th> 
     239                        <div class="normal_price"> 
     240                        <!--{$smarty.const.NORMAL_PRICE_TITLE}-->: 
     241                        </div> 
     242                    </th> 
     243                    <td> 
     244                        <span class="price"> 
     245                            <span id="price01_default"> 
     246                                <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
     247                                    <!--{$arrProduct.price01_min|number_format}--> 
     248                                <!--{else}--> 
     249                                    <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}--> 
     250                                <!--{/if}--> 
     251                            </span><span id="price01_dynamic"></span> 
     252                            円 
     253                        </span> 
     254                    </td> 
     255                </tr>     
     256                <!--{/if}--> 
     257 
     258             
     259                <!--★ポイント★--> 
     260                <!--{if $smarty.const.USE_POINT !== false}--> 
     261                <tr> 
     262                    <th> 
     263                        <span class="price">ポイント:</span> 
     264                    </th> 
     265                    <td> 
     266                        <span id="point_default"> 
     267                            <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    266268                                <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    267269                            <!--{else}--> 
    268                                 <!--{$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}--> 
     270                                <!--{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}--> 
     271                                    <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     272                                <!--{else}--> 
     273                                    <!--{$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}--> 
     274                                <!--{/if}--> 
    269275                            <!--{/if}--> 
    270                         <!--{/if}--> 
    271                         </span><span id="point_dynamic"></span> 
    272                         Pt 
    273                     </span> 
    274                 </div> 
    275             <!--{/if}--> 
    276  
    277             <!--▼メーカーURL--> 
    278             <!--{if $arrProduct.comment1|strlen >= 1}--> 
    279                 <div><span class="comment1">メーカーURL: 
    280                     <a href="<!--{$arrProduct.comment1|escape}-->"> 
    281                         <!--{$arrProduct.comment1|escape}--></a> 
    282                 </div> 
    283             <!--{/if}--> 
    284             <!--▲メーカーURL--> 
    285  
    286             <!--★関連カテゴリ★--> 
    287             <div class="relative_cat">関連カテゴリ: 
    288                 <!--{section name=r loop=$arrRelativeCat}--> 
    289                 <p> 
    290                     <!--{section name=s loop=$arrRelativeCat[r]}--> 
    291                     <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> 
    292                     <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 
    293                     <!--{/section}--> 
    294                 </p> 
    295                 <!--{/section}--> 
    296             </div> 
     276                            </span><span id="point_dynamic"> 
     277                            Pt 
     278                        </span> 
     279                    </td> 
     280                </tr> 
     281                <!--{/if}--> 
     282 
     283                <!--▼メーカーURL--> 
     284                <!--{if $arrProduct.comment1|strlen >= 1}--> 
     285                <tr> 
     286                    <th> 
     287                        <span class="comment1">メーカーURL: 
     288                    </th> 
     289                    <td> 
     290                            <a href="<!--{$arrProduct.comment1|escape}-->"> 
     291                                <!--{$arrProduct.comment1|escape}--></a> 
     292                    </td> 
     293                </tr> 
     294                <!--{/if}--> 
     295                <!--▲メーカーURL--> 
     296 
     297                <!--★関連カテゴリ★--> 
     298                <tr> 
     299                    <th> 
     300                        <div class="relative_cat">関連カテゴリ:</div> 
     301                    </th> 
     302                    <td> 
     303                        <!--{section name=r loop=$arrRelativeCat}--> 
     304                        <p> 
     305                            <!--{section name=s loop=$arrRelativeCat[r]}--> 
     306                            <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> 
     307                            <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 
     308                            <!--{/section}--> 
     309                        </p> 
     310                        <!--{/section}--> 
     311                    </td> 
     312                </tr> 
     313                <tr> 
     314                    <td colspan="2"> 
     315                            <!--★詳細メインコメント★--> 
     316                            <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div> 
     317                    </td> 
     318                </tr> 
     319            </table> 
    297320 
    298321            <!--▼買い物かご--> 
     
    370393                            <!--★カゴに入れる★--> 
    371394                            <div> 
    372                                 <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> 
    373                                     <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /></a> 
     395                                <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');" class="spbtn spbtn-agree"> 
     396                                    カゴに入れる 
     397                                </a> 
    374398                            </div> 
    375399                            <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}--> 
     
    430454    <!--▲サブコメント--> 
    431455 
    432  
    433     <!--この商品に対するお客様の声--> 
    434     <div id="customervoicearea"> 
    435         <h2><img src="<!--{$TPL_DIR}-->img/products/title_voice.jpg" width="580" height="30" alt="この商品に対するお客様の声" /></h2> 
    436  
    437         <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 
    438             <!--★新規コメントを書き込む★--> 
    439             <a href="./review.php" 
    440                  onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" 
    441                  onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_comment_on.gif','review');" 
    442                  onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_comment.gif','review');" target="_blank"> 
    443                 <img src="<!--{$TPL_DIR}-->img/products/b_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" /></a> 
    444         <!--{/if}--> 
    445  
    446         <!--{if count($arrReview) > 0}--> 
    447             <ul> 
    448                 <!--{section name=cnt loop=$arrReview}--> 
    449                     <li> 
    450                         <p class="voicedate"><!--{$arrReview[cnt].create_date|sfDispDBDate:false}--> 投稿者:<!--{if $arrReview[cnt].reviewer_url}--><a href="<!--{$arrReview[cnt].reviewer_url}-->" target="_blank"><!--{$arrReview[cnt].reviewer_name|escape}--></a><!--{else}--><!--{$arrReview[cnt].reviewer_name|escape}--><!--{/if}--> おすすめレベル:<span class="recommend_level"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|escape}--></span></p> 
    451                         <p class="voicetitle"><!--{$arrReview[cnt].title|escape}--></p> 
    452                         <p class="voicecomment"><!--{$arrReview[cnt].comment|escape|nl2br}--></p> 
    453                     </li> 
    454                 <!--{/section}--> 
    455             </ul> 
    456         <!--{/if}--> 
    457     </div> 
    458     <!--お客様の声ここまで--> 
    459  
    460  
    461     <!--{if $arrTrackbackView == "ON"}--> 
    462         <!--▼トラックバック--> 
    463         <div id="trackbackarea"> 
    464             <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
    465             <h3>この商品のトラックバック先URL</h3> 
    466             <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
    467  
    468             <!--{if $arrTrackback}--> 
    469                 <ul> 
    470                 <!--{section name=cnt loop=$arrTrackback}--> 
    471                     <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> 
    472                         <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
    473                 <!--{/section}--> 
    474                 </ul> 
    475             <!--{/if}--> 
    476         </div> 
    477         <!--▲トラックバック--> 
    478     <!--{/if}--> 
    479  
    480  
    481456    <!--▼関連商品--> 
    482457    <!--{if $arrRecommend}--> 
    483458        <div id="whoboughtarea"> 
    484             <h2><img src="<!--{$TPL_DIR}-->img/products/title_recommend.jpg" width="580" height="30" alt="その他のオススメ商品(関連商品)" /></h2> 
     459            <h2>その他のオススメ商品(関連商品)</h2> 
    485460            <div class="whoboughtblock"> 
    486461 
     
    494469                        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a> 
    495470 
    496                     <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    497                     <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
    498                     <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 
    499  
    500                     <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
    501                         <!--{if $price02_min == $price02_max}--> 
    502                             <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    503                         <!--{else}--> 
    504                             <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    505                         <!--{/if}-->円</span></p> 
    506                     <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
     471                    <div class="whoboughtrightblock"> 
     472                        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
     473                        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     474                        <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 
     475 
     476                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
     477                            <!--{if $price02_min == $price02_max}--> 
     478                                <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     479                            <!--{else}--> 
     480                                <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     481                            <!--{/if}-->円</span></p> 
     482                        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
     483                    </div> 
    507484                </div> 
    508485                <!-- 左列 --> 
     
    519496                        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a> 
    520497 
    521                     <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    522                     <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
    523                     <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 
    524  
    525                     <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
    526  
    527                         <!--{if $price02_min == $price02_max}--> 
    528                             <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    529                         <!--{else}--> 
    530                             <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    531                         <!--{/if}-->円</span></p> 
    532                     <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
     498                    <div class="whoboughtrightblock"> 
     499                        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
     500                        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     501                        <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 
     502 
     503                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
     504 
     505                            <!--{if $price02_min == $price02_max}--> 
     506                                <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     507                            <!--{else}--> 
     508                                <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     509                            <!--{/if}-->円</span></p> 
     510                        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
     511                    </div> 
    533512                </div> 
    534513                <!-- 右列 --> 
Note: See TracChangeset for help on using the changeset viewer.