SURL = $subcaturl"; $game_wt_id = $_REQUEST['p']; $gid1 = explode("-",$game_wt_id); $gid = $gid1[0]; $sqlg = "SELECT * FROM $game_table WHERE `id` = '$gid' AND `cat_url` = '$caturl' AND `sub_cat_url` = '$subcaturl'"; $resultg = mysql_query($sqlg) or die('Error, query failed ' . mysql_error()); $count_if_ext = mysql_num_rows($resultg); if($count_if_ext == '0') { header("HTTP/1.1 301 Moved Permanently"); header("Location: /"); }else{ $rowg = mysql_fetch_array($resultg); $game_id = $rowg['game_id']; $topsqlgm_en = "SELECT * FROM `games` WHERE `id` = '$game_id'"; $topresultgm_en = mysql_query($topsqlgm_en) or die('Error, query failed ' . mysql_error()); $list_en = mysql_fetch_array($topresultgm_en); include 'online.php'; include 'users_online.php'; include 'link_count.php'; $date = date("d/m/Y"); $game_id = $rowg['game_id']; $sbt = $rowg['sub_cat_url']; $sbtn = $rowg['sub_cat_name']; $cat_url = $rowg['cat_url']; $meta_game_description = $rowg['description']; if($sbt != '') { $meta_sql = "SELECT * FROM $sub_cat_table WHERE `cat_url` = '$cat_url' AND `sub_cat_url` = '$sbt'"; $meta_result = mysql_query($meta_sql) or die('Error, query failed ' . mysql_error()); $meta_row = mysql_fetch_array($meta_result); $meta_keywords = $meta_row['sub_cat_keywords']; $meta_cat_name = $meta_row['sub_cat_name']; }else{ $meta_sql = "SELECT * FROM $cat_table WHERE `cat_url` = '$cat_url'"; $meta_result = mysql_query($meta_sql) or die('Error, query failed ' . mysql_error()); $meta_row = mysql_fetch_array($meta_result); $meta_keywords = $meta_row['cat_keywords']; $meta_cat_name = $meta_row['cat_name']; } if($sbt != '') { $spr = '/'; $subt = $sbt.$spr; $suname = $sbtn.' : '; }else{ $subt = ''; $suname = ''; } $urlp = $rowg['cat_url']."/".$subt; $from_gid = $rowg['id']; $vie = $rowg['views']; $vie++; $tempview = mysql_query("UPDATE $game_table SET views='$vie' WHERE id='$from_gid'"); $gggnn = $rowg['title']; $queryu = "SELECT * FROM user_regestration WHERE username = '$username' AND `lang` = '$lang_url'"; $resultu = mysql_query($queryu) or die('Error, query failed'); $rowu = mysql_fetch_array($resultu); $user_id = $rowu['id']; $g_played = $rowu['game_played']; if(isset($_SESSION['userpts'.$from_gid])) {}else{ $g_played = $g_played + 2; $tquery = "UPDATE user_regestration SET game_played = $g_played WHERE username = '$username' AND `lang` = '$lang_url'"; $tresult = mysql_query($tquery) or die('Error, query failed'); } $_SESSION['userpts'.$from_gid] = 'pt'.$from_gid; $q_g_td = "SELECT * FROM g_palyed_today WHERE date = '$date' AND `lang` = '$lang_url'"; $r_td = mysql_query($q_g_td) or die('Error, Query failed to find todays play count'); if (mysql_num_rows($r_td) != 1) { $q_td = "INSERT INTO `g_palyed_today` (`count`, `date`, `lang`) VALUES ('1', '$date', '$lang_url')"; $r_td = mysql_query($q_td) or die('Error, query failed to upload first step to count'); } else { $r_td = mysql_fetch_array($r_td); $td_cont = $r_td['count']; $tdc = $td_cont + 1; $tquery = "UPDATE g_palyed_today SET count = '$tdc' WHERE date = '$date' AND `lang` = '$lang_url'"; $tresult = mysql_query($tquery) or die('Error, query failed'); } $dated = date("M d, Y"); $mm = date("M"); $yy = date("Y"); $lnk_url=$_SERVER['HTTP_REFERER']; $lurl = explode("/", $lnk_url); $lurl_user = $lurl[3]; $lurl_cri = $lurl[4]; $uid = explode("-",$lurl_cri); $uid = $uid[0]; $uid = round($uid); //echo "UID=".$uid."
"; //echo "lurl_user=".$lurl_user."
"; //echo "lurl_cri=".$lurl_cri."
"; $ck= explode("?",$lurl_cri); $ck = $ck[1]; $cks = explode("=",$ck); $cks = $cks[0]; if($cks == 'st'){ $lurl_cri = 'fav.html'; } if($lurl_user == 'users'){ if($uid == '0'){ if(($lurl_cri == 'fav.html') || ($lurl_cri == '')){ $sqlun = "SELECT * FROM `members_points` WHERE username = '$username' AND month = '$mm' AND year = '$yy'"; $tempun = mysql_query($sqlun) or die('Error, query failed'); $arr = mysql_fetch_array($tempun); $mid = $arr['user_id']; $mpts = $arr['member_pts']; $mnth = $arr['month']; $dt = $arr['date']; $yr = $arr['year']; if(mysql_num_rows($tempun) == 0){ if(isset($_SESSION['usermpts1'.$from_gid])) {}else{ $queryun = "SELECT * FROM user_regestration WHERE username = '$username'"; $resultun = mysql_query($queryun) or die('Error, query failed'); $rowun = mysql_fetch_array($resultun); $mem_id = $rowun['id']; $mtotpts = $rowun['member_totpts']; $point = $rowun['game_played']; $mpts = 2; $mtotpts = $mtotpts + 2; $mpoint = $point + 2; $sql = "INSERT INTO `members_points` (`user_id`, `username`, `member_pts`, `month`, `year`, `date`) VALUES ('$mem_id', '$username', '$mpts', '$mm', '$yy', '$dated')"; $temps = mysql_query($sql) or die('Error, query failed to : ' . mysql_error()); $tquerym = "UPDATE user_regestration SET game_played = '$mpoint', member_totpts = '$mtotpts' WHERE username = '$username'"; $tresultm = mysql_query($tquerym) or die('Error, query failed'); } $_SESSION['usermpts1'.$from_gid] = 'mpt1'.$from_gid; }else{ if(isset($_SESSION['usermpts1'.$from_gid])) {}else{ $queryun = "SELECT * FROM user_regestration WHERE username = '$username'"; $resultun = mysql_query($queryun) or die('Error, query failed'); $rowun = mysql_fetch_array($resultun); $mem_id = $rowun['id']; $mtotpts = $rowun['member_totpts']; $point = $rowun['game_played']; $mpts = $mpts + 2; $mtotpts = $mtotpts + 2; $mpoint = $point + 2; $sqlm = "UPDATE `members_points` SET `member_pts` = '$mpts', `date` = '$dated' WHERE username = '$username' AND user_id = '$mid' AND month = '$mnth' AND year = '$yr'"; $tempm = mysql_query($sqlm) or die('Error, query failed'); $tquerym = "UPDATE user_regestration SET game_played = '$mpoint', member_totpts = '$mtotpts' WHERE username = '$username'"; $tresultm = mysql_query($tquerym) or die('Error, query failed'); }$_SESSION['usermpts1'.$from_gid] = 'mpt1'.$from_gid; } }else{ $un = $lurl_cri; $sqlun = "SELECT * FROM `members_points` WHERE username = '$un' AND month = '$mm' AND year = '$yy'"; $tempun = mysql_query($sqlun) or die('Error, query failed'); $arr = mysql_fetch_array($tempun); $mid = $arr['user_id']; $mpts = $arr['member_pts']; $mnth = $arr['month']; $dt = $arr['date']; $yr = $arr['year']; if(mysql_num_rows($tempun) == 0){ if(isset($_SESSION['usermpts2'.$from_gid])) {}else{ $queryun = "SELECT * FROM user_regestration WHERE username = '$un'"; $resultun = mysql_query($queryun) or die('Error, query failed'); $rowun = mysql_fetch_array($resultun); $mem_id = $rowun['id']; $mtotpts = $rowun['member_totpts']; $point = $rowun['game_played']; $mpts = 2; $mtotpts = $mtotpts + 2; $mpoint = $point + 2; $sql = "INSERT INTO `members_points` (`user_id`, `username`, `member_pts`, `month`, `year`, `date`) VALUES ('$mem_id', '$un', '$mpts', '$mm', '$yy', '$dated')"; $temps = mysql_query($sql) or die('Error, query failed to : ' . mysql_error()); $tquerym = "UPDATE user_regestration SET game_played = '$mpoint', member_totpts = '$mtotpts' WHERE username = '$un'"; $tresultm = mysql_query($tquerym) or die('Error, query failed'); } $_SESSION['usermpts2'.$from_gid] = 'mpt2'.$from_gid; }else{ if(isset($_SESSION['usermpts2'.$from_gid])) {}else{ $queryun = "SELECT * FROM user_regestration WHERE username = '$un'"; $resultun = mysql_query($queryun) or die('Error, query failed'); $rowun = mysql_fetch_array($resultun); $mem_id = $rowun['id']; $mtotpts = $rowun['member_totpts']; $point = $rowun['game_played']; $mpts = $mpts + 2; $mtotpts = $mtotpts + 2; $mpoint = $point + 2; $sqlm = "UPDATE `members_points` SET `member_pts` = '$mpts', `date` = '$dated' WHERE username = '$un' AND user_id = '$mid' AND month = '$mnth' AND year = '$yr'"; $tempm = mysql_query($sqlm) or die('Error, query failed'); $tquerym = "UPDATE user_regestration SET game_played = '$mpoint', member_totpts = '$mtotpts' WHERE username = '$un'"; $tresultm = mysql_query($tquerym) or die('Error, query failed'); }$_SESSION['usermpts2'.$from_gid] = 'mpt2'.$from_gid; } } }else{ $sqlun = "SELECT * FROM `members_points` WHERE user_id = '$uid' AND month = '$mm' AND year = '$yy'"; $tempun = mysql_query($sqlun) or die('Error, query failed'); $arr = mysql_fetch_array($tempun); $uname = $arr['username']; $mpts = $arr['member_pts']; $mnth = $arr['month']; $dt = $arr['date']; $yr = $arr['year']; if(mysql_num_rows($tempun) == 0){ if(isset($_SESSION['usermpts3'.$from_gid])) {}else{ $queryun = "SELECT * FROM user_regestration WHERE id = '$uid'"; $resultun = mysql_query($queryun) or die('Error, query failed'); $rowun = mysql_fetch_array($resultun); $mem_un = $rowun['username']; $mtotpts = $rowun['member_totpts']; $point = $rowun['game_played']; $mpts = 2; $mtotpts = $mtotpts + 2; $mpoint = $point + 2; $sql = "INSERT INTO `members_points` (`user_id`, `username`, `member_pts`, `month`, `year`, `date`) VALUES ('$uid', '$mem_un', '$mpts', '$mm', '$yy', '$dated')"; $temps = mysql_query($sql) or die('Error, query failed to : ' . mysql_error()); $tquerym = "UPDATE user_regestration SET game_played = '$mpoint', member_totpts = '$mtotpts' WHERE id = '$uid'"; $tresultm = mysql_query($tquerym) or die('Error, query failed'); } $_SESSION['usermpts3'.$from_gid] = 'mpt3'.$from_gid; }else{ if(isset($_SESSION['usermpts3'.$from_gid])) {}else{ $queryun = "SELECT * FROM user_regestration WHERE id = '$uid'"; $resultun = mysql_query($queryun) or die('Error, query failed'); $rowun = mysql_fetch_array($resultun); $mem_un = $rowun['username']; $mtotpts = $rowun['member_totpts']; $point = $rowun['game_played']; $mpts = $mpts + 2; $mtotpts = $mtotpts + 2; $mpoint = $point + 2; $sqlm = "UPDATE `members_points` SET `member_pts` = '$mpts', `date` = '$dated' WHERE username = '$uname' AND user_id = '$uid' AND month = '$mnth' AND year = '$yr'"; $tempm = mysql_query($sqlm) or die('Error, query failed'); $tquerym = "UPDATE user_regestration SET game_played = '$mpoint', member_totpts = '$mtotpts' WHERE id = '$uid'"; $tresultm = mysql_query($tquerym) or die('Error, query failed'); }$_SESSION['usermpts3'.$from_gid] = 'mpt3'.$from_gid; } } } $st = $_REQUEST['st']; $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; } ?> <?=$gggnn;?> - <?=$meta_cat_name;?> - Jeux pour les filles
Accueil » » »
Advertisement


Remaining 2 seconds
To skip this Click here
- Informations sur le jeu.
Nom du jeu :
Catégorie :
:
Date de :
'; ?> ,
Los fans totales :
Joué:
Partager :
| plus
Inviter un ami
Invitez vos amis à jouer jeux.
Nom :      e-mail :
Mail de votre ami
:
1
 
 
2
 
 
3

Azar Juegos
Los fans
No fans aun...
Commentaires

Pas encore de commentaires. Commentaire sur ce jeu et partager vos commentaires avec d'autres utilisateurs qui naviguent match. Alors soyez le premier...
'; ?>
- ,
$pr) { ?>
Merci pour vos commentaires! On verra après l'approbation sous peu


Votre nom:


Votre e-mail:


Votre commentaire: [Limite de 500 caractères]



Entrez le code de sécurité ici: