include('include.php'); include('connect.php'); $id = $_GET['id']; $query = "SELECT naam, link, width, height, type FROM ogames WHERE id = $id LIMIT 1"; $result = mysql_query($query); while ($row=mysql_fetch_array($result)) { $naam = $row['naam']; $link = $row['link']; $width = $row['width']; $height = $row['height']; $type = $row['type']; } ?>
echo $head;?> echo $topbanner;?> echo $search;?> echo $navbar;?>
if(!isset($_GET['populair'])) addview('g',$id);
if($type == 'iframe') {
?>
}
elseif($type == 'dcr') {
if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE')) {
?>
}
else {
?>
}
}
else{
?>
}
echo "
Open dit spel in een nieuw venster";
echo "
Klik hier als het spel niet werkt";
?>