V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home9
/
aerosoft
/
www
/
dashboard
/
Viewing: gallery-manager.php
<?php $o10dc7a = 549;?><?php include "include/connection.php"; include "include/top-meta.php"; include "include/header.php"; include "include/left.php"; $sql = "SELECT * FROM gallery order by id desc"; $res = $db->query($sql); $arr = array(); while ($row = $res->fetch_assoc()) { $arr[] = $row; } ?> <!-- Main content --> <section class="content"> <div class="page-header"> <h2> Gallery Manager <a href="add-gallery.php" class="btn btn-sm btn-primary pull-right"><i class="fa fa-plus-sign"></i> Add New image</a></h2> </div> <table id="mytable" class="table table-bordered table-striped"> <thead> <tr> <th> Title </th> <th style="width:400px;"> Link </th> <th> Image </th> <th style="width:100px;">Action</th> </tr> </thead> <tbody> <?php if (is_array($arr) && count($arr) > 0) { foreach ($arr as $row) { ?> <tr> <td align="left"> <?php echo $row['title']; ?> </td> <td align="left"> <iframe width="100px" height="100px" src="https://www.youtube.com/embed/<?php echo $row['link']; ?>" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </td> <!--<td><?php //echo $row['description']; ?></td>--> <td> <img style="width:120px;" src="<?php echo 'gallery/'. $row['image']; ?>"> </td> <td align="center"> <div class="pull-right btn-group"> <!--<a href="edit_gallery.php?id=<?php echo $row['id'];?>" title="Edit" class="btn btn-sm btn-info"><i class="fa fa-pencil"></i> </a>--> <a href="delete.php?id=<?php echo $row['id'];?>&type=gallery" title="Delete" class="btn btn-danger btn-sm delete"><i class="fa fa-trash"></i> </a> </div> </td> </tr> <?php }} ?> </tbody> </table> <div class="pagination pagination-small"> </div> </section> <?php include "include/footer.php"; include "include/footer-meta.php"; ?>
Coded With 💗 by
HanzOFC