query("SELECT * FROM `games` where primkey =".$_SESSION['gameonline']); $gameres = $db->getrec(); $gamename = $gameres['filename']; $gamecat = $gameres['category']; $gameimg=$gameres['imagesmall']; ?> query("SELECT * FROM `category` where catid='".$_GET['cat']."'"); $catrec = $db->getrec(); $pagename =$catrec['catname'] ; } else { $pagesql = $db->query("SELECT * FROM `games` where primkey=".$_GET['gameid']); $pagerec=$db->getrec(); $pagename = $pagerec['gamename']; } $recs = $db->query("SELECT * FROM `metacontent` where pagename='".$pagename."'"); $view = $db->getrec(); ?>
query('SELECT * FROM `pref` WHERE prefkey=22'); $bannerres3 = $db->getrec(); if ($bannerres3['setting01'] == 'script'){ $view3 =$bannerres3['adscript']; } if ($bannerres3['setting01'] == 'flash'){ $view3 = ' '; } if ($bannerres3['setting01'] == 'image'){ $view3 = ""; } echo $view3; ?>
debug_mode=true; $addata4 = $db->query('SELECT * FROM `pref` WHERE prefkey=23'); $bannerres4 = $db->getrec(); if ($bannerres4['setting01'] == 'script'){ $view4 =$bannerres4['adscript']; } if ($bannerres4['setting01'] == 'flash'){ $view4 = ' '; } if ($bannerres4['setting01'] == 'image'){ $view4 = ""; } echo $view4; ?>
query('SELECT * FROM `pref` WHERE prefkey=24'); $bannerres4 = $db->getrec(); if ($bannerres4['setting01'] == 'script'){ $view4 =$bannerres3['adscript']; } if ($bannerres4['setting01'] == 'flash'){ $view4 = ' '; } if ($bannerres4['setting01'] == 'image'){ $view4 = ""; } echo $view4; ?>
*/?>