Mini Shell

Direktori : /home/mhcadmin/.trash/
Upload File :
Current File : /home/mhcadmin/.trash/Plot_Application_Report.php

<?php

session_start();
require_once 'config/config.php';
require_once 'include/auth_validate.php';


$User = $_SESSION['id'];
$FullName = $_SESSION['Full_Name'];

$NewMessages= "";

$result = mysqli_query( $connection,"SELECT * FROM admin_accounts WHERE id = '$User' ");
        $num = mysqli_num_rows($result);

	        if ($num >0){
				
				$rows = mysqli_fetch_array($result);
                $UserAccessName = $rows['UserAccessName'];
						}
			


$SearchedPApplicationID =  filter_input(INPUT_GET, 'Application_');

$PlotApplications = mysqli_query( $connection,"SELECT * FROM plotapplication WHERE PAID ='$SearchedPApplicationID'");
											

include_once('include/AdminHeader.php');
?>


 <style>
.tooltip {
  position: top;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
</style>

<!--Main container start-->
<div id="page-wrapper">
    <div class="row">

        <div class="col-lg-6">
            
        </div>
        <div class="col-lg-6" style="">
            <div class="page-action-links text-right">
	            
				
				<a href="AdminPortal.php">
	            	<button class="btn btn-success"><span class="fa fa-sign-out fa-fw"></span> BACK </button>
	            </a>
            </div>
        </div>
    </div>
        

 


 <div class="modal-dialog">	

<div id='printableArea'> 

    <table class="table   table-condensed table-bordered">
        <thead>
            
                
                <h4 style="text-align:center;"><img src="images/MHCLOGO.png" alt="logo" style="width:65px;height:65px;border:0"><br><br>APPLICATION FOR A PLOT</h4></th>
			
            
        </thead>
		
         <tbody>               
                        <?php
						
						  //while($rws=  mysql_fetch_array($result))
                        while($row = mysqli_fetch_array($PlotApplications)){
                          echo "<tr style='text-align:left;'><h6><th>1</th><th colspan ='6'>FULL PARTICULARS OF APPLICANT:</th></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>i</th><th colspan ='3'>Full Name of Applicant:</th><td colspan = '3'>".$row["FullName"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>ii</th><th colspan = '3'>Business / Postal Address:</th><td colspan = '3'>".$row["BusinessAddress"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>iii</th><th colspan = '3'>Physical / Residentail Address:</th><td colspan = '3'>".$row["ResidentialAddress"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>iv</th><th>ID Type:</th><td colspan = '2'>".$row["IDType"]."</td><th colspan = '2'>&nbsp;ID Number:</th><td>".$row["IDNumber"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>v</th><th>Phone:</th><td>".$row["Phone"]."</td><th>&nbsp;Cell:&nbsp; ".$row["Cellphone"]."</td><th>&nbsp;Email:</th><td colspan ='2'>".$row["Email"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>2</th><th colspan ='3'>Type of Plot Application:</th><td colspan = '3'>&nbsp;".$row["PlotType"]."</td></h6></tr>";
                          
						  echo "<tr style='text-align:left;'><h6><th colspan ='7'><br></th></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>3</th><th colspan ='6'>DETAILS OF OTHER MHC HOUSE OR PLOT</th></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>i</th><th colspan ='3'>Do You reside in MHC House:</th><td colspan = '3'>".$row["LiveinMHCHouse"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>ii</th><th colspan ='3'>If yes on (i) above is it in your own name:</th><td colspan = '3'>".$row["OwnRight"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>iii</th><th colspan ='3'>Do you have a plot with MHC?:</th><td colspan = '3'>".$row["HavePlotwithMHC"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>iv</th><th colspan ='3'>If yes in (iii) above, Is the plot developed:</th><td colspan = '3'>".$row["PlotDeveloped"]."</td></h6></tr>";
                        
						  echo "<tr style='text-align:left;'><h6><th colspan ='7'><br></th></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>4</th><th colspan ='6'>4&nbsp;EMPLOYMENT DATAILS</th></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>i</th><th colspan ='3'>Are you employed or self employed?:</th><td colspan = '3'>".$row["EmpStatus"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>ii</th><th colspan ='3'>If yes on (i) Name of Employer:</th><td colspan = '3'>".$row["EmployerName"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th></th><th colspan ='3'> &nbsp;&nbsp;&nbsp;If yes on (i) Address of Employer:</th><td colspan = '3'>".$row["EmployerAddress"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>iii</th><th colspan ='3'>Monthly or Annual salary in MK:</th><td colspan = '3'>".$row["Salary"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>iv</th><th colspan ='3'>Other Source of Income:</th><td colspan = '3'>".$row["OtherIcomeSource"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>5</th><th colspan ='3'>How Do you intend to develop the plot?:</th><td colspan = '3'>".$row["HowToDevelop"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>i</th><th colspan ='3'>Other ( specify):</th><td colspan = '3'>".$row["HowToDevelopSpecify"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th>6</th><th colspan ='3'>EStimated Development Cost:</th><td colspan = '3'>".$row["DevelopmentCost"]."</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th colspan ='4'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Date:</th><td colspan = '3'>".$row["Application_Date"]."</td></h6></tr>";
                          
						  echo "<tr style='text-align:left;'><h6><th colspan ='7'><br></th></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th colspan ='7'>&nbsp;FOR OFFICIAL USE ONLY</th></h6></tr>";
						  echo "<tr style='text-align:left;'><h6><th colspan = '3'>&nbsp;GR for Application fees:</th><td>__________________</td><th>&nbsp;Approved:</th><td colspan = '2'>_____________________</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th colspan = '2'>&nbsp;Date:</th><td  colspan = '2'>____________________________</td><th>&nbsp;Deferred:</th><td colspan = '2'>_____________________</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th colspan = '2'>&nbsp;Comment:</th><td colspan = '5'>________________________________________________________________</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th colspan = '3'>&nbsp;Plot Offered:</th><td>________________</td><th>&nbsp;Passed To:</th><td  colspan = '2'>_____________________</td></h6></tr>";
                          echo "<tr style='text-align:left;'><h6><th colspan = '2'>&nbsp;Date:</th><td colspan = '5'>________________________________________________________________</td></h6></tr>";
                          
						  
						 ?>
					    

				</tbody>
                    </table>
			</div>		   
					  
                    <div class="form-group text-right"><button type="submit"  class="btn btn-warning" onclick="printDiv('printableArea')">Print <span class="glyphicon glyphicon-print"></span></button>&nbsp;&nbsp;<a href="Applications/<?php echo $row["FName2"]; ?>"><button class="btn btn-success">Download Attachment <span class="glyphicon glyphicon-download"></span></button>
	            </a></div></div>
               
			   <?php } ?>
</div>	
<?php include_once('include/footer.php'); ?>