이벤트 관리'; ?> '; // 상단 HTML echo '
'.stripslashes($ev['ev_head_html']).'
'; // 상품 출력순서가 있다면 if ($sort != "") $order_by = $sort . " , "; // 상품 (하위 분류의 상품을 모두 포함한다.) // 1.02.00 // a.it_order 추가 /* $sql_list1 = " select a.ca_id, a.it_id, a.it_name, a.it_maker, a.it_point, a.it_price, a.it_stock_qty, a.it_cust_price, it_basic, it_opt1, it_opt2, it_opt3, it_opt4, it_opt5, it_opt6, a.it_type1, a.it_type2, a.it_type3, a.it_type4, a.it_type5 "; */ $sql_list1 = " select * "; $sql_list2 = " order by $order_by a.it_order, a.it_id desc "; $sql_common = " from {$g4['shop_item_table']} a left join {$g4['shop_event_item_table']} b on (a.it_id=b.it_id) where b.ev_id = '$ev_id' and a.it_use = '1' "; $error = ""; if ($skin) $ev['ev_skin'] = $skin; $td_width = (int)($mod / 100); // 리스트 유형별로 출력 $list_file = G4_SHOP_PATH."/{$ev['ev_skin']}"; if (file_exists($list_file)) { $list_mod = $ev['ev_list_mod']; $list_row = $ev['ev_list_row']; $img_width = $ev['ev_img_width']; $img_height = $ev['ev_img_height']; include G4_SHOP_PATH.'/list.sub.php'; include G4_SHOP_PATH.'/list.sort.php'; $sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items "; $result = sql_query($sql); include $list_file; } else { $i = 0; $error = "

{$ev['ev_skin']} 파일을 찾을 수 없습니다.

관리자에게 알려주시면 감사하겠습니다."; } if ($i==0) { echo "
"; echo "

$error
"; } ?> '.stripslashes($ev['ev_tail_html']).''; $timg = G4_DATA_PATH.'/event/'.$ev_id.'_t'; if (file_exists($timg)) echo '
'; ?>