document.writeln('');

在公车被猛烈进入爽文,啊灬轻点大JI巴太粗又长A片,亚洲色欲AV成人无码久久精品 ,国产大片内射1区2区,久久久网址,亚洲一区二区三区免费视频,精品欧美一区二区三区久久久,久久国产精品-久久精品

當前位置:首頁 > 免費源碼 > xiuno讓主頁顯示指定板塊的【板塊置頂帖子】

xiuno讓主頁顯示指定板塊的【板塊置頂帖子】

游戲科技網2026年09月15日 00:49免費源碼70

在你當前啟用的主題里的hook文件夾創建一個文件,文件名為“index_threadlist_before.htm”,內容任選其一:

<?php
/* 指定板塊帖子 + 置頂帖子 + 普通帖子 */
if($page === 1) {
$threadlist = thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + $threadlist; //把array(1)中的1換成要顯示的板塊ID(可在后臺看到)
thread_list_access_filter($threadlist, $gid); //過濾帖子列表,必須要做
}
?>
<?php 
/* 指定板塊帖子 + 置頂帖子 + 普通帖子 */
if($page === 1) {
    $threadlist = thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + $threadlist; //把array(1)中的1換成要顯示的板塊ID(可在后臺看到)
    thread_list_access_filter($threadlist, $gid); //過濾帖子列表,必須要做
}
?>
<?php if($page === 1) {$threadlist = thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + $threadlist; //把array(1)中的1換成要顯示的板塊ID(可在后臺看到)thread_list_access_filter($threadlist, $gid); //過濾帖子列表,必須要做}?>
<?php
/* 置頂帖子 + 指定板塊帖子 + 普通帖子 */
if($page === 1) {
$threadlist = $toplist3 + thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把array(1)中的1換成要顯示的板塊ID(可在后臺看到)
thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做
}
?>
<?php 
/* 置頂帖子 + 指定板塊帖子 + 普通帖子 */
if($page === 1) {
    $threadlist = $toplist3 + thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把array(1)中的1換成要顯示的板塊ID(可在后臺看到)
    thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做
}
?>
<?php if($page === 1) {$threadlist = $toplist3 + thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把array(1)中的1換成要顯示的板塊ID(可在后臺看到)thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做}?>
<?php
/* 指定板塊置頂帖子 + 全站置頂帖子 + 普通帖子 */
if($page === 1) {
$threadlist = thread_top_find(1) + $threadlist;
thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做
}
?>
<?php 
/* 指定板塊置頂帖子 + 全站置頂帖子 + 普通帖子 */
if($page === 1) {
    $threadlist = thread_top_find(1) + $threadlist;
    thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做
}
?>
<?php if($page === 1) {$threadlist = thread_top_find(1) + $threadlist;thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做}?>
<?php
/* 全站置頂帖子 + 指定板塊置頂帖子 + 普通帖子 */
if($page === 1) {
$threadlist = $toplist3 + thread_top_find(1) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把1換成要顯示的板塊ID(可在后臺看到)
thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做
}
?>
<?php 
/* 全站置頂帖子 + 指定板塊置頂帖子 + 普通帖子 */
if($page === 1) {
    $threadlist = $toplist3 + thread_top_find(1) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把1換成要顯示的板塊ID(可在后臺看到)
    thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做
}
?>
<?php if($page === 1) {$threadlist = $toplist3 + thread_top_find(1) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把1換成要顯示的板塊ID(可在后臺看到)thread_list_access_filter($threadlist, $gid); //過濾沒有權限訪問的帖子,必須要做}?>
<?php
/* 所有板塊置頂帖子 + 全站置頂帖子 + 普通帖子 */
if ($page === 1) {
$threadlist_alltop = array();
foreach (arrlist_values($forumlist, fid) as $key => $value) {
$r = thread_top_find( $value );
$threadlist_alltop = array_merge($threadlist_alltop , $r );
}
$threadlist = $threadlist_alltop + $threadlist;
thread_list_access_filter($threadlist, $gid);
}
?>
<?php
/* 所有板塊置頂帖子 + 全站置頂帖子 + 普通帖子 */
if ($page === 1) {
    $threadlist_alltop = array();
    foreach (arrlist_values($forumlist, fid) as $key => $value) {
        $r = thread_top_find( $value );
        $threadlist_alltop = array_merge($threadlist_alltop , $r );
    }
    $threadlist = $threadlist_alltop + $threadlist;
    thread_list_access_filter($threadlist, $gid);
}
?>
<?phpif ($page === 1) {$threadlist_alltop = array();foreach (arrlist_values($forumlist, fid) as $key => $value) {$r = thread_top_find( $value );$threadlist_alltop = array_merge($threadlist_alltop , $r );}$threadlist = $threadlist_alltop + $threadlist;thread_list_access_filter($threadlist, $gid);}?>
<?php
/* 全站置頂帖子 + 所有板塊置頂帖子 + 普通帖子 */
if ($page === 1) {
$threadlist_alltop = array();
foreach (arrlist_values($forumlist, fid) as $key => $value) {
$r = thread_top_find( $value );
$threadlist_alltop = array_merge($threadlist_alltop , $r );
}
$threadlist = $toplist3 + $threadlist_alltop + thread_find_by_fids($fids, $page, $pagesize, $order, $threads);
thread_list_access_filter($threadlist, $gid);
}
?>
<?php
/* 全站置頂帖子 + 所有板塊置頂帖子 + 普通帖子 */
if ($page === 1) {
    $threadlist_alltop = array();
    foreach (arrlist_values($forumlist, fid) as $key => $value) {
        $r = thread_top_find( $value );
        $threadlist_alltop = array_merge($threadlist_alltop , $r );
    }
    $threadlist = $toplist3 + $threadlist_alltop + thread_find_by_fids($fids, $page, $pagesize, $order, $threads);
    thread_list_access_filter($threadlist, $gid);
}
?>
<?phpif ($page === 1) {$threadlist_alltop = array();foreach (arrlist_values($forumlist, fid) as $key => $value) {$r = thread_top_find( $value );$threadlist_alltop = array_merge($threadlist_alltop , $r );}$threadlist = $toplist3 + $threadlist_alltop + thread_find_by_fids($fids, $page, $pagesize, $order, $threads);thread_list_access_filter($threadlist, $gid);}?>