', 0); if($board['bo_use_chick'] && $w == '') { goto_url(G5_HTTP_BBS_URL.'/board.php?bo_table='.$bo_table.$qstr); } $is_error = false; $option = ''; $option_hidden = ''; if ($is_notice || $is_html || $is_secret || $is_mail) { $option = ''; if ($is_notice) { $option .= "\n".''."\n".'공지'; } if ($is_html) { if ($is_dhtml_editor) { $option_hidden .= ''; } else { $option .= "\n".''."\n".'html'; } } if ($is_secret) { if ($is_admin || $is_secret==1) { $option .= "\n".''."\n".'비밀글'; } else { $option_hidden .= ''; } } if ($is_mail) { $option .= "\n".''."\n".'답변메일받기'; } } if(!$is_error) { if($character['ch_id']) { // 사용가능 아이템 검색 $temp_sql = "select it.it_id, it.it_name, inven.in_id from {$g5['inventory_table']} inven, {$g5['item_table']} it where it.it_id = inven.it_id and it.it_use_mmb_able = '1' and inven.ch_id = '{$character['ch_id']}'"; $mmb_item_result = sql_query($temp_sql); $mmb_item = array(); for($i = 0; $row = sql_fetch_array($mmb_item_result); $i++) { $mmb_item[$i] = $row; } } // 카테고리 재정의 $is_category = false; $category_option = ''; if ($board['bo_use_category']) { $ca_name = ""; if (isset($write['ca_name'])) $ca_name = $write['ca_name']; $categories = explode("|", $board['bo_category_list']); // 구분자가 , 로 되어 있음 $category_option = ""; for ($i=0; $i =$img_data?> ...LOADING... if($image_url) { ?> } ?> >UPLOAD >URL > 로그 삭제 > if(!$write['wr_log'] && $character['ch_state']=='승인') { ?> Action 일반행동 if($is_able_search) { ?> 탐색 } ?> if($config['cf_5']) { ?> 조합 } ?> // 다이스 관련 입력 ?> 다이스 개수 개 굴립니다. // 조합 커멘드 관련 입력 ?> ITEM 1 재료 선택 $re_result = sql_query("select * from {$g5['inventory_table']} inven, {$g5['item_table']} it where inven.ch_id = '{$character['ch_id']}' and it.it_use_recepi = 1 and inven.it_id = it.it_id"); for($i=0; $re_row = sql_fetch_array($re_result); $i++) { ?> =$re_row['it_name']?> } ?> ITEM 2 재료 선택 $re_result = sql_query("select * from {$g5['inventory_table']} inven, {$g5['item_table']} it where inven.ch_id = '{$character['ch_id']}' and it.it_use_recepi = 1 and inven.it_id = it.it_id"); for($i=0; $re_row = sql_fetch_array($re_result); $i++) { ?> =$re_row['it_name']?> } ?> ITEM 3 재료 선택 $re_result = sql_query("select * from {$g5['inventory_table']} inven, {$g5['item_table']} it where inven.ch_id = '{$character['ch_id']}' and it.it_use_recepi = 1 and inven.it_id = it.it_id"); for($i=0; $re_row = sql_fetch_array($re_result); $i++) { ?> =$re_row['it_name']?> } ?> } ?> /****************************************************************************************** RANDOM DICE 추가부분 ******************************************************************************************/ // 랜덤 다이스 값이 입력된 적이 없을 경우 if(!$write['wr_random_dice']) { // 랜덤 지령 있는지 체크 $random = sql_fetch("select count(*) as cnt from {$g5['random_dice_table']} where bo_table = '{$bo_table}' and ra_use = '1'"); if($random['cnt'] > 0) { // 랜덤지령 리스트 뽑아오기 $random_result = sql_query("select * from {$g5['random_dice_table']} where bo_table = '{$bo_table}' and ra_use = '1'"); ?> Random 선택안함 for($i=0; $ra = sql_fetch_array($random_result); $i++) { if($ra['ra_progress'] == '1') { if($ra['ra_progress_p'] + $ra['ra_progress_m'] >= $ra['ra_progress_max']) { continue; } } if($ra['ra_limit'] > 0) { // 다이스 굴림 횟수 확인 if($ra['ra_limit_day']) { $random_log = sql_fetch("select count(rl_id) as cnt from {$g5['random_dice_log_table']} where ch_id = '{$character['ch_id']}' and ra_id = '{$ra['ra_id']}' and rl_date = '".date('Y-m-d')."'"); } else { $random_log = sql_fetch("select count(rl_id) as cnt from {$g5['random_dice_log_table']} where ch_id = '{$character['ch_id']}' and ra_id = '{$ra['ra_id']}'"); } $random_log = $random_log['cnt']; if($random_log >= $ra['ra_limit']) { continue; } } ?> =$ra['ra_title']?> } ?> } } else { ?> } /****************************************************************************************** RANDOM DICE 추가부분 종료 ******************************************************************************************/ ?> if(!$write['wr_item_log'] && $character['ch_state']=='승인' && count($mmb_item) > 0) { ?> Item 사용할 아이템 선택 for($i=0; $i < count($mmb_item); $i++) { ?> =$mmb_item[$i]['it_name']?> } ?> } ?> /****************************************************** * :: 주사위의 경우, 한번 굴린 데이터가 남아 있을 시 수정 불가 * :: 이때, 다른 카테고리의 선택을 할 수 없다. *******************************************************/ ?> Option if(!$write['wr_dice1']) { ?> 일반주사위 } else { ?> } ?> if($is_member) { ?> /> 멤버공개 /> 19금 } ?> /> 리플창 아래로 /> 로그접기 (=$board['bo_gallery_height']?>px 이상은 자동으로 접힙니다.) if($board['bo_use_noname'] && $is_member) { ?> /> 익명 } ?> 이름 비밀번호 Link # " id="wr_link" class="frm_input" size="50"> 이 게시판은 최소 글자 이상, 최대 글자 이하까지 글을 쓰실 수 있습니다. 글자 해시태그 : #해시태그내용 / 로그링크 : @로그번호 / 멤버알람 : [[닉네임]] COMMENT LIST } ?>
이 게시판은 최소 글자 이상, 최대 글자 이하까지 글을 쓰실 수 있습니다.
해시태그 : #해시태그내용 / 로그링크 : @로그번호 / 멤버알람 : [[닉네임]]