'0') { $ww = $w+1; $meta_title_end = " - page $_REQUEST[w]"; } }else{ $incsub = 1; } //============================================================================ $topsql_sg = "SELECT SUM(voteup) AS `vtup`, SUM(votedown) AS `vtdown` FROM `games` WHERE `cat_id` = '$cat_id_n' AND `status` = '0' AND `lang` = 'en' OR `cat_id` = '$cat_id_n' AND `status` = '0' AND `lang` = '$lang_url'"; $topresult_sg = mysql_query($topsql_sg) or die('Error, query failed ' . mysql_error()); $toprow_sg = mysql_fetch_array($topresult_sg); $voteup_sg = $toprow_sg['vtup']; $votedown_sg = $toprow_sg['vtdown']; $total_sg = $voteup_sg + $votedown_sg; if($voteup_sg > 0) { $percenteach = ($voteup_sg/$total_sg) * 5; $rate_sg = round($percenteach, 0); }else{ $rate_sg = "0"; } //============================================================================= $sql_meta = "SELECT * FROM `category_meta` WHERE `cat_id` = '$cat_id_n' LIMIT 0,1"; $res_meta = mysql_query($sql_meta) or die('Error, Select query failed : ' . mysql_error()); $dlist_meta = mysql_fetch_array($res_meta); ?> <?=ucwords($mata_category_name);?> Games | Online Dress Up Games for Girls<?=$meta_title_end;?> <?=$dlist_meta['title_en'];?><?=$meta_title_end;?> "; } ?>
Featured Games
Featured

New Games

$pr) { ?>
$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 = "".ucwords($value['word'])." "; if($value['word'] != null) { echo $ws." "; } } ?>