【discuzx2】forum_index.php文件中$_G['cache']['announcements']

echo "<pre>";
print_r($_G['cache']['announcements']);//公告

Array
(
    [2] => Array
        (
            [id] => 2
            [author] => admin
            [subject] => 站点公告1
            [type] => 0
            [displayorder] => 0
            [starttime] => 1377502500
            [endtime] => 1454139300
            [message] => 站点公告1
            [groups] => 
        )

    [1] => Array
        (
            [id] => 1
            [author] => admin
            [subject] => 站点公告
            [type] => 0
            [displayorder] => 0
            [starttime] => 1377502380
            [endtime] => 1440833580
            [message] => 尊敬的网友,大家好,欢迎来到美丽志网论坛
            [groups] => 
        )

)

你可能感兴趣的:(【discuzx2】forum_index.php文件中$_G['cache']['announcements'])