Şuanki Dizin: /home/wwwdreamtechnolo/public_html/balajimall.com/admin/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/balajimall.com/admin/view-product-images.php |
<?php require_once("../lib/functions.php"); $db = new login_function(); $flag = 0; $profile = ""; $image_error = ""; $flag = 0; $success_flag = 0; if(!isset($_SESSION['current_login_admin'])) { header("Location:/admin/index.php"); } if(isset($_SESSION['current_login_admin'])) { $email = $_SESSION['current_login_admin']; } if(isset($_GET['up_id'])) { $up_id = $_GET['up_id']; $_SESSION['current_update_id'] = $up_id; } else if(isset($_SESSION['current_update_id'])) { $up_id = $_SESSION['current_update_id']; } ?> <?php require_once('header.php'); ?> <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Product Image</h1> <?php if($success_flag == 1) { ?> <div class="alert alert-success"> Product Image Successfully. </div> <?php } ?> </div> </div> <div class="row"> <div class="col-lg-12"> <a href="product-report.php"><-- Back To Product Report</a><br /><br /> <div class="panel panel-default"> <div class="panel-heading"> Product Image </div> <div class="panel-body"> <div class="row"> <div class="col-lg-12"> <?php $report_details = $db->get_all_product_image_by_id($up_id); if(!empty($report_details)) { $counter =0; foreach($report_details as $record) { $id = $report_details[$counter][0]; $images = $report_details[$counter][1]; ?> <div style="display:inline-table"> <img src="../product/<?php echo $images; ?>" style="height:200px;width:200px;border:1px solid #666;margin:5px;padding:5px;"><br /> </div> <?php $counter ++; } }else { ?> No Images Found... <?php } ?> </div> </div> </div> </div> </div> </div> </div> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4