this is my email facedown_pogi@yahoo.com and my user names in wapworld is face, facedown, inet, xyve, aspen thatproves that i coded that script lol
here are the proves...
adventure is my game script
CODE
<?php
$version = "version: v1.0";
$adven = "adventure";
?>
<?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();
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."'"));
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://wapple.890m.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://wapple.890m.com/index.php">Login</a>";
echo "
";
echo "</body>";
echo "</html>";
exit();
}
if($action=="padventure")
{
addonline(getuid_sid($sid),"playing wapple planet adventure","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id="main" title="Playing adventure">";
echo "
";
echo "<img src="images/roll.gif" alt="*"/>
";
echo "How great... Wanna play wapple planet adventure? good luck pinoy-wapper!";
echo "
";
//////ALL LISTS SCRIPT <<
echo "
";
echo "<a href="adven.php?action=go&sid=$sid">»Go</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 "
";
}
else if($action=="go")
{
addonline(getuid_sid($sid),"adventuring wapple planet","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id="main" title="wapple planet">";
echo "
";
echo "Adventure $version
";
echo "Mania!";
echo "
";
if(getplusses(getuid_sid($sid))<75)
{
echo "You need at least 75 plusses to play adventure!";
}
//////ALL LISTS SCRIPT <<
echo "choose hero:";
echo "<a href="adven.php?action=a&sid=$sid">King Wapple</a> , <a href="adven.php?action=b&sid=$sid">King Rohan</a> , <a href="adven.php?action=c&sid=$sid">King Xyve</a> , other hero not yet supported in this game $version like King Richard and Lothor<a href="adven.php?action=d&sid=$sid">King Richard</a>, <a href="adven.php?action=e&sid=$sid">King Lothor</a>";
echo "
";
////// UNTILL HERE >>
echo "
";
echo "<a href="index.php?action=funm&sid=$sid">«back to fun menu</a>
";
echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>";
echo "Home</a>";
echo "
";
echo "
";
}
if($action=="a")
{
addonline(getuid_sid($sid),"ADVENTURING Hero Wapple","");
echo "<head>";
echo "<title>Adventure $version</title>";
echo "<link rel="stylesheet" type="text/css" href="../themes/$theme[0]">";
echo "</head>";
echo "<body>";
echo "
";
//////ALL LISTS SCRIPT <<
$num1 = rand(1, 5);
$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "$adven $version
";
echo "King Wapple $adven
";
echo "You are armored with 3 sword and magical powers, try to kill your enemy!";
echo "
<a href="adven.php?action=a&sid=$sid">Sword Attack</a> , <a href="adven.php?action=a&sid=$sid">Kick</a> , <a href="adven.php?action=a&sid=$sid">Magic</a>";
echo "
";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Golden Plusses: $ugpl
";
$power = rand(50,100);
echo "Power: $power
";
$damage = rand(0,100);
$evil = Monster;
$gold = rand(30,100);
if ($num1 == 1) {
$num = rand(1, 3);
echo "You hit $evil with damage $damage. You've Won $gold Gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 2) {
$num = rand(1, 3);
echo "You hit $evil with damage $damage,but he return 2 kick for you with damage $gold. You've been attacked and Lost $gold gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 3) {
$num = rand(1, 3);
echo "You hit $evil damaging him $damage %. Then $evil return magic attack to you, damaging you $damage %. You draw! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 4) {
$num = rand(1, 3);
echo "You hit $evil with a damage of $damage %. Then $evil return a scratch attack to you $gold %. You draw! Minus $gold plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 5) {
$num = rand(1, 3);
echo "You hit $evil damaging him 0%. Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
echo "<a href="index.php?action=funm&sid=$sid">Back To Fun Zone</a>";
echo "
";
echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
echo "
";
echo "</body>";
}
if($action=="b")
{
addonline(getuid_sid($sid),"ADVENTURING Hero Rohan","");
echo "<head>";
echo "<title>Adventure $version</title>";
echo "<link rel="stylesheet" type="text/css" href="../themes/$theme[0]">";
echo "</head>";
echo "<body>";
echo "
";
//////ALL LISTS SCRIPT <<
$num2 = rand(1, 9);
$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "$adven $version
";
echo "King Rohan $adven
";
echo "You are armored with Special Axe and magical powers, try to let your enemy with low lifepower!
";
echo "
<a href="adven.php?action=b&sid=$sid">Axe Attack</a> , <a href="adven.php?action=b&sid=$sid">Kick</a> , <a href="adven.php?action=b&sid=$sid">Magic</a>";
echo "
";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Golden Plusses: $ugpl
";
$power = rand(50,100);
echo "Power: $power
";
$damage = rand(0,100);
$evil2 = Darklord;
$gold = rand(30,100);
$magic = rand(60,93);
$level = 2;
$level2 = 3;
$low = 1;
if ($num2 == 1) {
$num = rand(1, 3);
echo "You hit $evil2 with damage $damage. You've Won $gold Gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 2) {
$num = rand(1, 3);
echo "You hit $evil2 with damage $damage,but he return 2 body and $low high kick for you with damage $gold. You've been attacked and Lost $gold gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 3) {
$num = rand(1, 3);
echo "You cast magic $magic % with a hit to $evil2 damaging him $damage %. Then $evil2 return magic attack to you, damaging you $damage %. You draw! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 4) {
$num = rand(1, 3);
echo "You hit $evil2 with a damage of $damage %. Then $evil2 return dark spell attack to you $gold %. You draw! Minus $gold plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 5) {
$num = rand(1, 3);
echo "You hit $evil2 damaging him 0%. Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 6) {
$num = rand(1, 3);
echo "You hit $evil2 damaging him 100%. level up $level2. You are a GODLIKE! Plus 90 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "90";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 7) {
$num = rand(1, 3);
echo "You hit $evil2 damaging him 40%. Level up to $level You win 50 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == dirol.gif {
$num = rand(1, 3);
echo "You did not hit $evil2 . He jump faster than your attack! Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 9) {
$num = rand(1, 3);
echo "You hit $evil2 $damage % damage, but he hit you 99 % damage. Minus 99 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "99";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
echo "<a href="index.php?action=funm&sid=$sid">Back To Fun Zone</a>";
echo "
";
echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
echo "
";
echo "</body>";
}
if($action=="c")
{
addonline(getuid_sid($sid),"ADVENTURING Hero Rohan","");
echo "<head>";
echo "<title>Adventure $version</title>";
echo "<link rel="stylesheet" type="text/css" href="../themes/$theme[0]">";
echo "</head>";
echo "<body>";
echo "
";
//////ALL LISTS SCRIPT <<
$num2 = rand(1, 9);
$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "$adven $version
";
echo "King Xyve $adven
";
echo "You are armored with Two bladed Samorai and Fire powers, try to let your enemy with low life stat!
";
echo "
<a href="adven.php?action=c&sid=$sid">Samorai Attack</a> , <a href="adven.php?action=c&sid=$sid">Back-Stub</a> , <a href="adven.php?action=c&sid=$sid">Fire</a>";
echo "
";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Golden Plusses: $ugpl
";
$power = rand(50,100);
echo "Power: $power
";
$damage = rand(0,100);
$evil3 = HeadDragon;
$gold = rand(30,100);
$magic = rand(60,93);
$level = 2;
$level2 = 3;
$low = 1;
if ($num2 == 1) {
$num = rand(1, 3);
echo "You hit $evil3 with damage $damage. You've Won $gold Gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 2) {
$num = rand(1, 3);
echo "You hit $evil3 with damage $damage,but he return 2 kick for you with damage $magic . You've been attacked and Lost $gold gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 3) {
$num = rand(1, 3);
echo "You cast magic $magic % with a hit to $evil3 damaging him $damage %. Then $evi3 return magic attack to you, damaging you $damage %. You draw! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 4) {
$num = rand(1, 3);
echo "You hit $evil3 with a damage of $damage %. Then $evil2 return hold spell attack to you $gold %. You draw! Minus $gold plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 5) {
$num = rand(1, 3);
echo "You hit $evil3 damaging him 0%. Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 6) {
$num = rand(1, 3);
echo "You hit $evil3 damaging him 100%. You are a GODLIKE! Plus 98 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "90";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 7) {
$num = rand(1, 3);
echo "You hit $evil3 damaging him 70%. Level up to $level2 You win 50 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == dirol.gif {
$num = rand(1, 3);
echo "You did not hit $evil3 . He ran faster than your attack! Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num2 == 9) {
$num = rand(1, 3);
echo "You hit $evil3 $damage % damage, but he hit you 100 % damage. Minus 100 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "99";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
echo "<a href="index.php?action=funm&sid=$sid">Back To Fun Zone</a>";
echo "
";
echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
echo "
";
echo "</body>";
}
?>
the code written by facedown_pogi@yahoo.com
for wapple.890m.com
CODE
<?php
include("core.php");
include("config.php");
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
echo "<html xmlns="http://www.w3.org/1999/xhtml">";
echo "<head>";
echo "<title>$stitle</title>";
echo "<link rel="stylesheet" type="text/css" href="style/style.css"/>";
echo "
<meta http-equiv="Cache-Control" content="must-revalidate" />
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta name="description" content="spammers club External image (may be gone)">
<meta name="keywords" content="free, community, forums, chat, wap, communicate">
";
echo "</head>";
echo "<body>";
$bcon = connectdb();
if (!$bcon)
{
echo "
";
echo "<img src="images/exit.gif" alt="*"/>
";
echo "ERROR! cannot connect to database
";
echo "This error usually happens when backing up the database, please be patient, The site will be up as soon as possible
";
echo "THANK YOU VERY MUCH";
echo "
";
exit();
}
$brws = explode(" ",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$sid = $_GET["sid"];
$page = $_GET["page"];
$who = $_GET["who"];
$wnick = getnick_uid($who);
$uid = getuid_sid($sid);
$version = "version: v1.0";
$bat = "wapbattle smilies warz";
cleardata();
if(isipbanned($uip,$ubr))
{
if(!isshield(getuid_sid($sid)))
{
echo "
";
echo "<img src="images/notok.gif" alt="x"/>
";
echo "This IP address is blocked
";
echo "
";
echo "However we grant a shield against IP-Ban for our best users, you can try to see if you are shielded by trying to login, if you keep coming to this page that means you are not shielded, so come back when the ip-ban period is over
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 "));
$remain = $banto[0] - time();
$rmsg = gettimemsg($remain);
echo " IP: $rmsg
";
echo "
";
echo "
";
echo "<form action="login.php" method="get">";
echo "username:
<input name="loguid" format="*x" size="8" maxlength="30"/>
";
echo "password:
<input type="password" name="logpwd" size="8" maxlength="30"/>
";
echo "<input type="submit" value="login »"/>";
echo "</form>";
echo "
";
exit();
}
}
if(($action != "") && ($action!="terms"))
{
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{
echo "
";
echo "You are not logged in
";
echo "Or Your session has been expired
";
echo "<a href="index.php">Login</a>";
echo "
";
exit();
}
}
if(isbanned($uid))
{
echo "
";
echo "<img src="images/notok.gif" alt="x"/>
";
echo "You are Banned
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Time to finish your penalty: $rmsg
";
echo "Ban Reason: $banres[0]";
echo "
";
exit();
}
$res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
////////////////////////////////////////MAIN PAGE
if($action=="battle")
{
addonline(getuid_sid($sid),"playing $bat","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "
";
echo "<img src="images/roll.gif" alt=""/>
";
echo "Earn more plusses! You wanna play $bat? good luck pinoy-wapper!";
echo "
";
echo "
";
echo "<a href="adv.php?action=bat&sid=$sid">»Play $bat</a>
";
echo "
";
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 "
";
exit();
}
else if($action=="bat")
{
addonline(getuid_sid($sid),"Trying his luck at $bat","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "
";
echo "$bat $version
";
echo "Craze!";
if(getplusses(getuid_sid($sid))<75)
{
echo "You need at least 75 plusses to play $bat!";
}
echo "
";
//////ALL LISTS SCRIPT <<
echo "
";
echo "choose character:";
echo "
";
echo "<a href="adv.php?action=bata&sid=$sid"><img alt="" src="../final_files/2guns.gif"/></a> - <a href="adv.php?action=batb&sid=$sid"><img alt="" src="../final_files/7.gif"/></a>";
echo "
";
////// UNTILL HERE >>
echo "
";
echo "<a href="index.php?action=funm&sid=$sid">«back to fun menu</a>
";
echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>";
echo "Home</a>";
echo "
";
exit();
}
if($action=="bata")
{
addonline(getuid_sid($sid),"Playing $bat","");
echo "
";
//////ALL LISTS SCRIPT <<
$num1 = rand(1, 6);
$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "$bat $version
";
echo "Todo na to!
";
echo "choose from:";
echo "<a href="adv.php?action=bata&sid=$sid">[fire]</a> , <a href="adv.php?action=bata&sid=$sid">[double gun]</a> , <a href="adv.php?action=bata&sid=$sid">[shot]</a>";
echo "
";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Plusses: $ugpl
";
if ($num1 == 1) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---power]]]]]]]]]]]]]]]]]]]]]]]>*= =
<img alt="" src="../final_files/7.gif"/>
You've Won 100 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 2) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---lowpower]>*=====================
<img alt="" src="../final_files/7.gif"/>.
Sorry You've Lost 50 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 3) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
<img alt="" src="../final_files/7.gif"/>
. You draw! Minus 10 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 4) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---]]]]]>*((((((((((((((((((super========
<img alt="" src="../final_files/7.gif"/>
. You lost! Minus 40 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "40";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 5) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/ghost.gif"/>-dead-------------------------------------
<img alt="" src="../final_files/7.gif"/>
. You lost! Minus 100000 from all your plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 6) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>--------------------------------------------dead-
<img alt="" src="../final_files/ghost.gif"/>
. You won! plus 100000 plusses for you!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
echo "<a href="index.php?action=funm&sid=$sid">Back To Fun Zone</a>";
echo "
";
echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
echo "
";
}
if($action=="batb")
{
addonline(getuid_sid($sid),"Playing $bat","");
echo "
";
//////ALL LISTS SCRIPT <<
$num1 = rand(1, 6);
$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "$bat $version
";
echo "Todo na to!
";
echo "choose from:";
echo "<a href="adv.php?action=batb&sid=$sid">[fire]</a> , <a href="adv.php?action=batb&sid=$sid">[double gun]</a> , <a href="adv.php?action=batb&sid=$sid">[shot]</a>";
echo "
";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Plusses: $ugpl
";
if ($num1 == 1) {
$num = rand(1, 3);
echo "
<img src="../final_files/2guns.gif" alt=""/>---]]=========================power
<img src="../final_files/7.gif" alt=""/>
You've Won 100 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 2) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---power---------]................>*==
<img alt="" src="../final_files/7.gif"/>.
Sorry You've Lost 50 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 3) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
<img alt="" src="../final_files/7.gif"/>
. You draw! Minus 10 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 4) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>---super]]]]]]]]]]]]]]]]]]]]]]]]]>*(((========
<img alt="" src="../final_files/7.gif"/>
. You lost! Minus 40 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "40";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 5) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/ghost.gif"/>-dead-------------------------------------
<img alt="" src="../final_files/7.gif"/>
. You win! plus 100000 from all your plusses for 0 transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
if ($num1 == 6) {
$num = rand(1, 3);
echo "
<img alt="" src="../final_files/2guns.gif"/>--------------------------------------------dead-
<img alt="" src="../final_files/ghost.gif"/>
. You lose! minus 100000 plusses for you!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
echo "
";
}
echo "<a href="index.php?action=funm&sid=$sid">Back To Fun Zone</a>";
echo "
";
echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
echo "
";
}
else{
addonline(getuid_sid($sid),"Where am i?","");
echo "
";
echo "I don't know how did you get into here, but there's nothing to show
";
echo "<a href="/xhtml/index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>";
echo "
";
exit();
}
echo "</body>";
echo "</html>";
?>