View file public_html/transfer.php

File size: 888B
<html>
<title>Transfer Money</title>
<?php include "inc/def.php"; ?>
<?php include "inc/usrchk.php";
if($guest==1) {
header("location:index.php");
} ?>
<?php include "inc/header.php"; ?>
<div class="line">Transfer Money.</div>
<?php
$getu = mysql_query("SELECT * FROM users WHERE user='$user'");
$getu1 = mysql_fetch_array($getu);
$id = $getu1['id'];
$bal = $getu1['bal'];
$pnt = $getu1['point'];


print "<div class='uright'><b>My Balance : <font color=red>$$bal </font></b></div>";

echo '<form action="transferm.php?user='.$user.'" method="post">
Username(receiver): <input type="text" value="" name="user1" />

Enter Money (Min $0.1) (Max $20): <input type="text" value="" name="bal" />

<input type="submit" value="Send Money" />
</form>';
?>
<div class="uright"><img src="pics/ar.png" border="0" /><a href="home.php"><b>Back</b></a></div>
<?php include "inc/footer.php"; ?>
</html>