D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
kavyaeventz.in
/
Filename :
blog.php
back
Copy
<?php include("include/header.php"); ?> <?php include("admin/connection.php"); ?> <style> .txt { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; height: 46px; border: none; /* color: #fff!important; */ -webkit-line-clamp: 2; -webkit-box-orient: vertical; } </style> <!--Page Title--> <section class="page-title" data-bg-img="images/background/page-title-1.jpg"> <div class="auto-container"> <h1>From Our Blog</h1> <ul class="bread-crumb"> <li><a href="index.php">Home</a></li> <li><a href="#">Blog</a></li> </ul> </div> <!--Go Down Button--> <div class="go-down"> <div class="curve scroll-to-target" data-target="#sidebar-section"><span class="icon fa fa-arrow-down"></span></div> </div> </section> <!--Sidebar Section--> <!--Sidebar Section--> <div class="sidebar-section no-bg" id="sidebar-section"> <div class="auto-container"> <div class="row clearfix"> <!--Content Side--> <div class="col-md-9 col-sm-8 col-xs-12 content-side"> <!--Services Section--> <section class="blog-section style-two"> <?php error_reporting(0); $fetch2 = mysqli_query($conn, "SELECT * FROM `blog`"); while ($row=mysqli_fetch_array($fetch2)) { ?> <div class="row clearfix"> <!--Post--> <div class="col-lg-4 col-md-6 col-sm-6 col-xs-12 blog-post wow fadeInRight" data-wow-delay="600ms" data-wow-duration="1500ms"> <article class="inner-box p-xs-20"> <div class="image"><a href="blog-details.php?blog_id=<?php echo $row['blog_id']; ?>""><img src="admin/images/products/<?php echo $row['image']; ?>"></a></div> <div class="post-title"><h2><a href="blog-details.php?blog_id=<?php echo $row['blog_id']; ?>""><?php echo $row['blog_title']; ?></a></h2></div> <div class="post-info"><span class="fa fa-user"></span> <?php echo $row['blogger_name']; ?></a>   <span class="fa fa-clock-o"></span> <?php echo $row['date']; ?></div> <div class="post-desc"><p class="txt" <?php echo $row['blog_desc']; ?></p></div> <div class="more-link"><a class="theme-btn read-more" href="blog-details.php?blog_id=<?php echo $row['blog_id']; ?>">READ MORE</a></div> </article> </div> <?php }?> </div> </section> </div> <!--Sidebar--> <div class="col-md-3 col-sm-4 col-xs-12"> <aside class="sidebar p-xs-15"> <!-- Recent Posts --> <div class="widget recent-posts wow fadeInUp" data-wow-delay="0ms" data-wow-duration="1500ms"> <div class="sidebar-title"><h3>Recent Posts</h3></div> <?php $fetch3 = mysqli_query($conn, "SELECT * FROM `blog` order by blog_id desc limit 3"); while ($row1=mysqli_fetch_array($fetch3)) { ?> <div class="post"> <div class="post-thumb"><img src="admin/images/products/<?php echo $row1['image']; ?>"></div> <h4><?php echo $row1['blog_title']; ?></h4> </div> <?php }?> </div> <!--Categories--> <!--<div class="widget links-widget">--> <!-- <h3>CATEGORIES</h3>--> <!-- <ul>--> <!-- <li><a href="#">Logistics Management</a></li>--> <!-- <li><a href="#">Cargo Transport</a></li>--> <!-- <li><a href="#">Chain Supply Management</a></li>--> <!-- <li><a href="#">Warehouse</a></li>--> <!-- <li><a href="#">Distribution Network</a></li>--> <!-- </ul>--> <!--</div>--> <!--Reviews Widget--> <!--<div class="widget review-widget">--> <!-- <h3>Testimonials</h3>--> <!--Testimonials Slider--> <!-- <div class="testimonial-slider">--> <!-- <div class="slider">--> <!-- <article class="slide-item">--> <!-- <div class="slide-content">--> <!-- <p>“Pellentesque a massa risus. Cras convallis finibus porta. Integer in ligula leo. Cras quis consequat nisl, at malesuada sapien. Mauris ultricies nisi eget velit bibendum, sit amet euismod mi gravida.”</p>--> <!-- </div>--> <!-- <div class="slide-info">--> <!-- <figure class="author-thumb img-circle"><a href="#"><img class="img-circle" src="images/resource/author-thumb-2.jpg" alt=""></a></figure>--> <!-- <div class="author-info">--> <!-- <h5>William Perez</h5>--> <!-- <p>Melbourne</p>--> <!-- </div>--> <!-- </div>--> <!-- </article>--> <!-- <article class="slide-item">--> <!-- <div class="slide-content">--> <!-- <p>“Pellentesque a massa risus. Cras convallis finibus porta. Integer in ligula leo. Cras quis consequat nisl, at malesuada sapien. Mauris, sit amet euismod mi gravida.”</p>--> <!-- </div>--> <!-- <div class="slide-info">--> <!-- <figure class="author-thumb img-circle"><a href="#"><img class="img-circle" src="images/resource/author-thumb-3.jpg" alt=""></a></figure>--> <!-- <div class="author-info">--> <!-- <h5>Sara Millin</h5>--> <!-- <p>Melbourne</p>--> <!-- </div>--> <!-- </div>--> <!-- </article>--> <!-- <article class="slide-item">--> <!-- <div class="slide-content">--> <!-- <p>“Pellentesque a massa risus. Cras convallis finibus porta. Integer in ligula leo. Cras quis consequat nisl, at malesuada sapien. Mauris ultricies nisi eget velit bibendum, sit gravida.”</p>--> <!-- </div>--> <!-- <div class="slide-info">--> <!-- <figure class="author-thumb img-circle"><a href="#"><img class="img-circle" src="images/resource/author-thumb-2.jpg" alt=""></a></figure>--> <!-- <div class="author-info">--> <!-- <h5>William Perez</h5>--> <!-- <p>Melbourne</p>--> <!-- </div>--> <!-- </div>--> <!-- </article>--> <!-- <article class="slide-item">--> <!-- <div class="slide-content">--> <!-- <p>“Pellentesque a massa risus. Cras convallis finibus porta. Integer in ligula leo. velit bibendum, sit amet euismod mi gravida. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.”</p>--> <!-- </div>--> <!-- <div class="slide-info">--> <!-- <figure class="author-thumb img-circle"><a href="#"><img class="img-circle" src="images/resource/author-thumb-3.jpg" alt=""></a></figure>--> <!-- <div class="author-info">--> <!-- <h5>Sara Millin</h5>--> <!-- <p>Melbourne</p>--> <!-- </div>--> <!-- </div>--> <!-- </article>--> <!-- </div>--> <!-- </div>--> <!--</div>--> </aside> </div> </div> </div> </div> <?php include("include/footer.php"); ?>