diff --git a/css/default_shop.css b/css/default_shop.css index 4df4389bb..bb065d41a 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -570,6 +570,28 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col #sit_rel {margin:0 0 10px;padding:10px 10px 0} #sit_rel h2 {margin:0 0 10px} +/* 사용후기 모음 */ +#sps {zoom:1} +#sps ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none} +#sps li {position:relative;padding:10px;border-bottom:1px solid #e9e9e9} +#sps li:after {display:block;visibility:hidden;clear:both;content:""} + +.sps_img {float:left;margin:0 10px 0 0;width:80px} +.sps_img span {position:absolute;font-size:0;line-height:0} + +.sps_section {float:left;width:630px} + +#sps dl {margin:5px 0 10px;zoom:1} +#sps dl:after {display:block;visibility:hidden;clear:both;content:""} +#sps dt {float:left} +#sps dd {float:left;margin:0 20px 0 5px} +#sps dd img {position:relative;top:-2px} + +.sps_section p {padding:0;width:100%;height:20px;overflow:hidden} +.sps_con_full {padding:0;height:auto !important} +.sps_con_btn {margin:5px 0 0;text-align:right} +.sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff} + /* 마이페이지 */ #smb_my {} diff --git a/shop/itemuselist.php b/shop/itemuselist.php index 99808df33..69c1fa0d8 100644 --- a/shop/itemuselist.php +++ b/shop/itemuselist.php @@ -21,85 +21,85 @@ if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페 $from_record = ($page - 1) * $rows; // 시작 열을 구함 ?> - +
-
- - - - - - - - - - - - - - - -run($row['is_content']); - $is_time = substr($row['is_time'], 2, 14); - $small_image = $row['it_id']."_s"; + $thumb = new g4_thumb(G4_DATA_PATH.'/itemuse', 500); + $is_content = $thumb->run($row['is_content']); + $is_time = substr($row['is_time'], 2, 14); + $small_image = $row['it_id']."_s"; - $row2 = sql_fetch(" select it_name from {$g4['shop_item_table']} where it_id = '{$row['it_id']}' "); - $it_href = G4_SHOP_URL."/item.php?it_id={$row['it_id']}"; + $row2 = sql_fetch(" select it_name from {$g4['shop_item_table']} where it_id = '{$row['it_id']}' "); + $it_href = G4_SHOP_URL."/item.php?it_id={$row['it_id']}"; + + if ($i == 0) echo '
    '; + ?> +
  1. + + + +
    +

    + +
    +
    작성자
    +
    +
    작성일
    +
    +
    평가점수
    +
    별<?php echo $star; ?>개
    +
    + +

    + +

    + +
    +
    + +
  2. + 0) echo '
'; + if ($i == 0) echo '

자료가 없습니다.

'; + ?> + + - echo " - - - - - - - - - - "; -} -if ($i == 0) - echo ""; -?> -
번호상품후기작성자작성일평가점수
$num - - - - - -
".get_it_image($small_image, 100, 100)." - -
{$row['is_subject']}
-
{$row['is_name']}".substr($row['is_time'],0,10)."
자료가 없습니다.
-

+ +