Ignore:
Timestamp:
2011/03/05 15:24:39 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)
#624(軽微な表示乱れを修正)

  • HTML 構文誤り
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/default/products/list.tpl

    r20463 r20522  
    148148        <!--▼商品--> 
    149149        <form name="product_form<!--{$id|h}-->" action="?" onsubmit="return false;"> 
    150             <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    151             <div class="list_area clearfix"> 
     150        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     151        <div class="list_area clearfix"> 
    152152            <a name="product<!--{$id|h}-->"></a> 
    153                 <div class="listphoto"> 
    154                     <!--★画像★--> 
    155                     <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /></a> 
    156                 </div> 
    157  
    158                 <div class="listrightbloc"> 
    159                     <!--▼商品ステータス--> 
    160                     <!--{if count($productStatus[$id]) > 0}--> 
    161                         <ul class="status_icon clearfix"> 
    162                             <!--{foreach from=$productStatus[$id] item=status}-->  
    163                                 <li> 
    164                                     <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->"/> 
    165                                 </li> 
    166                             <!--{/foreach}--> 
    167                         </ul> 
    168                     <!--{/if}--> 
    169                     <!--▲商品ステータス--> 
    170  
    171                     <!--★商品名★--> 
    172                     <h3> 
    173                         <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|h}--></a> 
    174                    </h3> 
    175                    <!--★価格★--> 
    176                    <div class="pricebox sale_price"> 
    177                        <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 
    178                        <span class="price"> 
    179                            <span id="price02_default_<!--{$id}-->"> 
    180                                <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    181                                    <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    182                                <!--{else}--> 
    183                                     <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    184                                <!--{/if}--> 
    185                            </span><span id="price02_dynamic_<!--{$id}-->"></span> 
    186                            円</span> 
    187                    </div> 
    188  
    189                    <!--★コメント★--> 
    190                    <div class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></div> 
    191  
    192                    <!--★商品詳細を見る★--> 
    193                    <div class="detail_btn"> 
    194                        <!--{assign var=name value="detail`$id`"}--> 
    195                        <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');"> 
    196                        <img src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 
    197                    </div> 
    198  
    199                    <!--▼買い物かご--> 
    200                    <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 
    201                    <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 
    202  
    203                    <div class="cart_area clearfix"> 
     153            <div class="listphoto"> 
     154                <!--★画像★--> 
     155                <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /></a> 
     156            </div> 
     157 
     158            <div class="listrightbloc"> 
     159                <!--▼商品ステータス--> 
     160                <!--{if count($productStatus[$id]) > 0}--> 
     161                    <ul class="status_icon clearfix"> 
     162                        <!--{foreach from=$productStatus[$id] item=status}-->  
     163                            <li> 
     164                                <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->"/> 
     165                            </li> 
     166                        <!--{/foreach}--> 
     167                    </ul> 
     168                <!--{/if}--> 
     169                <!--▲商品ステータス--> 
     170 
     171                <!--★商品名★--> 
     172                <h3> 
     173                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|h}--></a> 
     174               </h3> 
     175               <!--★価格★--> 
     176               <div class="pricebox sale_price"> 
     177                   <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 
     178                   <span class="price"> 
     179                       <span id="price02_default_<!--{$id}-->"> 
     180                           <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     181                               <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     182                           <!--{else}--> 
     183                                <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     184                           <!--{/if}--> 
     185                       </span><span id="price02_dynamic_<!--{$id}-->"></span> 
     186                       円</span> 
     187               </div> 
     188 
     189               <!--★コメント★--> 
     190               <div class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></div> 
     191 
     192               <!--★商品詳細を見る★--> 
     193               <div class="detail_btn"> 
     194                   <!--{assign var=name value="detail`$id`"}--> 
     195                   <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');"> 
     196                   <img src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 
     197               </div> 
     198 
     199               <!--▼買い物かご--> 
     200               <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 
     201               <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 
     202 
     203               <div class="cart_area clearfix"> 
    204204                   <!--{if $tpl_stock_find[$id]}--> 
    205205                       <!--{if $tpl_classcat_find1[$id]}--> 
     
    232232                                    </dl> 
    233233                                <!--{/if}--> 
    234                            </div> 
    235                      <!--{/if}--> 
    236                          <div class="cartin clearfix"> 
     234                            </div> 
     235                        <!--{/if}--> 
     236                        <div class="cartin clearfix"> 
    237237                            <div class="quantity"> 
    238238                               数量:<input type="text" name="quantity" class="box" value="<!--{$arrProduct.quantity|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 
     
    240240                                    <br /><span class="attention"><!--{$arrErr.quantity}--></span> 
    241241                                <!--{/if}--> 
    242                              </div> 
    243                              <div class="cartin_btn"> 
    244                                  <!--★カゴに入れる★--> 
    245                                  <div id="cartbtn_default_<!--{$id}-->"> 
    246                                      <input type="image" id="cart<!--{$id}-->" src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" onclick="fnInCart(this.form); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg', this);" /> 
    247                                  </div> 
    248                                  <div class="attention" id="cartbtn_dynamic_<!--{$id}-->"></div> 
    249                              </div> 
    250                          </div> 
    251                          <!--{else}--> 
    252                          <div class="cartbtn attention">申し訳ございませんが、只今品切れ中です。</div> 
    253                 <!--{/if}--> 
     242                            </div> 
     243                            <div class="cartin_btn"> 
     244                                <!--★カゴに入れる★--> 
     245                                <div id="cartbtn_default_<!--{$id}-->"> 
     246                                    <input type="image" id="cart<!--{$id}-->" src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" onclick="fnInCart(this.form); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg', this);" /> 
     247                                </div> 
     248                                <div class="attention" id="cartbtn_dynamic_<!--{$id}-->"></div> 
     249                            </div> 
     250                        </div> 
     251                   <!--{else}--> 
     252                        <div class="cartbtn attention">申し訳ございませんが、只今品切れ中です。</div> 
     253                   <!--{/if}--> 
    254254                </div> 
    255255                <!--▲買い物かご--> 
    256               </div> 
    257           </div> 
     256            </div> 
     257        </div> 
    258258        </form> 
    259259        <!--▲商品--> 
Note: See TracChangeset for help on using the changeset viewer.