ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/www/wedding-info-new/admin/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/www/wedding-info-new/admin/alliance.php

<?php include('header.php');

    $statement = $pdo->prepare("SELECT tbl_alliances_register.*, DATE_FORMAT(tbl_alliances_register.created_at, '%Y-%m-%d') AS formatted_created_at, tbl_images.verification_status AS img_verification FROM tbl_alliances_register LEFT JOIN tbl_images ON tbl_alliances_register.id = tbl_images.user_id LEFT JOIN tbl_rewards ON tbl_alliances_register.id = tbl_rewards.user_id WHERE (tbl_alliances_register.verification_status = 2 OR tbl_images.verification_status = 2 or tbl_rewards.verification_status = 2) GROUP BY tbl_alliances_register.id");
    $statement->execute();
    $datas = $statement->fetchAll(PDO::FETCH_ASSOC);
    $totaldata = count($datas);

?>

	<div class="wrapper">
		
		<!--start header -->
	
		<!--end header -->
		<!--start page wrapper -->
		<div class="page-wrapper">
			<div class="page-content">

		

				<div class="row row-cols-1 row-cols-sm-2 row-cols-lg-3 row-cols-xl-4 row-cols-xxl-5 product-grid">
				    <?php foreach($datas as $data){ 
				    // variable declartion
				 

				    
				    
				    
				    ?>
					<div class="col">
						<div class="card">
							<img src="../<?=$data['v_photos']?>" class="card-img-top" alt="..." style="height: 250px;">
							<div class="card-body">
								<h6 class="card-title cursor-pointer"><?=$data['name']?></h6>
								<div class="clearfix">
									<p class="mb-0 float-start">Age : <strong><?=$data['age']?></strong> </p>
									<p class="mb-0 float-end fw-bold"><span><? $date = new DateTime($data['created_at']);
									                $formattedDate = $date->format('d/m/Y'); 
                                                    echo $formattedDate;
									
									
									?></span></p>
								</div>
								<div class="">
								  <center><a href="verification.php?ids=<?=$data['id']?>"><button  class="btn btn-sm btn-outline-warning px-5 radius-30"><i class="bx bx-heart-circle mr-1"></i>Verify</button></a></center>
								</div>
							</div>
						</div>
					</div>
					<?php } ?>
				</div><!--end row-->


			</div>
		</div>
		<!--end page wrapper -->
		<!--start overlay-->
		<div class="overlay toggle-icon"></div>
		<!--end overlay-->
		<!--Start Back To Top Button--> <a href="javaScript:;" class="back-to-top"><i class='bx bxs-up-arrow-alt'></i></a>
		<!--End Back To Top Button-->
		<footer class="page-footer">
			<p class="mb-0">Copyright © 2023. All right reserved.</p>
		</footer>
	</div>
	<!--end wrapper-->
	<!--start switcher-->






<?php include('footer.php'); ?>

Zerion Mini Shell 1.0