'', 'cz_subject'=>'', 'cp_target'=>'', 'cp_price'=>'', 'cp_trunc'=>'', 'cp_type'=>'', 'mb_id'=>'', 'cz_type'=>'', 'cz_point'=>'', 'cp_price'=>'', 'cz_file'=>'', 'cp_minimum'=>'', 'cp_maximum'=>'', ); auth_check_menu($auth, $sub_menu, "w"); $g5['title'] = '쿠폰존 쿠폰관리'; if ($w == 'u') { $html_title = '쿠폰 수정'; $sql = " select * from {$g5['g5_shop_coupon_zone_table']} where cz_id = '$cz_id' "; $cp = sql_fetch($sql); if (!$cp['cz_id']) alert('등록된 자료가 없습니다.'); } else { $html_title = '쿠폰 입력'; $cp['cz_start'] = G5_TIME_YMD; $cp['cz_end'] = date('Y-m-d', (G5_SERVER_TIME + 86400 * 15)); $cp['cz_period'] = 15; } if($cp['cp_method'] == 1) { $cp_target_label = '적용분류'; $cp_target_btn = '분류검색'; } else { $cp_target_label = '적용상품'; $cp_target_btn = '상품검색'; } include_once (G5_ADMIN_PATH.'/admin.head.php'); include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php'); ?>