ok
Direktori : /proc/thread-self/root/home2/selectio/www/wedding-info-new/ |
Current File : //proc/thread-self/root/home2/selectio/www/wedding-info-new/scroll.php |
<?php include 'api/config/config.php'; $query1 = "select * from tbl_seller_product_img where product_id = 0"; $prepared3 = $pdo->prepare($query1); $prepared3->execute(); $result2 = $prepared3->fetchAll(PDO::FETCH_ASSOC); $pic_row = $prepared3->rowCount(); error_log($query1); ?> <!--<div class="col-sm-4 col-4">--> <!-- <div class="product-box ratio_square">--> <!-- <h5 style=" padding-left: 95px;"><i onClick="showAlert('< ?=$pic['id']?>')" class="iconly-Delete icli"></i></h5>--> <!-- <div onClick="modalImg('<?=$pic['image']?>')" class="img-part image-container">--> <!-- < ?php if($pic['verification_status']==1){ ?>--> <!-- <img src="images/gif/verified.gif" style="width: 30px;border-radius: 50%; position: relative; bottom: 110px; left: 1px;" />--> <!-- < ?php } else{ ?>--> <!-- <img src="images/gif/pending.gif" style="width: 20px;border-radius: 50%; position: relative; bottom: 110px; left: 1px;" />--> <!-- < ?php } ?>--> <!-- <img src="" alt="" class="img-fluid bg-img image" />--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!-- category start --> <div class="row" > <div class="col-12" > <img id='product_profile' style="width: 100%; object-fit: containover; object-fit: cover; height: 300px;" src="<?=$result2[0]['image']?>" class="img-fluid" alt="" /> </div> </div> <section class="category-section top-space"> <ul class="category-slide"> <?php foreach ($result2 as $pic) { ?> <li> <a class="category-box"> <img id='<?=$pic['id']?>' onClick=pic_change('<?=$pic['id']?>','<?=$pic['image']?>') style="height: 90px;object-fit: cover;" src="<?=$pic['image']?>" class="img-fluid" alt="" /> </a> </li> <?php } ?> <li> <button type="button" class="btn btn-primary btn-sm" data-bs-toggle="modal" data-bs-target="#all_images"> All Images</button> </li> </ul> </section> <!-- Button trigger modal --> <!-- Modal --> <div class="divider t-12 b-20"></div> <!-- category end -->