Sure, here are the changes for those 2 blocks:
Today's hot games, line 18 (the first query) must be:
$query = "SELECT id, category_id, title, latin_title, plays_today, active FROM " . $cMain["dbPrefix"] . "games WHERE active=1 AND category_id=". $nCategory ." ORDER BY plays_today DESC LIMIT " . $cB["MOSTPLAYEDTODAY"]["max"];
Code for line 20 (second query) is:
$query = "SELECT id, title, latin_title, plays_today, active FROM " . $cMain["dbPrefix"] . "games WHERE active=1 ORDER BY plays_today DESC LIMIT " . $cB["MOSTPLAYEDTODAY"]["max"];
Added Recently, line 17:
$query = 'SELECT * FROM ' . $cMain['dbPrefix'] . 'games WHERE active=1 AND category_id='. $nCategory . ' ORDER BY ' . $cSort[$cBlock['sort']] . ' LIMIT ' . $cBlock['max'];
line 19:
$query = 'SELECT * FROM ' . $cMain['dbPrefix'] . 'games WHERE active=1 ORDER BY ' . $cSort[$cBlock['sort']] . ' LIMIT ' . $cBlock['max'];