Dear user,
Your browser does not support Javascript and Web2.0. Please access our site using one of the following browser:
Internet Explorer 6+, Firefox 1+, Safari 2+, Opera 7+, and any Mozilla browser that support Javascript and Web2.0.
Thank you,
MyGamerLounge Team!
MyGamerLounge.com is a social network for all ages.
Our site contain information for the following categories:
Gamer Lounge, My Gamer Lounge, Games, Blogs, PS3, PS2, PSX, Playstation, Xbox, Xbox 360, Xbox360, Wii, Sega, PC, Game Blogs, Game Reviews, Game Youtube videos, Sega, Nintendo, Sony, IGN RSS Feed, Game News, Exchange Games, Trade Games, Games event, Games hosting, My Gamer Lounge Blog, Gamer Lounge Blog, Gamer Blog Community, Trading Games, Loanding Friend Games
, Game Info, Game blog info, Game Information, Game Cheats, Game hacks, Game FAQ, Game Frequently Ask Questions, Game F.A.Q., Adult game blogs, Parental Advisory games
, Children suitable games, Children games, kids games, Adult kid games, Game pricing info, MMO Community, MMO Gamer, MMO Blogs, MMO Friends Gathering.
Explore random games:
function readContentFile($oFile) {
if (is_file($oFile)) {
$openFile = fopen($oFile, 'r');
if ($openFile) {
while (!feof($openFile)) {
$returnString .= fread($openFile, 8192);
};
fclose($openFile);
};
} else {
$returnString = null;
};
return $returnString;
};
function printGames($txtFile, $limit) {
$rList = explode(",", $txtFile);
$l = sizeOf($rList);
if ($l > ($limit+10)) {
$x = 0;
while ($x<$limit) {
$id = rand(1, $l);
$sql = "select a.hashId, a.gameTitle, a.gameAka, a.gameDescription, b.systemName from gx_games as a left join gx_systems as b on a.systemid=b.systemId where a.gameId=".$rList[$id];
$data = mysql_fetch_row(mysql_query($sql));
$title = ereg_replace(" ", "_", $data[1]);
$title = ereg_replace("-", "_", $title);
$title = ereg_replace(",", "_", $title);
echo "Copy and Paste this link to a supported browser to view full detail: \nhttp://www.mygamerlounge.com/games-detail-".$title."-".$data[0].".htm
Title: ".($data[1] || "None")."
Also known as: ".($data[2] || "None")."
Console: ".$data[4]."
Description:
\n".($data[3] || "None")."
\n";
$x++;
};
} else {
$l = ($l > $limit) ? $limit : $l;
for ($x=0; $x<$l; $x++) {
$sql = "select a.hashId, a.gameTitle, a.gameAka, a.gameDescription, b.systemName from gx_games as a left join gx_systems as b on a.systemid=b.systemId where a.gameId=".$rList[$x];
$data = mysql_fetch_row(mysql_query($sql));
$title = ereg_replace(" ", "_", $data[1]);
$title = ereg_replace("-", "_", $title);
$title = ereg_replace(",", "_", $title);
$title = ereg_replace("&", "_", $title);
echo "Copy and Paste this link to a supported browser to view full detail: \nhttp://www.mygamerlounge.com/games-detail-".$title."-".$data[0].".htm
Title: ".($data[1] || "None")."
Also known as: ".($data[2] || "None")."
Console: ".$data[4]."
Description:
\n".($data[3] || "None")."
\n";
};
};
};
// FOR BOT TO SPIDER SITE
switch($section){
case "games":
switch($page) {
case "detail":
$sql = "select b.systemShort, c.genreId from gx_games as a left join gx_systems as b on a.systemId=b.systemId left join gx_games_ref_genres as c on a.gameId=c.gameId where a.hashId='".$id."'";
if (is_array($data = mysql_fetch_row(mysql_query($sql)))) {
$txtFile = readContentFile(CONST_WEBSITE_FOLDER.CONST_WEBSITE_LOAD."/cronjobs/catalogs/".$data[0]."/".$data[1].".txt");
printGames($txtFile, 5);
};
break;
};
break;
case "consoles":
if ($mode) {
$txtFile = readContentFile(CONST_WEBSITE_FOLDER.CONST_WEBSITE_LOAD."/cronjobs/catalogs/".$mode."/all.txt");
printGames($txtFile, 10);
};
break;
default:
$txtFile = readContentFile(CONST_WEBSITE_FOLDER.CONST_WEBSITE_LOAD."/cronjobs/catalogs/all.txt");
printGames($txtFile, 10);
break;
};
?>