게시판 번호 시작 질문 좀 하겠습니다. 도움좀 부탁드립니다. 정보
게시판 번호 시작 질문 좀 하겠습니다. 도움좀 부탁드립니다.본문
댓글 전체
list.php
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; 를
$list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k + 2000;
으로 수정해보세요.
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; 를
$list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k + 2000;
으로 수정해보세요.
감사드립니다^^ 깔끔히 해결 되었습니다
게시물 시작번호