I need help..
I'm currently coding for a new game... entitled WAP Crime City.. Can some one help me to create a function for the computation of age af Lava users.. or wapdesire version?
It is badly needed.. lol
The script version one i'm currently coding shall be realeased free for wapforum members WITHOUT THE OTHER ADD ONS.. The version two will be sold to Brontok WITHOUT THE OTHER ADD ONS..
The beta version shall be open for bidding...
Since the script is too dangerous to minors, i need to limit the users to 17 years old and above...
CODE<?php //////original copy of pinoy2.com
$version = "version: v1.0"; $adven = "Crimes!"; $adven2 = "Wap Criminals!";
?>
<?php //header('Content-type: application/vnd.wap.xhtml+xml'); echo "<?xml version=\"1.0\"?>";echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">"; ?>
<html xmlns="http://www.w3.org/1999/xhtml"> <?php include("config.php"); include("core.php"); $bcon = connectdb();function cantplay_crimes($uid) { $sql = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); if($sql[0]<=10) { return true; }else{ false; } } function cant_steal($uid) { $sql = mysql_fetch_array(mysql_query("SELECT gplus FROM ibwf_users WHERE id='".$uid."'")); if($sql[0]<=100) { return true; }else{ false; } } function be_jailed($uid) { $sql = mysql_fetch_array(mysql_query("SELECT crimes FROM ibwf_users WHERE id='".$uid."'")); if($sql[0]<=5) { return true; }else{ false; } } function hindi_pwede($who) { $sql = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$who."'")); if($sql[0]<=100) { return true; }else{ false; } } if (!$bcon) { echo "<head>"; echo "<title>$sitename</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/white.css">"; echo "<head>"; echo "<body>"; echo " "; echo "<img src="../images/notok.gif" alt="!"/> "; echo "Error! Cannot Connect To Database...
"; echo "This error happens usually when backing up the database, please be patient..."; echo " "; echo "</body>"; echo "</html>"; exit(); }
$action = $_GET["action"]; $sid = $_GET["sid"]; $sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'")); $sitename = $sitename[0]; $uid = getuid_sid($sid); $theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'")); $who = $_GET["who"]; if((islogged($sid)==false)||($uid==0)) { echo "<head>"; echo "<title>Error!!!</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/white_medium.css">"; echo "</head>"; echo "<body>"; echo " "; echo "You are not logged in "; echo "Or Your session has been expired
"; echo "<a href="http://pinoy2.com/index.php">Login</a>"; echo " "; echo "</body>"; echo "</html>"; exit(); } if(isbanned($uid)) { echo "<head>"; echo "<title>Error!!!</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/$theme[0]">"; echo "</head>"; echo "<body>"; echo " "; echo "<img src="../images/notok.gif" alt="x"/> "; echo "You are Banned
"; $banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'")); $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'")); $remain = $banto[0]- time(); $rmsg = gettimemsg($remain); echo "Time Left:$rmsg "; $nick = getnick_uid($banto[2]); echo "By:$nick "; echo "Reason:$banto[1]"; echo "<a href="http://pinoy2.com/index.php">Login</a>"; echo " "; echo "</body>"; echo "</html>"; exit(); }
if(!cantplay_crimes($uid)) { echo "<head>"; echo "<title>$sitename</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/white.css">"; echo "<head>"; echo "<body>"; echo " "; echo "<img src="../images/notok.gif" alt="!"/> "; echo "You have still many plusses why are you here?
"; echo "This game is for those doesnt have enough plusses!"; echo " "; echo "</body>"; echo "</html>"; exit(); } if(!cant_steal($uid)) { echo "<head>"; echo "<title>$sitename</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/white.css">"; echo "<head>"; echo "<body>"; echo " "; echo "<img src="../images/notok.gif" alt="!"/> "; echo "You have too many game Plusses!
"; echo "Learn to share this free opportunity to others who has low Game Plusses!"; echo " "; echo "</body>"; echo "</html>"; exit(); } if(!hindi_pwede($uid)) { echo "<head>"; echo "<title>$sitename</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/white.css">"; echo "<head>"; echo "<body>"; echo " "; echo "<img src="../images/notok.gif" alt="!"/> "; echo "The person you want to steal plusses has not enough Plusses!
"; echo "Learn to spy the persons with the highest plusses! Target them! tnt.. "; echo " "; echo "</body>"; echo "</html>"; exit(); } if(!be_jailed($uid)) { echo "<head>"; echo "<title>$sitename</title>"; echo "<link rel="stylesheet" type="text/css" href="../themes/white.css">"; echo "<head>"; echo "<body>"; echo " "; echo "<img src="../images/notok.gif" alt="!"/> "; echo "You have been Jailed!
"; echo "Too many crimes committed.. The Police just cought you for that reason!"; echo " "; echo "</body>"; echo "</html>"; exit(); } if($action=="main") { addonline(getuid_sid($sid),"playing $adven","../crimes.php?action=main"); $view = $_GET["view"]; if($view=="")$view="date"; echo "<card id="main" title="Playing $adven">"; echo " "; echo "<img src="images/roll.gif" alt=""/> "; echo "see and play pinoy2.com ($adven2) $adven? Well good luck! Sneak quick!"; echo " "; //////ALL LISTS SCRIPT << echo mobads(); echo " "; echo "Welcome to online WAP Crime City! A Game to remember lol.."; echo " "; echo getshoutbox($sid); echo " "; echo mobads(); echo " "; echo "<a href="crimes.php?action=steal&sid=$sid">Steal Plusses!</a>"; echo "<a href="crimes.php?action=bank&sid=$sid">Bank Robbery!</a>"; echo "<a href="crimes.php?action=hijak&sid=$sid">High-Jacking!</a>"; echo "<a href="crimes.php?action=kill&sid=$sid">Kill for Money!</a>"; echo "<a href="crimes.php?action=ganglord&sid=$sid">Fight Gang Lord!</a>"; echo "<a href="crimes.php?action=tour&sid=$sid">Tournament!</a>"; echo "<a href="crimes.php?action=police&sid=$sid">[Eastern Police Department!]</a>"; echo " "; ////// UNTILL HERE >> echo " "; echo "<a href="index.php?action=funm&sid=$sid"><img src="images/roll.gif" alt=""/>"; echo "Fun/Games</a> "; echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo " "; }
ANYONE WHO COULD HELP ME SHALL BE ENTITLED TO BE INCLUDED AS THE ADVISOR OF THE CODER IN THE PUBLISHING OF THE SCRIPT.. YOUR NAME WILL BE TREASURED...
THANKS IN ADVANCE...
THE TOURNAMENT IS FOR THE --- AND THIS IS CONSIDERED AS AN ADD ON SO IT IS NECESSARY TO PURCHASE THE ADD ON IF YOU WANT THE COMPLETE VERSION..
THIS SCRIPT IS ON MY PRIVATE DOMAIN FOR CODING,EDITING, AND TRIAL SCRIPT TESTING.. I WILL NOT PUT THIS SCRIPT ON MY PUBLIC DOMAIN.. FOR SECURITY REASONS..
Services
Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?
Below is a list of services I offer:
Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.
Rates
General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.