0) { for ($i=1; $i<=$tv_idx; $i++) { if (get_session("ss_tv[$i]") == $it_id) { $saved = true; break; } } } if (!$saved) { $tv_idx++; set_session("ss_tv_idx", $tv_idx); set_session("ss_tv[$tv_idx]", $it_id); } // 오늘 본 상품 저장 끝 // 조회수 증가 if ($_COOKIE['ck_it_id'] != $it_id) { sql_query(" update {$g4['shop_item_table']} set it_hit = it_hit + 1 where it_id = '$it_id' "); // 1증가 set_cookie("ck_it_id", $it_id, time() + 3600); // 1시간동안 저장 } $g4['title'] = $it['it_name'].' > '.$it['ca_name']; // 분류 상단 코드가 있으면 출력하고 없으면 기본 상단 코드 출력 if ($ca['ca_include_head']) @include_once($ca['ca_include_head']); else include_once('./_head.php'); // 분류 위치 // HOME > 1단계 > 2단계 ... > 6단계 분류 $ca_id = $it['ca_id']; include G4_SHOP_PATH.'/navigation1.inc.php'; // 이 분류에 속한 하위분류 출력 include G4_SHOP_PATH.'/listcategory.inc.php'; if ($is_admin) { echo '
상품 관리
'; } ?> '.stripslashes($it['it_head_html']).''; // 이전 상품보기 $sql = " select it_id, it_name from {$g4['shop_item_table']} where it_id > '$it_id' and SUBSTRING(ca_id,1,4) = '".substr($it['ca_id'],0,4)."' and it_use = '1' order by it_id asc limit 1 "; $row = sql_fetch($sql); if ($row['it_id']) { $prev_title = '이전상품 '.$row['it_name'].''; $prev_href = ''; $prev_href2 = ''.PHP_EOL; } else { $prev_title = ''; $prev_href = ''; $prev_href2 = ''; } // 다음 상품보기 $sql = " select it_id, it_name from {$g4['shop_item_table']} where it_id < '$it_id' and SUBSTRING(ca_id,1,4) = '".substr($it['ca_id'],0,4)."' and it_use = '1' order by it_id desc limit 1 "; $row = sql_fetch($sql); if ($row['it_id']) { $next_title = '다음 상품 '.$row['it_name'].''; $next_href = ''; $next_href2 = ''.PHP_EOL; } else { $next_title = ''; $next_href = ''; $next_href2 = ''; } // 관리자가 확인한 사용후기의 갯수를 얻음 $sql = " select count(*) as cnt from `{$g4['shop_item_use_table']}` where it_id = '{$it_id}' and is_confirm = '1' "; $row = sql_fetch($sql); $item_use_count = $row['cnt']; // 상품문의의 갯수를 얻음 $sql = " select count(*) as cnt from `{$g4['shop_item_qa_table']}` where it_id = '{$it_id}' "; $row = sql_fetch($sql); $item_qa_count = $row['cnt']; // 관련상품의 갯수를 얻음 $sql = " select count(*) as cnt from {$g4['shop_item_relation_table']} a left join {$g4['shop_item_table']} b on (a.it_id2=b.it_id and b.it_use='1') where a.it_id = '{$it['it_id']}' "; $row = sql_fetch($sql); $item_relation_count = $row['cnt']; ?>
'; ?>
0) { echo '
    '; foreach($thumbnails as $val) { $thumb_count++; $sit_pvi_last =''; if ($thumb_count % 5 == 0) $sit_pvi_last = 'class="li_last"'; echo '
  • '; echo ''.$val.''; echo '
  • '; } echo '
'; } ?>

요약정보 및 구매

상품 선택옵션 개, 추가옵션

고객선호도
*/ ?>
제조사
원산지
브랜드
모델
판매가격 전화문의
시중가격
판매가격
재고수량
포인트

선택옵션

추가옵션

선택된 옵션

  • (+0원)
이 분류에 등록된 다른 상품이 없습니다.'; } ?>

상품 정보

상품 기본설명

상품 상세설명

상품 정보 고시

$val) { $ii_title = $info_array[$key][0]; $ii_value = $val; ?>

사용후기

상품문의

배송정보

교환/반품

관련상품

set_query($sql); echo $list->run(); ?>