so get me hired as your personal coder for your games or you can buy some of my games
[img]https://www.paypal.com/en_US/i/btn/x-click-but21.gif' alt='Make some donation to help me as your game provider! I will code 15 games for lavalair script users' border='0' />
this game is dedicated to my family friends and all for filipinos
this is my ideas to share to all
Hope you found good script from me!
ad this to your if else statments for losers and winers
$pmtext="Your Bet: $bet . Your Digit: $guess1. The winning number is $num1 . Yes, you lose $bet ! ";
$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='57', touid='".$uid."', timesent='".$tm."'");
$pmtext="Your Bet: $bet . Your Digit: $guess1 . The winning number is $num1 . Yes, you win! $dagdag ";
$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='57', touid='".$uid."', timesent='".$tm."'");
see this ( byuid='57') this is the id of the owner or bot info
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?php
//////original copy of wapple adventure changed title to Ancient Empires
///// pinoy2.com official games xyve aka facedown ideas!
$version = "version: 3";
$adven = "On the Spot Jackpot!";
$adven2 = "Instant Jackpot Money! A modified lucky 9";
//$xyvepotmoney = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='potmoney'"));
$updates = "Updates by: your name
Yoursite.com";
?>
<?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>Pinoy2.com</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
echo "<head>";
echo "<body>";
echo "<p align=\"center\">";
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... or go to our chatsite <a href=\"http://pinoy2.com/index.php\">http://www.pinoy2.com</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
$bet = $_GET["bet"];
$guess1 = $_GET["guess1"];
$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 "<p align=\"center\">";
echo "You are not logged in
";
echo "Or Your session has been expired
";
echo "<a href=\"http://pinoy2.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if(isbanned($uid))
{
echo "<head>";
echo "<title>pinoy2.com !!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "<head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/>
";
echo "You are Banned
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_parusa 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 "</p>";
echo "</body>";
echo "</html>";
exit();
}
if($action=="main"))
{
addonline(getuid_sid(($sid),"playing $adven","../Jackpot3.php?action=main&sid=$sid");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id=\"main\" title=\"Playing adventure\">";
echo "<p align=\"center\">";
echo "<img src=\"images/roll.gif\" alt=\"*\"/>
";
echo "see and play pinoy2.com ($adven2) $adven? Well good luck!
Script created by facedown_pogi@yahoo.com!";
echo "</p>";
//////ALL LISTS SCRIPT <<
echo "<center><a href=\"Jackpot3.php?action=go&sid=$sid\">[Go]
pinoy2! este Pinoy to! isigaw mo! JACKPOT!</a>
Advertisers: $x</center>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<center><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></center>";
echo "</p>";
echo "
";
}
else if($action=="go"))
{
addonline(getuid_sid($sid),"playing $adven","../Jackpot3.php?action=main&sid=$sid");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id=\"main\" title=\"wapple super games\">";
echo "<p align=\"center\">";
echo "<big>$adven $version</big>
";
echo " © Pinoy2.com
Script created by facedown_pogi@yahoo.com!";
echo "</p>";
if(getplusses(getuid_sid($sid))<75))
{
echo "You need at least 75 plusses to play Jackpot! Stay away!";
}
//////ALL LISTS SCRIPT <<
$bet = $_POST["bet"];
echo "<p align=\"center\">";
echo "<center><font color= red> <blink>© Pinoy2.com </blink></font>
Advertisers: $x
$updates
Jackpot money is $xyvepotmoney
Please choose your bet!
This is an instant jackpot game!
Your bet will be multiplied by the current jackpot!
The more you bet, the more you win!
The cost of game is per bet minus in your current plusses!
The minimum bet is ten!
";
echo "<form action=\"Jackpot3.php?action=a&sid=$sid\" method=\"post\">
";
echo "<font color= orange>Your Bet:</font><select name=\"bet\">";
echo "<option value=\"10\">10 Plusses</option>";
echo "<option value=\"20\">20 Plusses</option>";
echo "<option value=\"30\">30 Plusses</option>";
echo "<option value=\"40\">40 Plusses</option>";
echo "<option value=\"50\">50 Plusses</option>";
echo "<option value=\"60\">60 Plusses</option>";
echo "<option value=\"70\">70 Plusses</option>";
echo "<option value=\"80\">80 Plusses</option>";
echo "<option value=\"90\">90 Plusses</option>";
echo "<option value=\"100\">100 Plusses</option>";
echo "</select>
";
echo "
Choose your number from 1 to 9 in the selection box bellow!
Our system will send immidiately the prize and will send the confirmation of your winnings at your inbox!
So choose wisely!
You get 100 bonus plusses if you win!
";
echo "<font color= blue>Choose Your Digit:</font><select name=\"guess1\">";
echo "<option value=\"0\">--blank--</option>";
echo "<option value=\"1\"> -1- </option>";
echo "<option value=\"2\"> -2- </option>";
echo "<option value=\"3\"> -3- </option>";
echo "<option value=\"4\"> -4- </option>";
echo "<option value=\"5\"> -5- </option>";
echo "<option value=\"6\"> -6- </option>";
echo "<option value=\"7\"> -7- </option>";
echo "<option value=\"8\"> -8- </option>";
echo "<option value=\"9\"> -9- </option>";
echo "</select>
";
echo "<input type=\"Submit\" Name=\"Submit\" Value=\"Submit\"></center>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<center><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></center>";
echo "</p>";
echo "
";
}
if($action=="a")
{
addonline(getuid_sid($sid),"playing $adven","");
echo "<head>";
echo "<title>play $adven $version</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
//////ALL LISTS SCRIPT <<
$num1 = rand(1, 9);
$guess1 = $_POST["guess1"];
$bet = $_POST["bet"];
$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "$adven $version
";
echo "$adven2
";
echo "<center>
Mananalo ka sa Jakpot kapag may natanggap ka na mensahe sa inbox!
You win if you see YES YOU WIN in your mail inbox!
You get 100 bonus point plusses if you win!
";
echo "<p align=\"center\"><a href=\"Jackpot3.php?action=go&sid=$sid\">[Try Again]</a>
";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Current Plusses: $ugpl
";
echo "Your Bet: $bet";
echo "Your Digit: $guess1";
echo "The Winning Number is: $num1";
if($num1==$guess1)
{
$tval = $bet+100;
$npluss = $ugpl+$tval;
echo "<img src=\"images/win.gif\" alt=\"O\"/>
";
echo "Win!
";
if(@mysql_query("UPDATE ibwf_users SET plusses='".$npluss."' WHERE id='".$uid."'"))
{
echo "So you have won $tval
";
}
}else{
$npluss = $ugpl-$bet;
echo "<img src=\"images/lose.gif\" alt=\"X\"/>
";
echo "Lose!
";
if(@mysql_query("UPDATE ibwf_users SET plusses='".$npluss."' WHERE id='".$uid."'"))
{
echo "So you have lost $bet
";
}
}
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></center>";
echo "</p>";
echo "</body>";
}
?></div>
Comment