Quote:
Originally Posted by Lionel
This is a great hack. Has anyone managed to install it with the arcade pass? It gets though with the game cost and the jackpot column....
|
If you look on what I suggest to change in arcade.php you see that it has only 4 new lines to include in
Code:
// Gets all of the games
$gamebits .="<tr>";
while ($game = $DB_site->fetch_array($result_allgames)) {
$gamename = $game['shortname'];
if ($gamecache["$game[shortname]"]) {
$game = $gamecache["$game[shortname]"];
} else {
// the game has never had a score recorded
// $extra is used as a conditional for the arcade_main_games_bit template
$extra = 1;
}
if (($game['gamesettings'] & 1)&&($g >= $startingfrom && $g < $upperlimit)) {
if(!(($g+1)%4)) $nextrow="</tr><tr>";
else $nextrow="";
eval('$gamebits .= "' . fetch_template('arcade_main_games_bit') . '";');
exec_switch_bg();
}
if ($game['gamesettings'] & 1) {
$g++;
}
unset($extra);
}
$gamebits .="</tr>";
block