HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/Backup/sbc_back/homedir/public_html/view-all.php
<?php 
	include 'inc/header.php';
	include 'inc/slider.php';
?>
<div class="container">
	<div class="row">
		<div class="col-md-12">
			<div class="sub_heading">All News</div>
			<div class="col-lg-12">
				<ul>
					<?php
						$sql = mysqli_query($connection->myconn, "SELECT * FROM news WHERE status=1 ORDER BY created_on DESC");
						while($rows = mysqli_fetch_array($sql))
						{
					?>
					<li><a href="uploads/pdf/<?php echo $rows['image']; ?>" target="_blank"> <?php echo $rows['name'];?></a></li>
					<?php 
						}
					?>
				</ul>
			</div>
		</div>
	</div>
</div>
<br>
<?php include 'inc/footer.php';?>