Funmobile Bank Script

Started on the old forum in December 2007 · view the original in the archive · old links redirect here

24 replies · 3,246 views · started 18 years ago · 1 min read

8 participants
Guest #4

code isnt full so its pointless downloading it Plus how is it ment to give 10% extra each day ??

Oh sorry bro I forgot to add that.here's da way.add this part to main page.ok

$now = time(); $start=date("Y-m-d")." 23:00:00"; $end=date("Y-m-d")." 23:01:00"; $tstamp1=strtotime($start); $tstamp2=strtotime($end);if($now>$tstamp1 && $now<$tstamp2) { $sql = 'UPDATE ibwf_users SET bank = bank * 1.1 WHERE bank > 100';mysql_query($sql);}

External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone)

WhiteWarrior Principal · 1,419 posts #5

Oh sorry bro I forgot to add that.here's da way.add this part to main page.ok

$now = time(); $start=date("Y-m-d")." 23:00:00"; $end=date("Y-m-d")." 23:01:00"; $tstamp1=strtotime($start); $tstamp2=strtotime($end);if($now>$tstamp1 && $now<$tstamp2) { $sql = 'UPDATE ibwf_users SET bank = bank * 1.1 WHERE bank > 100';mysql_query($sql);}

External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone) External image (may be gone)

thanks bro 🙂 i wont be doing a bank lol got something else planned lol

Guest #6

there is no genproch.php in it how am i suppose to get the codeing from genproch.php?action=witdraw

?

WhiteWarrior Principal · 1,419 posts #7

there is no genproch.php in it how am i suppose to get the codeing from genproch.php?action=witdraw

?

just code it.. i'll post the full coding to a bank script later... bit busy building something else at the min External image (may be gone)

Guest #8

just code it.. i'll post the full coding to a bank script later... bit busy building something else at the min External image (may be gone)

hmm ok kool al be waiting

Guest #9

there is no genproch.php in it how am i suppose to get the codeing from genproch.php?action=witdraw ?

heres that code bro.anything else...

else if($action=="diposit") { addonline(getuid_ses($ses),"Diposit credits",""); $who = $_GET["who"]; $ptg = $_POST["ptg"]; if($mime== WEB) { echo webhead($uthm,$stitle); echo " "; //$uid = getuid_ses($ses); $gpsf = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT bank FROM ibwf_users WHERE id='".$uid."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE ibwf_users SET bank='".$gpst."' WHERE id='".$uid."'"); if($res) { $res = mysql_query("UPDATE ibwf_users SET credits='".$gpsf."' WHERE id='".$uid."'"); echo "<img src="images/ok.gif" alt="o"/>Amount diposited Successfully "; }else{ echo "<img src="images/notok.gif" alt="x"/>Database Error! "; } }else{ echo "<img src="images/notok.gif" alt="x"/>You don't have enough Credits 2 diposit "; }

    echo "

";

 echo "<a href=\"index.php?action=main&amp;ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";

echo "Home</a>"; echo " "; echo webfoot();

}else{
	echo waphead($stitle);

echo " "; //$uid = getuid_ses($ses); $gpsf = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT bank FROM ibwf_users WHERE id='".$uid."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE ibwf_users SET bank='".$gpst."' WHERE id='".$uid."'"); if($res) { $res = mysql_query("UPDATE ibwf_users SET credits='".$gpsf."' WHERE id='".$uid."'"); echo "<img src="images/ok.gif" alt="o"/>Amount diposited Successfully "; }else{ echo "<img src="images/notok.gif" alt="x"/>Database Error! "; } }else{ echo "<img src="images/notok.gif" alt="x"/>You don't have enough credits to diposit "; }

    echo "

";

 echo "<a href=\"index.php?action=main&amp;ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";

echo "Home</a>"; echo " "; echo wapfoot();

}

}

/////////////////////////////////////withdraw mny else if($action=="wdraw") { addonline(getuid_ses($ses),"Withdraw credits",""); $who = $_GET["who"]; $ptg = $_POST["ptg"]; if($mime== WEB) { echo webhead($uthm,$stitle); echo " "; //$uid = getuid_ses($ses); $gpsf = mysql_fetch_array(mysql_query("SELECT bank FROM ibwf_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".$uid."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE ibwf_users SET credits='".$gpst."' WHERE id='".$uid."'"); if($res) { $res = mysql_query("UPDATE ibwf_users SET bank='".$gpsf."' WHERE id='".$uid."'"); echo "<img src="images/ok.gif" alt="o"/>Amount withdrawed Successfully "; }else{ echo "<img src="images/notok.gif" alt="x"/>Database Error! "; } }else{ echo "<img src="images/notok.gif" alt="x"/>You don't have enough Credits 2 withdraw "; }

    echo "

";

 echo "<a href=\"index.php?action=main&amp;ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";

echo "Home</a>"; echo " "; echo webfoot();

}else{
	echo waphead($stitle);

echo " "; //$uid = getuid_ses($ses); $gpsf = mysql_fetch_array(mysql_query("SELECT bank FROM ibwf_users WHERE id='".$uid."'")); $gpst = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".$uid."'")); if($gpsf[0]>=$ptg){ $gpsf = $gpsf[0]-$ptg; $gpst = $gpst[0]+$ptg; $res = mysql_query("UPDATE ibwf_users SET credits='".$gpst."' WHERE id='".$uid."'"); if($res) { $res = mysql_query("UPDATE ibwf_users SET bank='".$gpsf."' WHERE id='".$uid."'"); echo "<img src="images/ok.gif" alt="o"/>Amount withdrawed Successfully "; }else{ echo "<img src="images/notok.gif" alt="x"/>Database Error! "; } }else{ echo "<img src="images/notok.gif" alt="x"/>You don't have enough credits to withdraw "; }

    echo "

";

 echo "<a href=\"index.php?action=main&amp;ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";

echo "Home</a>"; echo " "; echo wapfoot();

WhiteWarrior Principal · 1,419 posts #10

thats just been made buy the game plusses coding lol well done tho

Guest #11

thats just been made buy the game plusses coding lol well done tho

yeh bro.thats da easyest way

Guest #12

thats just been made buy the game plusses coding lol well done tho

Yep it was discussed in some other topic... But here at least a single user should be there in site during the time mentioned for this to work... I have done it in my site in another way!

Thanks for sharing bro!

SiLeNce Developer · 138 posts #14

where to put

$now = time(); $start=date("Y-m-d")." 23:00:00"; $end=date("Y-m-d")." 23:01:00"; $tstamp1=strtotime($start); $tstamp2=strtotime($end);if($now>$tstamp1 && $now<$tstamp2) { $sql = 'UPDATE ibwf_users SET bank = bank * 1.1 WHERE bank > 100';

mysql_query($sql);}

??

in genproc = "deposit"

or

in genproc = "wdraw"

or where ??

WhiteWarrior Principal · 1,419 posts #15

you can put it where ever mate, stick it in the index.php

Guest #16

where to put

$now = time(); $start=date("Y-m-d")." 23:00:00"; $end=date("Y-m-d")." 23:01:00"; $tstamp1=strtotime($start); $tstamp2=strtotime($end);if($now>$tstamp1 && $now<$tstamp2) { $sql = 'UPDATE ibwf_users SET bank = bank * 1.1 WHERE bank > 100';

mysql_query($sql);}

??

in genproc = "deposit"

or

in genproc = "wdraw"

or where ??

put tht in index.php under the main function

SiLeNce Developer · 138 posts #17

ic ?

i dont see the function ??

WhiteWarrior Principal · 1,419 posts #18

there it says

if($action=="main")
{
$now = time();
$start=date("Y-m-d")." 23:00:00";
$end=date("Y-m-d")." 23:01:00";
$tstamp1=strtotime($start);
$tstamp2=strtotime($end);if($now>$tstamp1 && $now<$tstamp2) { $sql = 'UPDATE `ibwf_users` SET `bank` = `bank` * 1.1 WHERE `bank` > 100';

mysql_query($sql);}
alexism Developer · 136 posts #19

which function in this coding that make user pluses add 10% or 5% in a day?

Guest #20
$now = time();
$start=date("Y-m-d")." 23:50:00";
$end=date("Y-m-d")." 23:50:10";
$tstamp1=strtotime($start);
$tstamp2=strtotime($end);if($now>$tstamp1 && $now<$tstamp2) { $sql = 'UPDATE `ibwf_users` SET `bank` = `bank` * 1.05 WHERE `bank` > 100';

mysql_query($sql);}

use this code for 5 % External image (may be gone)

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