]nbmbmbnmbnmbytutytyutyutyutyumbnmjhkhjkhjkhjkhjkhjknnnnnnnn
bnmbnmbnmnbbtyutyutyutyutyutyu,nm,nmmnmm,bbbbbn
/
home
/
aaharway
/
domains
/
awards.aaharways.com
/
public_html
/
adm
/
Upload FileeE
HOME
<?php include_once('header.php'); ?> <div id="layoutSidenav_content"> <main> <div class="container-fluid"> <h1 class="mt-4">Gallery List</h1> <ol class="breadcrumb mb-4"> <li class="breadcrumb-item"><a href="index.php">Dashboard</a></li> <li class="breadcrumb-item active">Gallery</li> </ol> <?php if(isset($_GET['success_update'])=='success_update') { ?> <div class="alert alert-success alert-dismissible"> <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> <p>Successfully Updated Gallery..!</p> </div> <?php } ?> <?php if(isset($_GET['success_delete'])=='success_delete') { ?> <div class="alert alert-success alert-dismissible"> <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> <p>Successfully Deleted Gallery..!</p> </div> <?php } ?> <div class="card mb-4"> <div class="card-header"><i class="fas fa-table mr-1"></i>Gallery List<a href="add_gallery.php" class="btn btn-warning" style="float: right;"><i class="fa fa-plus"></i>Add Gallery</a></div> <div class="card-body"> <div class="table-responsive"> <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>Sr No</th> <!--<th>Name</th>--> <th>Image</th> <th>Action</th> </tr> </thead> <tbody> <?php $count=1; $fetch=mysqli_query($con,"SELECT * from tbl_gallery where status='1' order by gallery_id asc"); while($res=mysqli_fetch_array($fetch)) { ?> <tr> <td><?=$count++;?></td> <!--<td><?=$res['name'];?></td>--> <td><img style="width:80px;" src="uploads/testimonials/<?=$res['image'];?>"></td> <td> <div style="display:flex"> <a title="Edit" href="javascript:void(0)" onclick="warning('add_gallery.php?id=<?=base64_encode($res['gallery_id']);?>','Do You Want to Update ?')" class="btn btn-sm btn-success"><i class="fa fa-edit"></i></a> <a title="Delete" href="javascript:void(0)" onclick="warning('controller.php?gallery_del=<?=base64_encode($res['gallery_id']);?>','Do You Want to delete ?')" class="btn btn-sm btn-danger"><i class="fas fa-trash-alt"></i></i></a> </div> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </main> <?php include_once('footer.php'); ?>