<?php include "layouts/menu.php"; ?> 
    <?php $vid=$_REQUEST['vid'];?>
  <!--  page-wrapper -->
         <div class="right_col" role="main">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header">Investments</h1>
                </div>
                <!--end page header -->
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            Details
                        </div>
                        <div class="panel-body">
                            <div class="row">
     <div id="mydiv">
  <input type="button" value="Print" onclick="PrintElem('#mydiv')"  style="margin:20px;">
  
   <div class="alert alert-info">Monthly Due Details</div>
  
                    <form name="form1" method="post" action="" enctype="multipart/form-data">
						<?php
						$qry=mysqli_query($conn, "select * from invest where mfin='$mfin' &&  vid='$vid'");
						?>
					<?php 
					$row=mysqli_fetch_array($qry)
					?>
					<table border="0" align="center" cellspacing="0" cellpadding="10" style="table-layout: fixed;" width="500">
					<col width="100px">
					<tbody style="color:#FF0080;background:white;">
      					<tr>
						<td style="background-color:#FFAAAA;">Investment</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['invest'];?></td>
						</tr>
						<tr>
						<td style="background-color:#FFAAAA;">Date</td>
						<td style="background-color:#FFD4FF;"><?php echo $row['date'];?></td>
						</tr>
						<tr>
						<td style="background-color:#FFAAAA;">Delete</td>						
						<td style="background-color:#FFD4FF;"><button type="submit" class="btn btn-default" name="s1">Delete</button></td>
						</tr>
						
						
							<div class="alert alert-warning"><?php include "programs/dinvest.php"; ?></div>
						
						
																
					</tbody>
					<?php
					
				
			?>			
					</table>
					</form>
          
</div>
 
 
</div>
</div></div>
</div></div></div> <?php include "layouts/footer.php"; ?></body></html>