- Timestamp:
- 2010/03/11 10:35:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/Smarty/templates/default/bloc/best5.tpl
r18432 r18609 20 20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 21 *}--> 22 <!--▼おすすめ 情報ここから-->22 <!--▼おすすめ商品--> 23 23 <!--{if count($arrBestProducts) > 0}--> 24 24 <div id="recomendarea"> 25 25 <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="おすすめ商品" /> 27 27 </h2> 28 28 <!--{section name=cnt loop=$arrBestProducts step=2}--> 29 29 <div class="recomendblock"> 30 30 <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}-->36 31 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}-->&width=48&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}-->&width=48&height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /></a> 34 39 35 <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> 41 37 </h3> 42 38 … … 44 40 <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> 45 41 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> 53 44 </p> 54 <p class="mini"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p> 45 46 <p class="mini comment"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p> 55 47 </div> 56 48 … … 58 50 <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }--> 59 51 <!--{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}-->65 52 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}-->&width=48&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}-->&width=48&height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" /></a> 55 68 56 <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> 70 58 </h3> 71 59 … … 73 61 <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}--> 74 62 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> 81 65 </p> 82 66 83 <p class="mini "><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p>67 <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p> 84 68 <!--{/if}--> 85 69 </div> … … 88 72 </div> 89 73 <!--{/if}--> 90 <!--▲おすすめ 情報ここまで-->74 <!--▲おすすめ商品-->
Note: See TracChangeset
for help on using the changeset viewer.