$page['title'] = "Games"; $page['breadcrumbs'] = "Games|games/"; $page['turn_off_left_nav'] = 'true'; $page['type'] = 'none'; $page['headerid'] = '0'; $page['menuid'] = '0'; require("framework/header.php"); ?> if($_GET['s'] == 1 or $_GET['s'] == "") { $qery = "DESC"; }else{ $qery = "ASC"; } if(empty($_GET['c'])) { $_GET['c'] = "na"; } if(empty($_GET['g'])) { $_GET['g'] = "%"; } if(empty($_GET['m'])) { $_GET['m'] = "%"; } $getGames = "SELECT * FROM `rsw_games` WHERE developer LIKE '%" . $_GET['d'] . "%' AND genre LIKE '%" . $_GET['g'] . "%' AND mode LIKE '%" . $_GET['m'] . "%' AND hidden != 1 ORDER BY `gid` $qery"; // $getBroadcast = "SELECT * FROM `rsw_broadcasts` ORDER BY `num_id` DESC"; $result = mysql_query($getGames) or die ( "Error in query: $getGames. " . mysql_error() ); $numgames = mysql_num_rows($result); if($_GET['d'] != "") { $title = $_GET['d']; }else{ $title = "Rockstar Games"; } ?>
| \n \n";
print " \n\n";
print " \n";
print "\n";
print " ";
print "" . $row['name'] . "\n"; print "\n"; print "" . $rockstarwatch->checkblank_adv($row['internalweb'], "News", "No RockstarWatch section") . " | " . $rockstarwatch->checkblank_adv($row['internalweb'], "Screens", "No RockstarWatch section") . " | " . $rockstarwatch->checkblank_adv($row['internalweb'], "Trailers", "No RockstarWatch section") . " | ";
print "Buy" . " | " . $rockstarwatch->checkblank_adv($row['officialweb'], "Official Website", "No offical website") . " \n";
print "" . $rockstarwatch->checkblank($rockstarwatch->cut_text($row['overview'], 250, 0), 'No information is currently available on ' . $row[name] . ' ') . " \n"; print " \n";
if($row['released'] == 1){
print "Released " . $rockstarwatch->checkblank($row['release_'.$_GET['c'].''],'Not Released') . " ";
}else{
print "Coming " . $rockstarwatch->checkblank($row['release_'.$_GET['c'].''],'Not Released') . " "; }
print " for $oncons ";
print "Developer " . $rockstarwatch->checkblank($developers , 'Unknown') . " ";
print "Genre " . $rockstarwatch->checkblank($genres, 'Unknown') . " ";
print "Modes: " . $modes . " ";
print " \n";
print " | \n$mkNewRow\n";
//print "
| ";
}elseif($_GET['v'] == "simple"){
print "\n";
print "\n \n";
print " \n\n";
print " \n";
print "\n";
print " ";
print "" . $row['name'] . "\n"; print "" . $rockstarwatch->checkblank_adv($row['internalweb'], "News", "No RockstarWatch section") . " | ";
print "Buy" . " | " . $rockstarwatch->checkblank_adv($row['officialweb'], "Official Website", "No offical website") . " \n";
print "\n";
if($row['released'] == 1){
print "Released " . $rockstarwatch->checkblank($row['release_'.$_GET['c'].''],'Not Released') . " ";
}else{
print "Coming " . $rockstarwatch->checkblank($row['release_'.$_GET['c'].''],'Not Released') . " "; }
print " for $oncons \n";
print ""; print "Modes: " . $modes . " "; print " | \n$mkNewRow\n";
}else{
print "\n";
print "
| ";*/
}
$colorRow++;
$styleRow++;
}
if($_GET['v'] == "basic" or $_GET['v'] == "simple") { print "