<?php
include("protect.php");
include("dbconnect.php");
extract($_REQUEST);
$uname=$_SESSION['uname'];
$msg="";
$q1=mysql_query("select * from register where account='$uname'");
$r1=mysql_fetch_array($q1);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php include("title.php"); ?></title>

<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  
  <div class="sd"><!--<a href="index.php">Home</a>-->
    <div align="center"></div>
  </div>
  <p align="center" class="txt">Welcome <?php echo $r1['name']; ?></p>
  <table width="72%" height="285" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#9AA1B3">
    <tr>
      <td align="center" scope="col"><h2>Cash WithDrawal</h2></td>
    </tr>
    <tr>
      <td align="center" scope="col"><h2>Your Balance is Rs. <?php echo $r1['deposit']; ?></h2></td>
    </tr>
  </table>
  <p align="center">&nbsp;</p>
  <p>&nbsp;</p>
  <p align="center" class="sd"><a href="userhome.php">Back</a></p>
</form>
</body>
</html>
