ok
Direktori : /home2/selectio/www/wedding-info-new/admin/ |
Current File : /home2/selectio/www/wedding-info-new/admin/employee-verification.php |
<?php include('header.php'); $statement = $pdo->prepare(" SELECT * FROM tbl_employee_personaldata "); $statement->execute(); $datas = $statement->fetchAll(PDO::FETCH_ASSOC); $totaldata = count($datas); // echo "<pre>"; // print_r($datas); // echo "</pre>"; ?> <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['photo']?>" 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['id']?></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="employee-profile-verificaion.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'); ?>