$config['cf_character_count']) { alert("생성 가능한 캐릭터 갯수를 초과하였습니다.", "./index.php"); } $ch['ch_state'] = '수정중'; $ch['ch_type'] = 'main'; $ch['mb_id'] = $member['mb_id']; $ch['ch_point'] = $config['cf_status_point']; } else { $ch = sql_fetch("select * from {$g5['character_table']} where ch_id = '{$ch_id}'"); if(empty($ch)){ alert("캐릭터 내역이 존재하지 않습니다."); } if(!$is_mod_character && !$is_admin){ if($in['ch_id'] != $ch['ch_id'] || $in['it_type'] != '프로필수정') { alert("캐릭터 수정 기간이 아닙니다."); } } // 추가 항목 값 가져오기 $av_result = sql_query("select * from {$g5['value_table']} where ch_id = '{$ch['ch_id']}'"); for($i = 0; $row = sql_fetch_array($av_result); $i++) { $ch[$row['ar_code']] = $row['av_value']; } } ?>