for($page = $page_start; $page <= $page_end; $page++){
$dat = ''; $pte_vals['{$THREADS}'] = '';
head($dat, $resno);
- //temperarly moved form($dat, $resno);
+ //form($dat, $resno);
// 輸出討論串內容
for($i = 0; $i < $inner_for_count; $i++){
// 取出討論串編號
$posts_img = $PIO->fetchPosts($tree); // o++
$pte_vals['{$THREADS}'] .= arrangeThread($PTE, $tree, $tree_cut, $posts, $hiddenReply, $resno, $arr_kill, $arr_old, $kill_sensor, $old_sensor, true, $adminMode, $hiddenImage, $hiddenImagP, $hiddenImagRP, $posts_img); // 交給這個函式去搞討論串印出
}
- form($dat, $resno); //you can delete this line and move it back if you want to
$pte_vals['{$PAGENAV}'] = '<div id="page_switch">';
// 換頁判斷