Change (Line 20 *unedited*):
print "<font size=3>In [b]{$ir['bankTIME']}[/b] days you will recieve your total investment of [b]\$".number_format($ir['bankCASH'])."[/b]</font>
";
To
print "<font size=3>In ".(($ir['bankTIME'] > 1) ? $ir['bankTIME'].' days' : '1 day')." you will recieve your total investment of [b]\$".number_format($ir['bankCASH'])."[/b]</font>
";
Just a visual enhancement, after all it isn't days if it's only one day.
Place this:
if (!in_array ($_POST['cash'], array (1000,10000,50000,100000,250000,500000,1000000,1500000,2500000,5000000,10000000,25000000,50000000,100000000,500000000,1000000000))) {
echo 'Sorry that option isn\'t available';
$h->endpage();
exit;
}
Before (Line 70 *unedited*):
if ( $ir['money'] < $_POST['cash'] ) { print "You dont have that kind of money!
"; }