<style>
 td{font-family:verdana;font-size:14;color:black;}
 body{background-color:silver;}
 input
  {border-style:ridge;
   border-color:black;
   height:25px;
   border-size=1;
   font-family:verdana;
   background-color:white;
   color:black;
  }
</style>
<?
 include("opendb.php");
 $result=mysqli_query($db,"select * from shares where memno='$mem'");
$row=mysqli_fetch_row($result);
?>
<body onload=document.f1.nsh.focus()>
<p align=center>&nbsp;
<form name=f1 action="svwithdraw.php" method=post>
<input type=hidden name=memno value='<?print $row[0]?>'>
<input type=hidden name=sh value='<?print $sh?>'>
<table width=100%>
<tr><td align=right width=550>
<table width=300>
<tr><td colspan=4 bgcolor=#5b5858 align=center><font color=white size=4><b>SHARE WITHDRAWAL</font></tr></td>
<tr><td>Date</td>
    <td><input type=text name=d value='<?print date("d",time())?>' size=1>
	<input type=text name=m value='<?print date("m",time())?>' size=1>
	<input type=text name=y value='<?print date("Y",time())?>'size=3>
    </td>
</tr>
<tr><td>No. of Shares</td><td><input type=text name=nsh size=7></td></tr>
<tr><td>Value per Share</td><td>Rs.<input type=text readonly name=val size=4 style={text-align:right} value='100'></td></tr>
<tr><td colspan=4 bgcolor=#5b5858 align=center>
 <input type=submit value="Save"> <input type=button value="Cancel" onClick=history.back(1)>
</td></tr>
</table>
</td>
<td valign=top>
<table border=1>
<tr><td colspan=2>Present Share of <b><?print $row[4]?></b> </td></tr>
<tr><td width=120>No of shares</td><td><?print $row[6]?></td></tr>
</table>
</td></tr>
</table>
</p>
