Jackpot Game!

Started on the old forum in June 2008 · view the original in the archive · old links redirect here

46 replies · 3,715 views · started 18 years ago · 1 min read

TL;DR · summary of 46 replies
  • The code approach to fixing the if else statements was suggested by Guest: Something like this should be used.
  • The issue with the original script's database insertion queries was not resolved, as no specific fix or updated code was provided in the thread.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

10 participants
something else Fellow · 2,296 posts #22

exactly! whats the point in taking bits out or making mistakes in scripts on purpose ? Maybe so that only people who can code can use them . . . but then again . . . people who can code will make a better script anyway lol so zero point to it lol i just found it funny that it still had spammers club in it lol

inet Senior · 264 posts #24

inca u script is no script maybe even u had half coding and now using wizard bru codes on u site after getting full script External image (may be gone) External image (may be gone)

is that true?

here's the full source code of my Game And My IDEA

in another version..

wait i'll upload it here..

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.

something else Fellow · 2,296 posts #27

huh! im not even using this script ???? i just loked at it and added a bit i thought would be usefull to you learner External image (may be gone) (seeming you were asking what the if else statements were) my quote was on a completely different script that i had previously posted ! (which works 100 percent on the server im using) External image (may be gone)

Guest #28

inet ur such a kind wap coder tnx 4 sharing a script... but better if u convert it into wml version

djlee Developer · 224 posts #29

hardly anything is sanitised in that script above .. i suggest you secure it before just sticking it on your site .. that is now public domain code accessible to everyone .. hence anyone can spot those vulnerabilities and attempt to exploit them on any site that does not secure it first

inet Senior · 264 posts #30

inet ur such a kind wap coder tnx 4 sharing a script... but better if u convert it into wml version

where is your site bro?

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.

busterkeaton10 Developer · 68 posts #31

inet ur such a kind wap coder tnx 4 sharing a script... but better if u convert it into wml version

i think that the coding is already WML bro...

metulj Super moderator Principal · 1,726 posts #32

inet ur such a kind wap coder tnx 4 sharing a script... but better if u convert it into wml version

you should REALLY read entire topic.. wizard has posted WML version.. and its 100% bugless ! External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

inet Senior · 264 posts #33

you should REALLY read entire topic.. wizard has posted WML version.. and its 100% bugless ! External image (may be gone)

CODE<?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 " "; 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 " "; 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 " "; 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>pinoy2.com !!!</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=="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 " "; 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 " "; //////ALL LISTS SCRIPT << echo "<a href="jockpot3.php?action=go&sid=$sid">[Go] pinoy2! este Pinoy to! isigaw mo! JACKPOT!</a>

Advertisers: $x";

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),"playing $adven","../Jackpot3.php?action=main&sid=$sid"); $view = $_GET["view"]; if($view=="")$view="date"; echo "<card id="main" title="wapple super games">"; echo " "; echo "$adven $version "; echo "** © Pinoy2.com Script created by facedown_pogi@yahoo.com!**"; echo " ";

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 " ";

echo "<blink>© Pinoy2.com </blink> Advertisers: $x Jackpot money is $xyvelster 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="jockpot3.php?action=a&sid=$sid" method="post"> "; echo "Your Bet:<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 "Choose Your Digit:<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">";

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),"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 " ";

//////ALL LISTS SCRIPT <<

that portion of the script works well.. maybe the lower portion in html doesnt work well

or vice versa.. maybe the heading is wrong.. see the difference with the heading?

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.

metulj Super moderator Principal · 1,726 posts #34

CODE

<?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 " "; 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 " "; 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 " "; 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>pinoy2.com !!!</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=="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 " "; 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 " "; //////ALL LISTS SCRIPT << echo "<a href="jockpot3.php?action=go&sid=$sid">[Go] pinoy2! este Pinoy to! isigaw mo! JACKPOT!</a>

Advertisers: $x";

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),"playing $adven","../Jackpot3.php?action=main&sid=$sid"); $view = $_GET["view"]; if($view=="")$view="date"; echo "<card id="main" title="wapple super games">"; echo " "; echo "$adven $version "; echo "** © Pinoy2.com Script created by facedown_pogi@yahoo.com!**"; echo " ";

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 " ";

echo "<blink>© Pinoy2.com </blink> Advertisers: $x Jackpot money is $xyvelster 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="jockpot3.php?action=a&sid=$sid" method="post"> "; echo "Your Bet:<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 "Choose Your Digit:<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">";

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),"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 " ";

//////ALL LISTS SCRIPT <<

that portion of the script works well.. maybe the lower portion in html doesnt work well

or vice versa.. maybe the heading is wrong.. see the difference with the heading? this aint WML version ! and as i said above.... wizard posted 100% working WMML version... so whats the problem???

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

learner Lead · 587 posts #35

friends i convert jackpot to xhtml but it do not want to work why? CODE<?php include("config.php"); include("core.php"); connectdb();

function canplay_jackpot($uid) { $sql = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); if($sql[0]>=10) { return true; }else{ false; } }

$action=$_GET["action"]; $id=$_GET["id"]; $sid = $_GET["sid"]; $rid=$_GET["rid"]; $rpw=$_GET["rpw"]; $brws = explode(" ",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $who = $_GET["who"];

$uid = getuid_sid($sid);

echo "<html xmlns="http://www.w3.org/1999/xhtml">\n"; echo "<head>\n"; echo "<meta http-equiv="Cache-Control" content="max-age=0">\n";

echo "</head>\n"; echo "<body>\n";

$bcon = connectdb(); if (!$bcon) { echo "<img src="../images/exit.gif" alt="*"/> "; echo "ERROR! cannot connect to database

"; echo "This error happens usually when backing up the database, please be patient, The site will be up any minute

"; echo "you can temperoray be in this site <a href="http://nowhere.com">$site_name</a> while $site_name is offline "; echo "THANK YOU VERY MUCH"; echo " "; echo "</html>"; echo "</body>"; exit(); } $brws = explode(" ",$_SERVER[HTTP_USER_AGENT] ); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"];

$uid = getuid_sid($sid);

connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; $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 '<body id="main" title="Login Error">'; echo ' '; echo 'External image (may be gone)'; echo ' '; echo ''; echo 'You are Banned '; echo ' '; $sql = "SELECT timeto, pnreas, exid FROM ibwf_parusa WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2' "; $banto = mysql_fetch_array(mysql_query($sql)); $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.''; echo ' '; $nick = getnick_uid($banto[2]); echo 'By:'.$nick.''; echo ' '; echo 'Reason:'.$banto[1].''; echo ''; echo ' '; echo ' '; echo 'External image (may be gone)'; echo 'Home'; echo ' '; echo '</body>'; echo '</html>'; exit(); }

if(!canplay_jackpot($uid)) { echo '<body id="main" title="Error">'; echo ' '; echo 'External image (may be gone)'; echo ' '; echo 'You must have atleast 10 plusses to play JackPot!'; echo ' '; echo ' '; echo ' '; echo 'External image (may be gone)'; echo 'Fun Menu'; echo ' '; echo 'External image (may be gone)'; echo 'Home'; echo ' '; echo '</body>'; echo '</html>'; exit(); }

if($action=='play') { echo ' '; echo 'External image (may be gone)'; echo ' '; echo 'Place your bet'; echo ' '; echo '<select name="bet">'; echo '<option value="10">10</option>'; echo '<option value="20">20</option>'; echo '<option value="30">30</option>'; echo '<option value="40">40</option>'; echo '<option value="50">50</option>'; echo '<option value="60">60</option>'; echo '<option value="70">70</option>'; echo '<option value="80">80</option>'; echo '<option value="90">90</option>'; echo '<option value="100">100</option>'; echo '</select>'; echo ' '; echo 'Choose your lucky number'; echo ' '; echo '<select name="lucky_number">'; 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 '<option value="10">10</option>'; echo '</select>'; echo ' '; echo '<form action="jackpot.php?action=do_bet&amp;sid='.$sid.'" method="post">'; echo '<input type="bet" value="$(bet)"/>'; echo '<input type="lucky_number" value="$(lucky_number)"/>'; echo '<input type="submit" value="SPIN"/>'; echo '</form>'; echo ' '; echo ' '; echo 'External image (may be gone)'; echo 'Fun Menu'; echo ' '; echo 'External image (may be gone)'; echo 'Home'; echo ' '; echo '</body>'; }else if($action=='do_bet') { if(isset($_POST)) { $bet = $_POST['bet']; $lucky_number = $_POST['lucky_number']; $random = rand(1,10);

echo ' '; echo 'External image (may be gone)'; echo ' '; echo 'JackPot Result'; echo ' '; echo ' ';

$uplus = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));

echo 'Your Plusses: '.$uplus[0].''; echo ' '; echo ' '; echo 'Your lucky number: '.$lucky_number.''; echo ' '; echo 'The winning number: '.$random.''; echo ' '; echo ' ';

if($lucky_number==$random) { $var = $bet * 2; $nplus = $uplus[0] + $var;

if(@mysql_query("UPDATE ibwf_users SET plusses='".$nplus."' WHERE id='".$uid."'")) { echo 'You have recieved '.$var.' plusses for winning'; echo ' '; echo 'You now have '.$nplus.' plusses left.'; echo ' '; } }else{ $nplus = $uplus[0] - $bet; if($nplus<0) { $nplus = 0; } if(@mysql_query("UPDATE ibwf_users SET plusses='".$nplus."' WHERE id='".$uid."'")) { echo 'You have lost '.$bet.' plusses for losing'; echo ' '; echo 'You now have '.$nplus.' plusses left.'; echo ' '; } } echo ' '; echo 'Try Again';

echo ' '; echo ' '; echo 'External image (may be gone)'; echo 'Fun Menu '; echo 'External image (may be gone)'; echo 'Home'; echo ' '; echo '</body>'; }else{ echo ' '; echo 'What the hell are you trying??? '; echo ' '; echo ' '; echo 'External image (may be gone)'; echo 'Fun Menu'; echo ' '; echo 'External image (may be gone)'; echo 'Home'; echo ' '; echo '</body>'; } }else{ echo ' '; echo 'External image (may be gone)'; echo ' '; echo 'So you want to challenge our dealer and Win the jackpot!'; echo ' '; echo 'If you think you got what it takes, click below:'; echo ' '; echo 'Play Now'; echo ' '; echo ' '; echo 'External image (may be gone)'; echo 'Fun Menu'; echo ' '; echo 'External image (may be gone)'; echo 'Home'; echo ' '; echo '</body>'; }

echo '</html>';

?>

please figure out the mistake i make 😀

Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

BEST MOBILE ADVERTISER

External image (may be gone)

inet Senior · 264 posts #36

friends i convert jackpot to xhtml but it do not want to work why? CODE

<?php include("config.php"); include("core.php"); connectdb(); function canplay_jackpot($uid) { $sql = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); if($sql[0]>=10) { return true; }else{ false; } } $action=$_GET["action"]; $id=$_GET["id"]; $sid = $_GET["sid"]; $rid=$_GET["rid"]; $rpw=$_GET["rpw"]; $brws = explode(" ",$HTTP_USER_AGENT); $ubr = $brws[0]; $uip = getip(); $who = $_GET["who"]; $uid = getuid_sid($sid); echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"; echo "<head>\n"; echo "<meta http-equiv=\"Cache-Control\" content=\"max-age=0\">\n"; echo "</head>\n"; echo "<body>\n"; $bcon = connectdb(); if (!$bcon) { echo "<img src=\"../images/exit.gif\" alt=\"*\"/> "; echo "ERROR! cannot connect to database "; echo "This error happens usually when backing up the database, please be patient, The site will be up any minute "; echo "you can temperoray be in this site <a href=\"http://nowhere.com\">$site_name</a> while $site_name is offline "; echo "**THANK YOU VERY MUCH**"; echo " "; echo "</html>"; echo "</body>"; exit(); } $brws = explode(" ",$_SERVER[HTTP_USER_AGENT] ); $ubr = $brws[0]; $uip = getip(); $action = $_GET["action"]; $sid = $_GET["sid"]; $page = $_GET["page"]; $who = $_GET["who"]; $uid = getuid_sid($sid); connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; $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 '<body id="main" title="Login Error">'; echo ' '; echo '![](#)'; echo ' '; echo ''; echo '**You are Banned** '; echo ' '; $sql = "SELECT timeto, pnreas, exid FROM ibwf_parusa WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2' "; $banto = mysql_fetch_array(mysql_query($sql)); $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.''; echo ' '; $nick = getnick_uid($banto[2]); echo '**By:**'.$nick.''; echo ' '; echo '**Reason:**'.$banto[1].''; echo ''; echo ' '; echo ' '; echo '[![](#)'; echo 'Home](#)'; echo ' '; echo '</body>'; echo '</html>'; exit(); } if(!canplay_jackpot($uid)) { echo '<body id="main" title="Error">'; echo ' '; echo '![](#)'; echo ' '; echo 'You must have atleast 10 plusses to play JackPot!'; echo ' '; echo ' '; echo ' '; echo '[![](#)'; echo 'Fun Menu](#)'; echo ' '; echo '[![](#)'; echo 'Home](#)'; echo ' '; echo '</body>'; echo '</html>'; exit(); } if($action=='play') { echo ' '; echo '![](#)'; echo ' '; echo 'Place your bet'; echo ' '; echo '<select name="bet">'; echo '<option value="10">10</option>'; echo '<option value="20">20</option>'; echo '<option value="30">30</option>'; echo '<option value="40">40</option>'; echo '<option value="50">50</option>'; echo '<option value="60">60</option>'; echo '<option value="70">70</option>'; echo '<option value="80">80</option>'; echo '<option value="90">90</option>'; echo '<option value="100">100</option>'; echo '</select>'; echo ' '; echo 'Choose your lucky number'; echo ' '; echo '<select name="lucky_number">'; 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 '<option value="10">10</option>'; echo '</select>'; echo ' '; echo '<form action="jackpot.php?action=do_bet&amp;sid='.$sid.'" method="post">'; echo '<input type="bet" value="$(bet)"/>'; echo '<input type="lucky_number" value="$(lucky_number)"/>'; echo '<input type="submit" value="SPIN"/>'; echo '</form>'; echo ' '; echo ' '; echo '[![](#)'; echo 'Fun Menu](#)'; echo ' '; echo '[![](#)'; echo 'Home](#)'; echo ' '; echo '</body>'; }else if($action=='do_bet') { if(isset($_POST)) { $bet = $_POST['bet']; $lucky_number = $_POST['lucky_number']; $random = rand(1,10); echo ' '; echo '![](#)'; echo ' '; echo 'JackPot Result'; echo ' '; echo ' '; $uplus = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); echo 'Your Plusses: **'.$uplus[0].'**'; echo ' '; echo ' '; echo 'Your lucky number: **'.$lucky_number.'**'; echo ' '; echo 'The winning number: **'.$random.'**'; echo ' '; echo ' '; if($lucky_number==$random) { $var = $bet * 2; $nplus = $uplus[0] + $var; if(@mysql_query("UPDATE ibwf_users SET plusses='".$nplus."' WHERE id='".$uid."'")) { echo 'You have recieved '.$var.' plusses for winning'; echo ' '; echo 'You now have '.$nplus.' plusses left.'; echo ' '; } }else{ $nplus = $uplus[0] - $bet; if($nplus<0) { $nplus = 0; } if(@mysql_query("UPDATE ibwf_users SET plusses='".$nplus."' WHERE id='".$uid."'")) { echo 'You have lost '.$bet.' plusses for losing'; echo ' '; echo 'You now have '.$nplus.' plusses left.'; echo ' '; } } echo ' '; echo 'Try Again'; echo ' '; echo ' '; echo '[![](#)'; echo 'Fun Menu](#) '; echo '[![](#)'; echo 'Home](#)'; echo ' '; echo '</body>'; }else{ echo ' '; echo 'What the hell are you trying??? '; echo ' '; echo ' '; echo '[![](#)'; echo 'Fun Menu](#)'; echo ' '; echo '[![](#)'; echo 'Home](#)'; echo ' '; echo '</body>'; } }else{ echo ' '; echo '![](#)'; echo ' '; echo 'So you want to challenge our dealer and Win the jackpot!'; echo ' '; echo 'If you think you got what it takes, click below:'; echo ' '; echo 'Play Now'; echo ' '; echo ' '; echo '[![](#)'; echo 'Fun Menu](#)'; echo ' '; echo '[![](#)'; echo 'Home](#)'; echo ' '; echo '</body>'; } echo '</html>'; ?>

this is my high-low game patterened to my jackpot3.php game

<?php//////original copy of wapple adventure changed title to Ancient Empires/////facedown_pogi@yahoo.com$dagdag = 2 * $bet;$version = "version: 1.0 ";$adven = "High-Low!";$adven2 = "Modified Taas-baba";//$xyvepotmoney = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='potmoney'"));$result = rand(1,15);?><?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"><?phpinclude("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 "

"; 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 " "; 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 " "; 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>pinoy2.com !!!</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_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 " "; echo "</body>"; echo "</html>"; exit(); }if($action=="main"){ addonline(getuid_sid($sid),"playing $adven","../hilow.php?action=main&sid=$sid"); $view = $_GET["view"]; if($view=="")$view="date"; echo "<card id="main" title="Playing adventure">"; echo " "; 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 " "; //////ALL LISTS SCRIPT <<echo "<a href="hilow.php?action=go&sid=$sid">[Go] pinoy2! este Pinoy to! isigaw mo! Taas-Baba!</a> Advertisers: $x"; 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),"playing $adven","../hilow.php?action=main&sid=$sid"); $view = $_GET["view"]; if($view=="")$view="date"; echo "<card id="main" title="wapple super games">"; echo " "; echo "$adven $version "; echo "** © Pinoy2.com Script created by facedown_pogi@yahoo.com!"; echo " "; if(getplusses(getuid_sid($sid))<75) { echo "You need at least 75 plusses to play high low! Stay away!"; } //////ALL LISTS SCRIPT << $bet = $_POST["bet"]; echo " "; echo "<blink>© Pinoy2.com </blink>** Advertisers: $x Previous result is $result Please choose your bet! Welcome to Hi-low or the Taas-Baba Game! Your bet will be multiplied by two! 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="hilow.php?action=a&sid=$sid" method="post"> "; echo "Your Bet:<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 "

The numbers are between 1 and 15 The number is $result will the next be higher or lower? Choose your CARD in the selection box bellow!*

Is it higher or lower? for the next number result! Guess the next result!* Our system will send immidiately the prize! So choose wisely! You get double of your bet plusses if you win! "; echo "Choose:<select name="hula">"; echo "<option value="HIGH">--HIGH--</option>"; echo "<option value="LOW">--LOW--</option>"; echo "</select> "; echo "<input type="Submit" Name="Submit" Value="Submit">"; 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),"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 " "; //////ALL LISTS SCRIPT << $result2 = rand(1, 15);$hula = $_POST["hula"];$bet = $_POST["bet"]; $guess2 = rand(1, 15); $uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'")); $uid = $uid[0]; $usrid = $uid; echo "$adven $version "; echo "$adven2 "; //signiture again! lol..echo " 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 " <a href="hilow.php?action=go&sid=$sid">[Try Again]</a> "; echo " "; $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); $ugpl = $ugpl[0]; echo "Current Plusses: $ugpl "; if ($result2 == $guess2) { $num = rand(1, 3); echo " Your Bet: $bet You: $hula. Computer: $hulla. You draw with the computer! Minus bet $bet! Transaction fee is your bet! "; $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); $ugpl = $ugpl[0]; $ugpl2 = $ugpl - "$bet"; mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'"); echo " ";}if($result2 <$guess2){ $num = rand(1, 3); echo "Your Bet: $bet You: $guess2 HIGHER than Computer : $result2. The winning number is $guess2 . $hi2 So You've won! $dagdag "; $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); $ugpl = $ugpl[0]; $ugpl2 = $ugpl + "$dagdag"; mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'"); echo " ";}elseif($result2 >$guess2){ $num = rand(1, 3); echo "Your Bet: $bet You: $guess2 LOWer than computer: $result2 . The winning number is $result2 . $hi2 So You've lose! $bet "; $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'")); $ugpl = $ugpl[0]; $ugpl2 = $ugpl - "$bet"; 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>";}?>

please figure out the mistake i make 😀

you must use this one in html bro but edit it like jackpot its the same script as well

the script is patterned in one way or the another way.. only one pattern at all.. thats a coll tip from me hehehehehehe

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.

subzero Super moderator Fellow · 3,954 posts #37

inet you being in my site have you lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

inet Senior · 264 posts #38

inet you being in my site have you lol

i visit everyones sites i'm kinda addik to cool sites and those site that been considered as the best..

so if i visited one of your sites.. your site is the best..

i encrypted one of my files to your /tools/

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.

subzero Super moderator Fellow · 3,954 posts #39

😉 services to your needs lol

yeah games i got was made by me and amylees guest the number i rip of a lavalair lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close