alert('ไม่สามารถแสดงข้อมูลเกมส์ดังกล่าว');history.back();"; }else{ echo ""; exit; } $totalCol = 5; $pagename = 'gamepreview'; $sql = "select * from game where gameflag >= ".webpage_detail_func("flag_game_show")." and gameid = ".$gameid; $result = select_data_func($sql); $totalRow = mysql_num_rows($result); if($totalRow>0){ $row = mysql_fetch_array($result); $gameid = $row['gameid']; $gamename = stripslashes($row['gamename']); $gamedetail = stripslashes($row['gamedetail']); $gametype = stripslashes($row['gametype']); $gamecount = $row['gamecount']; /*}else{ echo ""; exit;*/ } ?>