$gameid = $_GET['gameid'];
include 'db.php';
$query = mysql_query("SELECT * FROM `game` WHERE `game_id`='{$gameid}' LIMIT 1");
$countrows = mysql_num_rows($query);
if (!$countrows) { echo "THERE IS NO SUCH GAME!"; die; }
$show = mysql_fetch_array($query);
$title = str_replace("{title}", $show['game_name'], "{title}");
$tpl = str_replace("{link}", $show['game_link'], "{link}");
$query = mysql_query("UPDATE `game` SET `game_views`=game_views+1 WHERE `game_id`='{$gameid}' LIMIT 1");
?>
Play Free
|
|
|
Do
you like to play games? |
|
|
|
Top Games |
include'db.php';
$query =mysql_query("SELECT * FROM `game` ORDER BY `game_views` DESC LIMIT 10");
while($show = mysql_fetch_array($query))
{
echo "{$show['game_name']} ({$show['game_views']} views) ";
}
?> |
|
Statistics |
Overall Played:
include '../result.php';
?> Time(s)
Total Games: include'../total.php'; ?>
|
|
|
|
Copyright © 2006
playgame247.net.
All Games Copyright © To Their Respective Owners. |
|
|