- Timestamp:
- 2009/05/15 16:30:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/Smarty/templates/default/detail.tpl
r17431 r18007 11 11 * of the License, or (at your option) any later version. 12 12 * 13 * This program is distributed in the hope that it will be useful,13 * This program is~ distributed in the hope that it will be useful, 14 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 77 77 <!--アイコン--> 78 78 <!--{if count($arrProduct.product_flag) > 0}--> 79 <ul >79 <ul class="status_icon"> 80 80 <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> 81 81 <!--{if $arrProduct.product_flag[flg] == "1"}--> … … 120 120 121 121 <!--★ポイント★--> 122 <div><span class="price">ポイント: 123 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 124 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 125 <!--{else}--> 126 <!--{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}--> 122 <!--{if $smarty.const.USE_POINT === true}--> 123 <div><span class="price">ポイント: 124 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 127 125 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 128 126 <!--{else}--> 129 <!--{$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}--> 130 <!--{/if}--> 131 <!--{/if}-->Pt</span></div> 127 <!--{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}--> 128 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 129 <!--{else}--> 130 <!--{$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}--> 131 <!--{/if}--> 132 <!--{/if}-->Pt</span></div> 133 <!--{/if}--> 132 134 133 135 <!--{* 関連カテゴリ *}--> … … 147 149 <input type="hidden" name="mode" value="cart" /> 148 150 <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 151 <input type="hidden" name="favorite_product_id" value="" /> 149 152 <!--{if $tpl_classcat_find1}--> 150 153 <dl> … … 194 197 <!--{if $tpl_stock_find}--> 195 198 <p class="btn"> 199 200 <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}--> 201 <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> 202 <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> 203 <!--{if !$arrProduct.favorite_count}--> 204 <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|escape}-->');" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product_on.gif','add_favolite_product');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product.gif','add_favolite_product');"> 205 <img src="<!--{$TPL_DIR}-->img/products/add_favolite_product.gif" width="115" height="20" alt="お気に入りに追加" name="add_favolite_product" id="add_favolite_product" /> 206 </a> 207 <!--{/if}--> 208 <!--{/if}--> 196 209 <!--★カゴに入れる★--> 197 210 <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');"> … … 261 274 262 275 <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 263 <!--★新規コメントを書き込む★-->276 <!--★新規コメントを書き込む★--> 264 277 <a href="./review.php" 265 278 onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" … … 286 299 287 300 <!--{if $arrTrackbackView == "ON"}--> 288 <!--▼トラックバックここから-->289 <div id="trackbackarea">290 <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2>291 <h3>この商品のトラックバック先URL</h3>292 <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" />293 294 <!--{if $arrTrackback}-->295 <ul>296 <!--{section name=cnt loop=$arrTrackback}-->297 <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>298 <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li>299 <!--{/section}-->300 </ul>301 <!--{/if}-->302 <!--▲トラックバックここまで-->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 <!--▲トラックバックここまで--> 303 316 </div> 304 317 <!--{/if}--> … … 316 329 <!-- 左列 --> 317 330 <div class="whoboughtleft"> 318 <!--{if $arrRecommend[cnt].main_list_image != ""}-->319 <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}-->320 <!--{else}-->321 <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->322 <!--{/if}-->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}--> 323 336 324 337 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 325 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" />338 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 326 339 </a> 327 340 … … 331 344 332 345 <p>価格<span class="mini">(税込)</span>:<span class="price"> 333 <!--{if $price02_min == $price02_max}-->334 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->335 <!--{else}-->336 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->337 <!--{/if}-->円</span></p>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> 338 351 <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 339 352 </div> … … 347 360 <!-- 右列 --> 348 361 <div class="whoboughtright"> 349 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->">350 362 <!--{if $arrRecommend[cnt].main_list_image != ""}--> 351 363 <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> … … 353 365 <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 354 366 <!--{/if}--> 367 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 355 368 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 356 369 </a> 370 357 371 <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 358 372 <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> … … 361 375 <p>価格<span class="mini">(税込)</span>:<span class="price"> 362 376 363 <!--{if $price02_min == $price02_max}-->364 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->365 <!--{else}-->366 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->367 <!--{/if}-->円</span></p>377 <!--{if $price02_min == $price02_max}--> 378 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 379 <!--{else}--> 380 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 381 <!--{/if}-->円</span></p> 368 382 <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 369 383 </div>
Note: See TracChangeset
for help on using the changeset viewer.