Changeset 15795


Ignore:
Timestamp:
2007/09/20 20:05:27 (17 years ago)
Author:
nanasess
Message:

XHTML 対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/Smarty/templates/default/bloc/best5.tpl

    r15782 r15795  
    55 *}--> 
    66<!--▼おすすめ情報ここから--> 
    7 <table width="400" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    8     <tr> 
    9         <td colspan="2"><img src="<!--{$TPL_DIR}-->img/top/osusume.jpg" width="400" height="29" alt="おすすめ情報"></td> 
    10     </tr> 
    11     <tr><td height="10"></td></tr> 
     7<div id="recomendarea"> 
     8  <h2> 
     9    <img src="<!--{$TPL_DIR}-->img/top/osusume.jpg" width="400" height="29" alt="おすすめ情報"> 
     10  </h2> 
     11  <!--{section name=cnt loop=$arrBestProducts step=2}--> 
     12  <div class="recomendblock"> 
     13    <div class="recomendleft"> 
     14    <!--{if $arrBestProducts[cnt].main_list_image != ""}--> 
     15      <!--{assign var=image_path value="`$arrBestProducts[cnt].main_list_image`"}--> 
     16    <!--{else}--> 
     17      <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     18    <!--{/if}--> 
    1219 
    13     <!--{section name=cnt loop=$arrBestProducts step=2}--> 
    14     <tr valign="top"> 
    15         <td> 
    16          
    17         <!--{if $arrBestProducts[cnt].main_list_image != ""}--><!--{assign var=image_path value="`$arrBestProducts[cnt].main_list_image`"}--><!--{else}--><!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--><!--{/if}--> 
    18          
    19         <table width="190" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    20             <tr valign="top"> 
    21                 <td align="center" valign="middle"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->"></a></td> 
    22                 <td align="right"> 
    23                 <table width="132" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    24                     <tr> 
    25                         <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}--> 
    26                         <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> 
    27                         <td><span class="fs12"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><!--{$arrBestProducts[cnt].name|escape}--></a></span><br> 
    28                         <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    29                         <!--{if $price02 == ""}--> 
    30                         <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    31                         <!--{else}--> 
    32                         <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    33                         <!--{/if}--> 
    34                         円</span></span></td> 
    35                     </tr> 
    36                     <tr><td height="5"></td></tr> 
    37                     <tr> 
    38                         <td class="fs10"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></td> 
    39                     </tr> 
    40                 </table> 
    41                 </td> 
    42             </tr> 
    43         </table> 
    44          
    45         </td> 
    46         <td align="right"> 
    47          
    48         <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }--> 
    49         <!--{if $arrBestProducts[$cnt2]|count > 0}--> 
    50             <!--{if $arrBestProducts[$cnt2].main_list_image != ""}--><!--{assign var=image_path value="`$arrBestProducts[$cnt2].main_list_image`"}--><!--{else}--><!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--><!--{/if}--> 
    51             <table width="190" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    52                 <tr valign="top"> 
    53                     <td align="center" valign="middle"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->"></a></td> 
    54                     <td align="right"> 
    55                     <table width="132" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    56                         <tr> 
    57                             <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}--> 
    58                             <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}--> 
    59                             <td><span class="fs12"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a></span><br> 
    60                             <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    61                             <!--{if $price02 == ""}--> 
    62                             <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    63                             <!--{else}--> 
    64                             <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
    65                             <!--{/if}--> 
    66                             円</span></span></td> 
    67                         </tr> 
    68                         <tr><td height="5"></td></tr> 
    69                         <tr> 
    70                             <td class="fs10"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></td> 
    71                         </tr> 
    72                     </table> 
    73                     </td> 
    74                 </tr> 
    75             </table> 
    76         <!--{/if}--> 
    77      
    78     <!--{if !$smarty.section.cnt.last}--> 
    79     <tr> 
    80         <td height="20"><img src="<!--{$TPL_DIR}-->img/common/line_190.gif" width="190" height="1" alt=""></td> 
    81         <td align="right"><img src="<!--{$TPL_DIR}-->img/common/line_190.gif" width="190" height="1" alt=""></td> 
    82     </tr> 
    83     <!--{/if}--> 
    84      
    85     <!--{/section}--> 
    86 <tr><td height="35"></td></tr> 
    87 </table> 
     20      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"> 
     21        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->"> 
     22      </a> 
     23 
     24      <h3> 
     25        <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><!--{$arrBestProducts[cnt].name|escape}--></a> 
     26      </h3> 
     27 
     28<!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}--> 
     29<!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> 
     30 
     31      <p>価格<span class="mini">(税込)</span>:<span class="price"> 
     32<!--{if $price02 == ""}--> 
     33  <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
     34<!--{else}--> 
     35  <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
     36<!--{/if}-->円 
     37        </span> 
     38      </p> 
     39      <p class="mini"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p> 
     40    </div> 
     41 
     42    <div class="recomendright"> 
     43      <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }--> 
     44      <!--{if $arrBestProducts[$cnt2]|count > 0}--> 
     45        <!--{if $arrBestProducts[$cnt2].main_list_image != ""}--> 
     46          <!--{assign var=image_path value="`$arrBestProducts[$cnt2].main_list_image`"}--> 
     47        <!--{else}--> 
     48          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     49        <!--{/if}--> 
     50 
     51      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"> 
     52        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->"> 
     53      </a> 
     54 
     55      <h3> 
     56      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a> 
     57      </h3> 
     58 
     59<!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}--> 
     60<!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> 
     61 
     62      <p>価格<span class="mini">(税込)</span>:<span class="price"> 
     63<!--{if $price02 == ""}--> 
     64  <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
     65<!--{else}--> 
     66  <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 
     67<!--{/if}-->円</span> 
     68      </p> 
     69 
     70      <p class="mini"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p> 
     71      <!--{/if}--> 
     72    </div> 
     73  </div> 
     74  <!--{/section}--> 
     75</div> 
    8876<!--▲おすすめ情報ここまで--> 
    89          
    90          
Note: See TracChangeset for help on using the changeset viewer.