"; //echo "W = $val_w
"; $key = $_REQUEST['k']; $key = str_replace("games", "", $key); $key = str_replace("Games", "", $key); $key = str_replace("GAMES", "", $key); $key = str_replace("-", " ", $key); $key = str_replace("_", " ", $key); $sql = "SELECT * FROM `games` WHERE `cat_name` = '$key' OR `cat_url` = '$key' OR `sub_cat_name` = '$key' OR `sub_cat_url` = '$key' OR `title` LIKE '%$key%' OR `description` LIKE '%$key%' LIMIT 0, 1"; $res = mysql_query($sql) or die('Error, Select query failed ' . mysql_error()); $count = mysql_num_rows($res); if($key == 'Enter keywords'){ header("Location: /search.html"); } elseif($count == 0){ include 'src.html'; } else{ if($_POST['k'] != ''){ $src_word = strtolower($_POST['k']); $ch_val = checkAlphaNumeric($src_word); if($ch_val == 1){ header("Location: /search.html"); }else{ $val = str_replace(" games", "", strtolower($_POST['k'])); $val = str_replace("games", "", $val); $val = str_replace(" ", "-", $val); $val = str_replace(".", "-", $val); $path = "/search-".strtolower($val)."-1.html"; header("Location: $path"); } } include 'link_count.php'; include 'users_online.php'; include 'online.php'; $w = $_REQUEST['w']; $w = (($w*10)-10); $st = $w; $pr = $_REQUEST['pr']; if((!$st || ($st < 0))) $st = 0; if(!$pr) $pr = 10; $slr = round($st/$pr, 0)+2; $next = $st+$pr; if($st <= $pr) { $back = 0; }else{ $back = $st-$pr; } if($_REQUEST['w'] > '0') { $meta_title_end = " - page $_REQUEST[w]"; } ?> Search - Girls games, cooking games, makeover games, dress up games<?=$meta_title_end;?>
Search Games
Played :    Fans :
No result found... $pr) { ?>
No record found... $value) { $ts .= $ckey.","; } $wordChunks = explode(",", $ts); $randomWords = $wordChunks; $cloud = new wordCloud($randomWords); $myCloud = $cloud->showCloud("array"); $value = $value-1; foreach ($myCloud as $ckey => $value) { $str = str_replace(" ", "-", $value['word']); $ws = strtolower($value['word']); if($value['word'] != null) { $xs = $s%2; if($xs ==0) { $class = "cloud1"; } else { $class = "cloud2"; } $s++; ?>