ok

Mini Shell

Direktori : /home/importfo/public_html/drkajalskinclinic.com/
Upload File :
Current File : /home/importfo/public_html/drkajalskinclinic.com/blog.php

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

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

<head>
	<?php include('top.php'); ?>
</head>

<body class="shop-page">	
	
<!--header-->
<?php include('header.php')?>
	<!--//header-->
	<div class="page-content">
		<!--section-->
		<div class="section mt-0">
			<div class="breadcrumbs-wrap">
				<div class="container">
					<div class="breadcrumbs">
						<a href="index.php">Home</a>
						<span>Blog Posts</span>
					</div>
				</div>
			</div>
		</div>
		<!--//section-->
		<!--section-->
		<div class="section page-content-first">
			<div class="container">
				<div class="text-center mb-2  mb-md-3 mb-lg-4">
					<h1>Blog / Update</h1>
					<div class="h-decor"></div>
				</div>
			</div>
			<div class="container">
				<div class="blog-isotope">
					<?php
                            $sql="SELECT * from blog ORDER BY id DESC";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                             ?>
					<div class="blog-post">
						
						<div class="post-image">
							<a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><img src="admin/upload/<?php echo $row['image'];?>" alt=""></a>
						</div>
						<div class="blog-post-info">
							<!-- <div class="post-date"><span><?php echo $row['post_date']; ?></div> -->
							<div>
								<h2 class="post-title"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title'];?></a></h2>
								<div class="post-meta">
									<div class="post-meta-author"> <a ><i><?php echo $row['post_date']; ?></i></a></div>
									<div class="post-meta-author">by <a ><i><?php echo $row['post_by']; ?></i></a></div>
									
								</div>
							</div>
						</div>
						
						<div class="mt-2"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>" class="btn btn-sm btn-hover-fill"><i class="icon-right-arrow"></i><span>Read more</span><i class="icon-right-arrow"></i></a></div>
					</div>
					<?php } ?>
				</div>
				<div class="clearfix"></div>
				
			</div>
		</div>
	</div>
	<!--//section-->
	<!--footer-->
	<?php include('footer.php'); ?>
	<!--//footer-->

	<!-- Vendors -->
	<script src="vendor/jquery/jquery-3.2.1.min.js"></script>
	<script src="vendor/jquery-migrate/jquery-migrate-3.0.1.min.js"></script>
	<script src="vendor/cookie/jquery.cookie.js"></script>
	<script src="vendor/bootstrap-datetimepicker/moment.js"></script>
	<script src="vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
	<script src="vendor/popper/popper.min.js"></script>
	<script src="vendor/bootstrap/bootstrap.min.js"></script>
	<script src="vendor/waypoints/jquery.waypoints.min.js"></script>
	<script src="vendor/waypoints/sticky.min.js"></script>
	<script src="vendor/imagesloaded/imagesloaded.pkgd.min.js"></script>
	<script src="vendor/slick/slick.min.js"></script>
	<script src="vendor/scroll-with-ease/jquery.scroll-with-ease.min.js"></script>
	<script src="vendor/countTo/jquery.countTo.js"></script>
	<script src="vendor/form-validation/jquery.form.js"></script>
	<script src="vendor/form-validation/jquery.validate.min.js"></script>
	<script src="vendor/isotope/isotope.pkgd.min.js"></script>
	<!-- Custom Scripts -->
	<script src="js/app.js"></script>
    <script src="color/color.js"></script>

	<script src="js/app-shop.js"></script>
	<script src="form/forms.js"></script>
	
</body>

</html>

Zerion Mini Shell 1.0