the code written by facedown_pogi@yahoo.com
for wapple.890m.com
http://wapple.890m.com " target="_blank"> http://wapple.890m.com </a>
http://www.000webhost.com/36640.html%20 " target="_blank"> http://www.000webhost.com/36640.html </a> register now.. free subdomain cpanel 11, many features and more
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 == External image (may be gone) { $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 == External image (may be gone) { $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
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.