Server IP : 103.191.208.50 / Your IP : 216.73.216.53 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, popen, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/celkcksm/agnibinase.org/backup-222025/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("include/header.php"); $ress = mysqli_query($con,"select * from news order by id desc") ?> <!-- bradcam_area --> <div class="bradcam_area bradcam_bg_1"> <div class="container"> <div class="row"> <div class="col-xl-12"> <div class="bradcam_text text-center"> <h3>View All Notice</h3> </div> </div> </div> </div> </div> <!--/ bradcam_area --> <div class="about_mission"> <div class="container"> <div class="row align-items-center"> <div class="col-xl-2 col-md-2"> </div> <div class="col-xl-8 col-md-8"> <div class="about_thumb"> <div class="col-md-8"> <div class="responsive"> <table class="table table-bordered table-hover"> <thead> <tr> <th>Sl No.</th> <th>Date</th> <th>Title</th> <th>Action</th> </tr> </thead> <tbody> <?php $sl = 1; while($Row=mysqli_fetch_array($ress)){ ?> <tr> <td> <?php echo $sl; ?> </td> <td> <?php echo $Row['date']; ?> </td> <td> <?php echo $Row['subject']; ?> </td> <td> <a href="#" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#myModal_<?php echo $sl; ?>" data-backdrop="static" data-keyboard="false" style="color:white;">View</a> <div id="myModal_<?php echo $sl; ?>" class="modal fade" role="dialog"> <div class="modal-dialog modal_lg"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title"><?php echo $Row['subject']; ?></h4> </div> <div class="modal-body"> <?php echo $Row['content']; ?> <?php if($Row['attachment'] !='' || $Row['attachment'] != null){ ?> <hr> <a href="admin/images/<?php echo $Row['attachment']; ?>" target="_blank"><button class="btn btn-primary btn-lg">Download Attachment</button></a> <?php } ?> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </td> </tr> <?php $sl++ ; } ?> </tbody> </table> </div> </div> </div> </div> </div> <div class="col-xl-2 col-md-2"> </div> </div> </div> <?php include("include/footer.php");?>