게시판수정에서 dhtml사용글작성시 내용이 보이질 않아요.
오류주소 : p://hanasis.co.kr/gnuboard4/bbs/board.php?bo_table=pos_faq
게시판 목록에서 >> dhtml에디터 사용 테스트입니다.
요 글 클릭시에 내용이 보이질 않죠? dhtml사용 체크하고 작성할땐 내용이 보이는데
글쓰기 누르고 목록에서 보면 내용이 없습니다.
질답게시판 검색해봐도 찾질 못하겠어요..ㅠ.ㅠ
회원을 받지 않아. 글쓰기 글답변 모두 관리자 외에는 필요가 없구요.
비회원은 글읽기 권한만 있으면 되서요.
도와주세요.
게시판 목록에서 >> dhtml에디터 사용 테스트입니다.
요 글 클릭시에 내용이 보이질 않죠? dhtml사용 체크하고 작성할땐 내용이 보이는데
글쓰기 누르고 목록에서 보면 내용이 없습니다.
질답게시판 검색해봐도 찾질 못하겠어요..ㅠ.ㅠ
회원을 받지 않아. 글쓰기 글답변 모두 관리자 외에는 필요가 없구요.
비회원은 글읽기 권한만 있으면 되서요.
도와주세요.
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 6개
bbs/list.php 파일에서 get_list 부분을 찾으셔서 하단에
$html = 0;
if (strstr($list[$i][wr_option], "html1"))
$html = 1;
else if (strstr($list[$i][wr_option], "html2"))
$html = 2;
$list[$i][content] = conv_content($list[$i][wr_content], $html);
if (strstr($sfl, "content"))
$list[$i][content] = search_font($stx, $list[$i][content]);
이와 같은 코드가 되어 있는지 확인 해 보세요.
if (!$sca && !$stx)
{
$arr_notice = explode("\n", trim($board[bo_notice]));
for ($k=0; $k<count($arr_notice); $k++)
{
if (trim($arr_notice[$k])=='') continue;
$row = sql_fetch(" select * from $write_table where wr_id = '$arr_notice[$k]' ");
if (!$row[wr_id]) continue;
$list[$i] = get_list($row, $board, $board_skin_path, $board[bo_subject_len]);
$list[$i][is_notice] = true;
$notice_order .= " and wr_id != '$arr_notice[$k]'"; //[2013-04-03] 추가
$i++;
}
}
------------------------------------------------------------------
// 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다
if ($sca || $stx)
$row = sql_fetch(" select * from $write_table where wr_id = '$row[wr_parent]' ");
$list[$i] = get_list($row, $board, $board_skin_path, $board[bo_subject_len]);
if (strstr($sfl, "subject"))
$list[$i][subject] = search_font($stx, $list[$i][subject]);
$list[$i][is_notice] = false;
//$list[$i][num] = number_format($total_count - ($page - 1) * $board[bo_page_rows] - $k);
$list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k;
1. $list[$i][is_notice] = true; 하단
2. $list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k; 하단
에구...... 답변 감사합니다.
도와주세요. [email protected] 부탁드립니다. 감사합니다.
혹시라도 로그인이 안되어있다믄 elnyang23 카톡입니다.