제발 해결이 되게 해주세요 ㅜ 정보
제발 해결이 되게 해주세요 ㅜ본문
댓글 전체

skin/board/basic/list.skin.php에서 번호 출력은
echo "<span class='current'>{$list[$i][num]}</span>";
bbs/list.php에서 $list를 만드는 부분
while ($row = sql_fetch_array($result))
{
// 검색일 경우 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;
$i++;
$k++;
}
이 중에서
$list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k;
상기 부분을 확인해 보세요.
echo "<span class='current'>{$list[$i][num]}</span>";
bbs/list.php에서 $list를 만드는 부분
while ($row = sql_fetch_array($result))
{
// 검색일 경우 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;
$i++;
$k++;
}
이 중에서
$list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k;
상기 부분을 확인해 보세요.
정말로 감사합니다. BBS 파일의 while ($row = sql_fetch_array($result)) 이부분이 없어서 그런거
였습니다 ㅜ
였습니다 ㅜ