Changeset 20916
- Timestamp:
- 2011/05/07 23:44:04 (13 years ago)
- Location:
- branches/version-2_11-dev
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/Smarty/templates/default/products/detail.tpl
r20803 r20916 90 90 91 91 <!--★商品コード★--> 92 <div>商品コード: 93 <span id="product_code_default"> 94 <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> 95 <!--{$arrProduct.product_code_min|h}--> 96 <!--{else}--> 97 <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> 98 <!--{/if}--> 99 </span><span id="product_code_dynamic"></span> 100 </div> 92 <dl class="product_code"> 93 <dt>商品コード:</dt> 94 <dd> 95 <span id="product_code_default"> 96 <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> 97 <!--{$arrProduct.product_code_min|h}--> 98 <!--{else}--> 99 <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> 100 <!--{/if}--> 101 </span><span id="product_code_dynamic"></span> 102 </dd> 103 </dl> 101 104 102 105 <!--★商品名★--> … … 105 108 <!--★通常価格★--> 106 109 <!--{if $arrProduct.price01_max > 0}--> 107 <d ivclass="normal_price">108 < !--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):109 < spanclass="price">110 <dl class="normal_price"> 111 <dt><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):</dt> 112 <dd class="price"> 110 113 <span id="price01_default"> 111 114 <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> … … 116 119 </span><span id="price01_dynamic"></span> 117 120 円 118 </ span>119 </d iv>121 </dd> 122 </dl> 120 123 <!--{/if}--> 121 124 122 125 <!--★販売価格★--> 123 <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 124 <span class="price"> 126 <dl class="sale_price"> 127 <dt><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):</dt> 128 <dd class="price"> 125 129 <span id="price02_default"> 126 130 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> … … 131 135 </span><span id="price02_dynamic"></span> 132 136 円 133 </ span>134 </d iv>137 </dd> 138 </dl> 135 139 136 140 <!--★ポイント★--> … … 147 151 <!--{/if}--> 148 152 <!--{/if}--> 149 150 153 </span><span id="point_dynamic"></span> 154 Pt 151 155 </div> 152 156 <!--{/if}--> 157 158 <!--{* ▼メーカー *}--> 159 <!--{if $arrProduct.maker_name|strlen >= 1}--> 160 <dl class="maker"> 161 <dt>メーカー:</dt> 162 <dd><!--{$arrProduct.maker_name|h}--></dd> 163 </dl> 164 <!--{/if}--> 165 <!--{* ▲メーカー *}--> 153 166 154 167 <!--▼メーカーURL--> 155 168 <!--{if $arrProduct.comment1|strlen >= 1}--> 156 <div><span class="comment1">メーカーURL: 157 <a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a> 158 </div> 169 <dl class="comment1"> 170 <td>メーカーURL:</dt> 171 <dd><a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a></dd> 172 </dl> 159 173 <!--{/if}--> 160 174 <!--▼メーカーURL--> 161 175 162 176 <!--★関連カテゴリ★--> 163 <div class="relative_cat">関連カテゴリ: 177 <dl class="relative_cat"> 178 <td>関連カテゴリ:</td> 164 179 <!--{section name=r loop=$arrRelativeCat}--> 165 <p>166 <!--{section name=s loop=$arrRelativeCat[r]}-->167 <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a>168 <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}-->169 <!--{/section}-->170 </p>180 <dd> 181 <!--{section name=s loop=$arrRelativeCat[r]}--> 182 <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> 183 <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 184 <!--{/section}--> 185 </dd> 171 186 <!--{/section}--> 172 </d iv>187 </dl> 173 188 174 189 <!--★詳細メインコメント★--> … … 217 232 218 233 <!--★数量★--> 219 <div class="quantity"> 220 <ul class="clearfix"> 221 <li>数量:</li> 222 <li><input type="text" class="box60" name="quantity" value="<!--{$arrForm.quantity.value|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 223 <!--{if $arrErr.quantity != ""}--> 224 <br /><span class="attention"><!--{$arrErr.quantity}--></span> 225 <!--{/if}--> 226 </li> 227 </ul> 228 </div> 234 <dl class="quantity"> 235 <dt>数量:</dt> 236 <dd><input type="text" class="box60" name="quantity" value="<!--{$arrForm.quantity.value|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 237 <!--{if $arrErr.quantity != ""}--> 238 <br /><span class="attention"><!--{$arrErr.quantity}--></span> 239 <!--{/if}--> 240 </dd> 241 </dl> 229 242 230 243 <div class="cartin"> -
branches/version-2_11-dev/data/class/SC_Product.php
r20877 r20916 620 620 $sql = <<< __EOS__ 621 621 ( 622 SELECT dtb_products.product_id, 623 dtb_products.name, 624 dtb_products.maker_id, 625 dtb_products.status, 626 dtb_products.comment1, 627 dtb_products.comment2, 628 dtb_products.comment3, 629 dtb_products.comment4, 630 dtb_products.comment5, 631 dtb_products.comment6, 632 dtb_products.note, 633 dtb_products.main_list_comment, 634 dtb_products.main_list_image, 635 dtb_products.main_comment, 636 dtb_products.main_image, 637 dtb_products.main_large_image, 638 dtb_products.sub_title1, 639 dtb_products.sub_comment1, 640 dtb_products.sub_image1, 641 dtb_products.sub_large_image1, 642 dtb_products.sub_title2, 643 dtb_products.sub_comment2, 644 dtb_products.sub_image2, 645 dtb_products.sub_large_image2, 646 dtb_products.sub_title3, 647 dtb_products.sub_comment3, 648 dtb_products.sub_image3, 649 dtb_products.sub_large_image3, 650 dtb_products.sub_title4, 651 dtb_products.sub_comment4, 652 dtb_products.sub_image4, 653 dtb_products.sub_large_image4, 654 dtb_products.sub_title5, 655 dtb_products.sub_comment5, 656 dtb_products.sub_image5, 657 dtb_products.sub_large_image5, 658 dtb_products.sub_title6, 659 dtb_products.sub_comment6, 660 dtb_products.sub_image6, 661 dtb_products.sub_large_image6, 662 dtb_products.del_flg, 663 dtb_products.creator_id, 664 dtb_products.create_date, 665 dtb_products.update_date, 666 dtb_products.deliv_date_id, 667 T4.product_code_min, 668 T4.product_code_max, 669 T4.price01_min, 670 T4.price01_max, 671 T4.price02_min, 672 T4.price02_max, 673 T4.stock_min, 674 T4.stock_max, 675 T4.stock_unlimited_min, 676 T4.stock_unlimited_max, 677 T4.point_rate, 678 T4.deliv_fee, 679 T4.class_count 680 FROM dtb_products 681 JOIN ( 622 SELECT 0 623 ,dtb_products.product_id 624 ,dtb_products.name 625 ,dtb_products.maker_id 626 ,dtb_products.status 627 ,dtb_products.comment1 628 ,dtb_products.comment2 629 ,dtb_products.comment3 630 ,dtb_products.comment4 631 ,dtb_products.comment5 632 ,dtb_products.comment6 633 ,dtb_products.note 634 ,dtb_products.main_list_comment 635 ,dtb_products.main_list_image 636 ,dtb_products.main_comment 637 ,dtb_products.main_image 638 ,dtb_products.main_large_image 639 ,dtb_products.sub_title1 640 ,dtb_products.sub_comment1 641 ,dtb_products.sub_image1 642 ,dtb_products.sub_large_image1 643 ,dtb_products.sub_title2 644 ,dtb_products.sub_comment2 645 ,dtb_products.sub_image2 646 ,dtb_products.sub_large_image2 647 ,dtb_products.sub_title3 648 ,dtb_products.sub_comment3 649 ,dtb_products.sub_image3 650 ,dtb_products.sub_large_image3 651 ,dtb_products.sub_title4 652 ,dtb_products.sub_comment4 653 ,dtb_products.sub_image4 654 ,dtb_products.sub_large_image4 655 ,dtb_products.sub_title5 656 ,dtb_products.sub_comment5 657 ,dtb_products.sub_image5 658 ,dtb_products.sub_large_image5 659 ,dtb_products.sub_title6 660 ,dtb_products.sub_comment6 661 ,dtb_products.sub_image6 662 ,dtb_products.sub_large_image6 663 ,dtb_products.del_flg 664 ,dtb_products.creator_id 665 ,dtb_products.create_date 666 ,dtb_products.update_date 667 ,dtb_products.deliv_date_id 668 ,T4.product_code_min 669 ,T4.product_code_max 670 ,T4.price01_min 671 ,T4.price01_max 672 ,T4.price02_min 673 ,T4.price02_max 674 ,T4.stock_min 675 ,T4.stock_max 676 ,T4.stock_unlimited_min 677 ,T4.stock_unlimited_max 678 ,T4.point_rate 679 ,T4.deliv_fee 680 ,T4.class_count 681 ,dtb_maker.name AS maker_name 682 FROM dtb_products 683 JOIN ( 682 684 SELECT product_id, 683 685 MIN(product_code) AS product_code_min, … … 694 696 MAX(deliv_fee) AS deliv_fee, 695 697 COUNT(*) as class_count 696 FROM dtb_products_class 697 $whereCause 698 GROUP BY product_id 699 ) AS T4 700 ON dtb_products.product_id = T4.product_id 701 ) AS alldtl 698 FROM dtb_products_class 699 $whereCause 700 GROUP BY product_id 701 ) AS T4 702 ON dtb_products.product_id = T4.product_id 703 LEFT JOIN dtb_maker 704 ON dtb_products.maker_id = dtb_maker.maker_id 705 ) AS alldtl 702 706 __EOS__; 703 707 return $sql; -
branches/version-2_11-dev/html/user_data/packages/default/css/common.css
r20681 r20916 142 142 line-height: 150%; 143 143 } 144 .price {145 color: #f00;146 }147 144 .sale_price { 148 145 color: #f00; 149 146 } 150 147 .normal_price { 151 color: #f00;152 148 font-size: 90%; 153 149 } -
branches/version-2_11-dev/html/user_data/packages/default/css/contents.css
r20773 r20916 173 173 div#undercolumn_error .message_area { 174 174 width:80%; 175 175 margin: 30px auto; 176 176 padding: 30px; 177 177 border: 1px solid #ccc; … … 357 357 float: left; 358 358 } 359 #one_maincolumn div#detailrightbloc {359 #one_maincolumn #detailrightbloc { 360 360 width: 63%; 361 361 float: right; … … 381 381 width: 37%; 382 382 } 383 #two_maincolumn_left div#detailrightbloc ,384 #two_maincolumn_right div#detailrightbloc {383 #two_maincolumn_left #detailrightbloc , 384 #two_maincolumn_right #detailrightbloc { 385 385 float: right; 386 386 width: 63%; … … 408 408 width: 49%; 409 409 } 410 #three_maincolumn div#detailrightbloc {410 #three_maincolumn #detailrightbloc { 411 411 float: right; 412 412 width: 50%; … … 428 428 /* 商品情報 各種設定 429 429 ----------------------------------------------- */ 430 div#detailrightbloc h2 {430 #detailrightbloc h2 { 431 431 margin: 0 0 10px 0; 432 432 padding: 0 0 15px 0; … … 436 436 font-size: 160%; 437 437 } 438 div#detailrightbloc .point,439 div#detailrightbloc .relative_cat {438 #detailrightbloc .point, 439 #detailrightbloc .relative_cat { 440 440 margin: 0 0 10px 0; 441 441 padding: 0 0 10px 0; 442 442 background: url("../img/background/line_dot_01.gif") repeat-x bottom ; 443 443 } 444 div#detailrightbloc .main_comment { 445 margin-bottom: 20px; 446 } 447 div.cart_area { 444 #detailrightbloc .main_comment { 445 margin-bottom: 20px; 446 } 447 448 /* 商品コード */ 449 #detailrightbloc .product_code dt, 450 #detailrightbloc .product_code dd { 451 display: inline; 452 } 453 454 /* 商品ステータス */ 455 #detailrightbloc ul.status_icon { 456 margin-bottom: 10px; 457 width: 100%; 458 } 459 #detailrightbloc ul.status_icon li { 460 margin-right: 5px; 461 margin-bottom: 3px; 462 float: left; 463 } 464 465 /* 通常価格 */ 466 #detailrightbloc .normal_price dt, 467 #detailrightbloc .normal_price dd { 468 display: inline; 469 } 470 471 /* 販売価格 */ 472 #detailrightbloc .sale_price dt, 473 #detailrightbloc .sale_price dd { 474 display: inline; 475 } 476 477 /* ポイント */ 478 #detailrightbloc .point dt, 479 #detailrightbloc .point dd { 480 display: inline; 481 } 482 483 /* 規格 */ 484 #detailrightbloc div.classlist { 485 margin-bottom: 10px; 486 padding-bottom: 10px; 487 width: 100%; 488 background: url("../img/background/line_dot_02.gif") repeat-x bottom ; 489 } 490 #detailrightbloc .classlist { 491 margin-bottom: 5px; 492 } 493 #detailrightbloc ul { 494 margin-bottom: 10px; 495 width: 100%; 496 } 497 #detailrightbloc ul li { 498 vertical-align: top; 499 float: left; 500 } 501 502 /* メーカー */ 503 #detailrightbloc .maker dt, 504 #detailrightbloc .maker dd { 505 display: inline; 506 } 507 508 /* メーカーURL */ 509 #detailrightbloc .comment1 dt, 510 #detailrightbloc .comment1 dd { 511 display: inline; 512 } 513 514 /* 関連カテゴリ */ 515 #detailrightbloc .relative_cat dd { 516 margin-left: 1em; 517 } 518 519 /* 買い物かご */ 520 #detailrightbloc .cart_area { 448 521 padding: 10px; 449 522 background-color: #ecf5ff; 450 523 border: 1px solid #cef0f4; 451 524 } 452 453 /* 商品ステータス */ 454 div#detailrightbloc ul.status_icon { 455 margin-bottom: 10px; 456 width: 100%; 457 } 458 div#detailrightbloc ul.status_icon li { 459 margin-right: 5px; 460 margin-bottom: 3px; 461 float: left; 462 } 463 464 /* 規格 */ 465 div#detailrightbloc div.classlist { 466 margin-bottom: 10px; 467 padding-bottom: 10px; 468 width: 100%; 469 background: url("../img/background/line_dot_02.gif") repeat-x bottom ; 470 } 471 div#detailrightbloc .classlist { 472 margin-bottom: 5px; 473 } 474 div#detailrightbloc ul { 475 margin-bottom: 10px; 476 width: 100%; 477 } 478 div#detailrightbloc ul li { 479 vertical-align: top; 480 float: left; 481 } 482 483 /* 買い物かご */ 484 div#detailrightbloc .cartin { 525 #detailrightbloc .quantity dt, 526 #detailrightbloc .quantity dd { 527 display: inline; 528 } 529 #detailrightbloc .cartin { 485 530 text-align: center; 486 531 } 487 div#detailrightbloc .cartin_btn {532 #detailrightbloc .cartin_btn { 488 533 text-align: center; 489 534 } 490 div#detailrightbloc .favorite_btn {535 #detailrightbloc .favorite_btn { 491 536 text-align: center; 492 537 margin-top: 10px; -
branches/version-2_11-dev/html/user_data/packages/sphone/css/detail.css
r20764 r20916 1 1 /*商品情報(テキストなど)*/ 2 div#detailrightblock table td {2 #detailrightblock table td { 3 3 text-align: left; 4 4 vertical-align: middle; … … 41 41 42 42 /*商品情報(テーブル部分)*/ 43 div#detailrightblock table span.nomal-price {43 #detailrightblock table span.nomal-price { 44 44 font-size: 100%; 45 45 } 46 div#detailrightblock table span.sale-price {46 #detailrightblock table span.sale-price { 47 47 font-weight: bold; 48 48 color: #CC0000; 49 49 } 50 div#detailrightblock table span.member-point {50 #detailrightblock table span.member-point { 51 51 font-weight: bold; 52 52 color: #CC0000; … … 54 54 55 55 /*商品情報(規格部分)*/ 56 div#detailrightblock dl {56 #detailrightblock dl { 57 57 margin: 0; 58 58 padding: 5px 0 0; 59 59 } 60 div#detailrightblock dt {61 font-weight: bold; 62 margin: 0; 63 padding: 5px 0 3px 0; 64 line-height: 1.1; 65 } 66 div#detailrightblock dd {60 #detailrightblock dt { 61 font-weight: bold; 62 margin: 0; 63 padding: 5px 0 3px 0; 64 line-height: 1.1; 65 } 66 #detailrightblock dd { 67 67 margin: 0; 68 68 padding: 0 0 5px; 69 69 } 70 div#detailrightblock .fm-detail-quantity {70 #detailrightblock .fm-detail-quantity { 71 71 width: 70px; 72 72 height: 16px;
Note: See TracChangeset
for help on using the changeset viewer.