Esempio n. 1
0
    updates: [],
    date: 138247923
  },{
    type: "summary",
    popular: [],
    statistics: [],
    date: 138247923
  },{
    type: "message",
    text: "asdf",
    date: 138247923
  }
]
*/
$recent = AddonManager::getRecentAddons();
$recentUpdates = AddonManager::getRecentUpdates();
$dlg = new stdClass();
$dlg->type = "recent";
$ar = array();
foreach ($recent as $ao) {
    if ($ao->getBoard() == 10) {
        // bargain bin
        continue;
    }
    $board[1] = "Client Mods";
    $board[2] = "Server Mods";
    $board[3] = "Bricks";
    $board[4] = "Cosmetics";
    $board[5] = "Gamemodes";
    $board[6] = "Tools";
    $board[7] = "Weapons";