Changeset 18573 for branches/version-2_4-dev
- Timestamp:
- 2010/02/18 16:33:42 (13 years ago)
- Location:
- branches/version-2_4-dev/data
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4-dev/data/Smarty/templates/default/bloc/best5.tpl
r18408 r18573 35 35 <!--{/if}--> 36 36 37 <a href="<!--{$smarty.const. URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->">37 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[cnt].product_id|escape:url}-->"> 38 38 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /></a> 39 39 <h3> 40 <a href="<!--{$smarty.const. URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><!--{$arrBestProducts[cnt].name|escape}--></a>40 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[cnt].product_id|escape:url}-->"><!--{$arrBestProducts[cnt].name|escape}--></a> 41 41 </h3> 42 42 … … 64 64 <!--{/if}--> 65 65 66 <a href="<!--{$smarty.const. URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->">66 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[$cnt2].product_id|escape:url}-->"> 67 67 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" /></a> 68 68 <h3> 69 <a href="<!--{$smarty.const. URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[$cnt2].product_id}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a>69 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[$cnt2].product_id|escape:url}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a> 70 70 </h3> 71 71 -
branches/version-2_4-dev/data/Smarty/templates/default/detail.tpl
r18493 r18573 325 325 <!--{/if}--> 326 326 327 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id }-->">327 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"> 328 328 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a> 329 329 330 330 <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 331 331 <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 332 <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id }-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3>332 <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 333 333 334 334 <p>価格<span class="mini">(税込)</span>:<span class="price"> … … 354 354 <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 355 355 <!--{/if}--> 356 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id }-->">356 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"> 357 357 <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a> 358 358 <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 359 359 <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 360 <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id }-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3>360 <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 361 361 362 362 <p>価格<span class="mini">(税込)</span>:<span class="price"> -
branches/version-2_4-dev/data/Smarty/templates/default/list.tpl
r18408 r18573 94 94 <div class="listphoto"> 95 95 <!--★画像★--> 96 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id }-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" class="picture" /></a>96 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id|escape:url}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" class="picture" /></a> 97 97 </div> 98 98 <div class="listrightblock"> … … 114 114 <!--★商品名★--> 115 115 <h3> 116 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id }-->"><!--{$arrProducts[cnt].name|escape}--></a>116 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id|escape:url}-->"><!--{$arrProducts[cnt].name|escape}--></a> 117 117 </h3> 118 118 <p class="listcomment"><!--★コメント★--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></p> … … 127 127 <span class="btnbox"><!--★詳細ボタン★--> 128 128 <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}--> 129 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id }-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');">129 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id|escape:url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"> 130 130 <img src="<!--{$TPL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="詳しくはこちら" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 131 131 </span> -
branches/version-2_4-dev/data/Smarty/templates/default/mobile/cart/index.tpl
r17728 r18573 58 58 <!--{* 合計 *}--> 59 59 小計:<!--{$arrProductsClass[cnt].total_pretax|number_format}-->円<br> 60 <div align="right"><a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProductsClass[cnt].product_id }-->">商品購入詳細へ→</a></div>60 <div align="right"><a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProductsClass[cnt].product_id|escape:url}-->">商品詳細へ→</a></div> 61 61 <HR> 62 62 <!--{/section}--> -
branches/version-2_4-dev/data/Smarty/templates/default/mobile/frontparts/bloc/best5.tpl
r18408 r18573 27 27 28 28 <!-- ▼オススメコメント ここから --> 29 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProduct.product_id }-->">29 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->"> 30 30 <!--{$arrProduct.comment|escape|nl2br}--></a> 31 31 <!-- ▲オススメコメント ここまで --> -
branches/version-2_4-dev/data/Smarty/templates/default/mobile/mypage/history_detail.tpl
r18472 r18573 50 50 <!--{section name=cnt loop=$arrDisp.quantity}--> 51 51 <!--{$arrDisp.product_name[cnt]|escape}--><br> 52 <a href="<!--{$smarty.const.MOBILE_ URL_DIR}-->products/detail.php?product_id=<!--{$arrDisp.product_id[cnt]}-->">商品購入詳細→</a><br>52 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrDisp.product_id[cnt]|escape:url}-->">商品詳細→</a><br> 53 53 <!--{/section}--> 54 54 <br> -
branches/version-2_4-dev/data/Smarty/templates/default/mobile/products/list.tpl
r16582 r18573 56 56 <div align="right"> 57 57 <!--{if $i+1<9}--> 58 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProduct.product_id }-->" accesskey="<!--{$i+1}-->">商品詳細へ→</a>58 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->" accesskey="<!--{$i+1}-->">商品詳細へ→</a> 59 59 <!--{else}--> 60 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProduct.product_id }-->">商品詳細へ→</a>60 <a href="<!--{$smarty.const.MOBILE_DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->">商品詳細へ→</a> 61 61 <!--{/if}--> 62 62 </div> -
branches/version-2_4-dev/data/Smarty/templates/default/mypage/favorite.tpl
r17983 r18573 64 64 <tr> 65 65 <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id}-->');">削除</a></td> 66 <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id }-->"><img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65"></a></td>67 <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id }-->"><!--{$arrFavorite[cnt].name}--></a></td>66 <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|escape:url}-->"><img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65"></a></td> 67 <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|escape:url}-->"><!--{$arrFavorite[cnt].name}--></a></td> 68 68 <td class="right sale_price"> 69 69 <span class="price"> -
branches/version-2_4-dev/data/Smarty/templates/default/mypage/history.tpl
r18472 r18573 51 51 <tr> 52 52 <td><!--{$arrDisp.product_code[cnt]|escape}--></td> 53 <td><a href="<!--{$smarty.const. URL_DIR}-->products/detail.php?product_id=<!--{$arrDisp.product_id[cnt]}-->"><!--{$arrDisp.product_name[cnt]|escape}--></a></td>53 <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrDisp.product_id[cnt]|escape:url}-->"><!--{$arrDisp.product_name[cnt]|escape}--></a></td> 54 54 <!--{assign var=price value=`$arrDisp.price[cnt]`}--> 55 55 <!--{assign var=quantity value=`$arrDisp.quantity[cnt]`}--> -
branches/version-2_4-dev/data/class/pages/LC_Page_Sitemap.php
r16582 r18573 255 255 $result = $conn->getAll($sql); 256 256 257 $mobile = "";258 257 if ($isMobile) { 259 $mobile = "mobile/"; 258 $detail_p_html = MOBILE_DETAIL_P_HTML; 259 } else { 260 $detail_p_html = DETAIL_P_HTML; 260 261 } 261 262 262 263 $arrRet = array(); 263 for ($i = 0; $i < count($result); $i++) { 264 $page = array("url" => SITE_URL. sprintf("%sproducts/detail.php?product_id=%d", $mobile, $result[$i]['product_id']), 265 "update_date" => $result[$i]['update_date']); 266 $arrRet[$i] = $page; 264 foreach ($result as $row) { 265 $page["update_date"] = $row['update_date']; 266 $page["url"] = SITE_URL . substr($detail_p_html, strlen(URL_DIR)) . $row['product_id']; 267 268 $arrRet[] = $page; 267 269 } 268 270 return $arrRet;
Note: See TracChangeset
for help on using the changeset viewer.