Server IP : 162.0.215.10 / Your IP : 3.149.239.180 Web Server : LiteSpeed System : Linux premium181.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : alfhgysd ( 724) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/alfhgysd/blluelynxx.online/controlPanel/ |
Upload File : |
<?php include "master.php"; ?> <div class="row"> <div class="col-sm-12"> <div class="card-box table-responsive"> <h4 class="header-title m-t-0 m-b-30">الصور في الفوتر </h4> <a href="add_image_footer.php" class="btn btn-info">اضافة جديد</a> <div> <a class="btn btn-info" href="hidden_links.php">الرجوع</a> </div> <table id="datatable" class="table table-striped table-bordered" style="text-align: center;"> <thead> <tr> <th style="text-align: center;">#</th> <th style="text-align: center;">الصورة</th> <th style="text-align: center;">الإجراء</th> </tr> </thead> <tbody> <?php $db = new Database(); $query = "SELECT * FROM `footer`"; $result = $db->dbQuery($query); if($db->dbNumRows( $result)){ $rows = $db->dbFetchResult($result); foreach($rows as $row){ ?> <tr> <th scope="row"> <?= $row[0]; ?></th> <td> <img width="80" height="80" src="../uploads/<?= $row['image']; ?>"></td> <td> <a href="edit_image_footer.php?id=<?= $row[0] ?>"><i class="fa fa-pencil-square-o"></i></a> | <a href="delete_footer.php?id=<?= $row[0] ?>" onclick="return confirm('هل انت متأكد !!');"><i class="fa fa-trash-o"></i></a> </td> </tr> <?php } } ?> </tbody> </table> </div> </div><!-- end col --> </div> <!-- end row --> <?php include "footer.php"; ?>