"; //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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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' AND `lang` = '$lang_url'"; $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; } if(($rowg['cat_name'] != 'Cooking' && $rowg['cat_name'] != 'Decor' && $rowg['cat_name'] != 'Makeover' && $rowg['cat_name'] != 'Sue' && $rowg['cat_name'] != 'Winx' && $rowg['cat_name'] != 'Bratz' && $rowg['cat_name'] != 'Wedding') && ($rowg['sub_cat_name'] != '4th July' && $rowg['sub_cat_name'] != 'Easter' && $rowg['sub_cat_name'] != 'St Patricks Day' && $rowg['sub_cat_name'] != 'Thanksgiving')) { $heading = " Dress Up"; }else{ $heading = ""; } $gurlville_head_top = $rowg[title].''; if($rowg['sub_cat_name'] != '') { $head_title = $rowg['sub_cat_name']; //$gurlville_head_top = $rowg[title].' '.$rowg[sub_cat_name].$heading.''; }else{ $head_title = $rowg['cat_name']; //$gurlville_head_top = $rowg[title].' '.$rowg[cat_name].$heading.' Game'; } $cononical_url = strtolower($cononical_url); //======================== RATINGS ============================================ $voteup_sg = $rowg['voteup']; $votedown_sg = $rowg['votedown']; $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"; } //================================================================= ?> <?=$gggnn;?> | <?=$head_title;?> Games | Gurlville.com
"; } if($rate_sg == 0){ $rate_sg = 1; } if($total_sg == 0){ $total_sg = 1; } ?>
:

 

Category :
Added on :
'; ?> ,
Total Fans :
 
Plays :
Publisher :
Tags :
$tgs[$i], "; } $tgts = substr($tgts, 0, strlen($tgts)-2); echo $tgts; ?>
Invite Friends to play
Your Name:
Your Email:   
Friend's Email :
1
2
3

Fans
"; $result_f = mysql_query($queryu_f) or die('Error, query failed' . mysql_error()); $row_f = mysql_fetch_array($result_f); $image_fan = $row_f['avatar']; $name_fan = $row_f['name']; $name_fan = explode(" ",$name_fan); $name_fan = $name_fan[0]; if($name_fan == 'Unknown'){ $name_fan = $row_f['username']; } $username_fan = $row_f['username']; ?>
No fans yet...
Comments
Gurlville.com
No comments yet. Comment about this game & share your comments with other users who browse game. So be the first one...
'; ?>
- ,
$pr) { ?>
Thanks for your comments ! It will be shown after approval shortly at gurlville.com
Submit Your Comments


You are not signed in. Sign up or Sign in to comment with a username.

Your Name:   
Your Email:   
Your Comment: [500 Characters Limit]

characters left


Type security code here: