<?php include "layouts/menu.php"; ?> <div class="right_col" role="main">

            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            Details
                        </div>
               
        
     <?php
					
						$qry=mysqli_query($conn, "select * from mcust");
						
						?>
                <!-- Main content -->
             
              <table id="datatable-buttons" id="datatable-buttons" class="table table-striped table-bordered">           
                                        <thead>
                                            <tr>
                                                	<th>C.ID</th>
												<th>Name</th><th>F.Name</th><th>Img</th>
												<th>Group</th>
												<th>Phone</th>
												<th>Date</th>
																		<th>Attachment </th>		

													<th>-</th>
                                            </tr>
                                        </thead>
									<tbody>	<?php  $ii=0;
					while($row2=mysqli_fetch_array($qry))
						{ $ii++;
					?>
                                        
                                           <tr>
                                              <td><?php echo $row2['hpl'];?></td>
                                               <td><?php echo $row2['name'];?></td> <td><?php echo $row2['fname'];?></td>
                                               
                                                <td><img src="user/<?php echo $row2['uimg'];?>" width="50" height="50"></td>
						
						<td><?php echo $row2['area']; ?></td>
							<td><?php echo $row2['pno']; ?></td>
							
										<td><?php echo $row2['edate']; ?></td>
										
<td><b>	    <?php if($row2['upp1'] != $ff){ ?><a href="user/<?php echo $row2['upp1']; ?>" target="_blank"><i class="fa fa-paperclip" aria-hidden="true">1</i></a> &nbsp;&nbsp;&nbsp; <?php } ?>
<?php if($row2['upp2'] != $ff){ ?><a href="user/<?php echo $row2['upp2']; ?>" target="_blank"><i class="fa fa-paperclip" aria-hidden="true">2</i></a> &nbsp;&nbsp;&nbsp; <?php } ?>
<?php if($row2['upp3'] != $ff){ ?><a href="user/<?php echo $row2['upp3']; ?>" target="_blank"><i class="fa fa-paperclip" aria-hidden="true">3</i></a> &nbsp;&nbsp;&nbsp; <?php } ?>
<?php if($row2['upp4'] != $ff){ ?><a href="user/<?php echo $row2['upp4']; ?>" target="_blank"><i class="fa fa-paperclip" aria-hidden="true">4</i></a> &nbsp;&nbsp;&nbsp; <?php } ?>
<?php if($row2['upp5'] != $ff){ ?><a href="user/<?php echo $row2['upp5']; ?>" target="_blank"><i class="fa fa-paperclip" aria-hidden="true">5</i></a> &nbsp;&nbsp;&nbsp; <?php } ?></b></td>
										


						<td><b>
<a href="editmcust.php?id=<?php echo $row2['id'];?>" class="btn btn-info btn-xs" onclick="return confirm('Are you sure WANT TO Edit?');">Edit</a>				

</br><a href="canmcust.php?id=<?php echo $row2['id'];?>&cid=<?php echo $row2['cid'];?>" class="btn btn-primary btn-xs" onclick="return confirm('Are you sure WANT TO CANCEL?');">Cancel</a></b></td>	
                                            </tr>
                                         
                                        <?php
						}
				
				
					?> </tbody>
					                    
                                    </table>		
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
 
</div>
</div></div>
</div></div></div> 
        <!-- footer content --> 
        <footer>
          <div class="pull-right">
             <a href="https://infossel.com">Infossel Soft Solution</a>
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>

    <!-- jQuery -->
    <script src="vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="vendors/nprogress/nprogress.js"></script>
    <!-- iCheck -->
    <script src="vendors/iCheck/icheck.min.js"></script>
    <!-- Datatables -->
    <script src="vendors/datatables.net/js/jquery.dataTables.min.js"></script>
    <script src="vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
    <script src="vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/buttons.flash.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/buttons.html5.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/buttons.print.min.js"></script>
    <script src="vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js"></script>
    <script src="vendors/datatables.net-keytable/js/dataTables.keyTable.min.js"></script>
    <script src="vendors/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
    <script src="vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js"></script>
    <script src="vendors/datatables.net-scroller/js/dataTables.scroller.min.js"></script>
    <script src="vendors/jszip/dist/jszip.min.js"></script>
    <script src="vendors/pdfmake/build/pdfmake.min.js"></script>
    <script src="vendors/pdfmake/build/vfs_fonts.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="build/js/custom.min.js"></script>

  </body>
</html>