include_once('./_common.php'); // 상품정보 $sql = " select it_id, it_option_use, it_opt1_subject, it_opt2_subject, it_opt3_subject, it_opt1, it_opt2, it_opt3, it_supplement_use from {$g4['yc4_item_table']} where it_id = '$it_id' "; $it = sql_fetch($sql); if(!$it['it_id']) { alert_close('상품 정보가 존재하지 않아 선택사항을 변경할 수 없습니다.'); } if($sw_direct != 1) $sw_direct = 0; $s_uq_id = get_session('ss_uniqid'); $sql = " select ct_id, ct_send_cost_pay from {$g4['yc4_cart_table']} where uq_id = '$s_uq_id' and it_id = '$it_id' and ct_direct = '$sw_direct' and ct_status = '쇼핑' order by ct_id asc limit 0, 1 "; $temp = sql_fetch($sql); $ct_send_cost_pay = $temp['ct_send_cost_pay']; $ct_parent = $temp['ct_id']; // 장바구니정보 $sql_where = " where uq_id = '$s_uq_id' and it_id = '$it_id' and ct_direct = '$sw_direct' "; $sql = " select ct_id, ct_parent, is_option, it_id, it_name, opt_id, ct_option, it_amount, ct_amount, ct_qty from {$g4['yc4_cart_table']} $sql_where order by ct_id asc "; $result = sql_query($sql); $ct_count = mysql_num_rows($result); if(!$ct_count) { alert_close('장바구니 정보가 존재하지 않습니다.'); } $g4['title'] = '선택사항/수량 변경'; include_once (G4_PATH.'/head.sub.php'); ?>
| · '.$it["it_opt{$i}_subject"].' | '; echo ': | '; echo ''.$str.' |
| · '.$value.' | '; echo ': | '; echo ''.$opt.' |