document.writeln('');

国产精品最大AV站在线观看,a级黄毛片试看三分钟,AV无码A片高潮AV,国产午夜精品一区二区三区,久久爆乳不卡一区,日本三级欧美三级,日韩精品AV一二三区在线,高H短篇小说抽插

當(dāng)前位置:首頁(yè) > 免費(fèi)源碼 > Xiuno讓主頁(yè)顯示指定板塊的“板塊置頂帖子”

Xiuno讓主頁(yè)顯示指定板塊的“板塊置頂帖子”

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
在你當(dāng)前啟用的主題里的hook文件夾創(chuàng)建一個(gè)文件,文件名為“index_threadlist_before.htm”,內(nèi)容任選其一:
<?php 
if($page === 1) {
    $threadlist = thread_find_by_fids(array(1), 1, $pagesize, $order, $threads) + $threadlist; //把a(bǔ)rray(1)中的1換成要顯示的板塊ID(可在后臺(tái)看到)
    thread_list_access_filter($threadlist, $gid); //過(guò)濾帖子列表,必須要做
}
?>
<?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); //把a(bǔ)rray(1)中的1換成要顯示的板塊ID(可在后臺(tái)看到)
    thread_list_access_filter($threadlist, $gid); //過(guò)濾沒(méi)有權(quán)限訪(fǎng)問(wèn)的帖子,必須要做
}
?>
<?php 
if($page === 1) {
    $threadlist = thread_top_find(1) + $threadlist;
    thread_list_access_filter($threadlist, $gid); //過(guò)濾沒(méi)有權(quán)限訪(fǎng)問(wèn)的帖子,必須要做
}
?>
<?php 
if($page === 1) {
    $threadlist = $toplist3 + thread_top_find(1) + thread_find_by_fids($fids, $page, $pagesize, $order, $threads); //把1換成要顯示的板塊ID(可在后臺(tái)看到)
    thread_list_access_filter($threadlist, $gid); //過(guò)濾沒(méi)有權(quán)限訪(fǎng)問(wèn)的帖子,必須要做
}
?>
<?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 = $toplist3 + $threadlist_alltop + thread_find_by_fids($fids, $page, $pagesize, $order, $threads);
    thread_list_access_filter($threadlist, $gid);
}
?>