ok
Direktori : /home2/selectio/www/wedding-info-new/admin/ |
Current File : /home2/selectio/www/wedding-info-new/admin/seller_verification.php |
<?php include('header.php'); $statement = $pdo->prepare("SELECT c.seller_id as seller,d.*, a.*, b.*, c.* FROM tbl_product a INNER JOIN tbl_product_seller b ON a.id = b.product_ids INNER JOIN seller_product_forms c ON b.product_ids = c.form_id INNER JOIN tbl_seller d on d.id = c.seller_id WHERE a.sub_category_avl = 'NO' and d.verification_status = 2 GROUP BY c.seller_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['profile_img']?>" 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="seller_verification_page.php?ids=<?=$data['seller']?>"><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'); ?>