\]/i", "", $content); if ($log_comment['wr_log'] && !$is_admin) { // 로그 (탐색 / 조합 등의 액션 수행)의 흔적이 있을 경우 // 관리자가 아니면 삭제 불가 $is_delete = false; } if ($log_comment['wr_id'] != $log_comment['wr_id'] && ($log_comment['is_reply'] || $log_comment['is_edit'] || $log_comment['is_del'])) { // 답변, 수정, 삭제가 가능할 경우 // 또한, 본문의 id와 코멘트의 id가 다를 경우 (같을 경우엔 로그의 상단에 있는 컨트롤을 통해 액션 수행이 가능하다) $query_string = str_replace("&", "&", $_SERVER['QUERY_STRING']); if ($w == 'cu') { $sql = " select wr_id, wr_content from $write_table where wr_id = '$indexd' and wr_is_comment = '1' "; $cmt = sql_fetch($sql); $c_wr_content = $cmt['wr_content']; } $c_reply_href = './board.php?' . $query_string . '&c_id=' . $comment_id . '&w=c#bo_vc_w_' . $list_item['wr_id']; $c_edit_href = './board.php?' . $query_string . '&c_id=' . $comment_id . '&w=cu#bo_vc_w_' . $list_item['wr_id']; } // 캐릭터 정보 출력 $is_comment_owner = false; $comment_owner_front = ""; // 자기 로그 접두문자 $comment_owner_behind = ""; // 자기 로그 접미문자 if (!$log_comment['wr_noname']) { // 오너 정보 출력 $log_comment['name'] = $log_comment['wr_name']; if ($list_item['mb_id'] != '' && $list_item['mb_id'] == $log_comment['mb_id']) { $is_comment_owner = true; $comment_owner_front = $owner_front; $comment_owner_behind = $owner_behind; } } else { $is_comment_owner = false; } ?>

>