D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
Filename :
tag.php
back
Copy
<?php include 'dash/config.php'; $category = $_GET['url']; $cat_cut = str_replace('-',' ',$category); $de = mysqli_query($conn,"SELECT * FROM `category` where category='$category'"); $derow = mysqli_fetch_assoc($de); $title = $derow['title']; $desc = $derow['desciption']; $keyword = $derow['desciption']; ?> <!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title><?php echo $title ?></title> <meta name="description" content="<?php echo $desc ?>"> <meta name="keywords" content="<?php echo $keyword ?>"> <meta name="robots" content="follow,index"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- favicon --> <link rel="shortcut icon" type="image/x-icon" href="/img/logo/favicon.ico"> <!-- all css here --> <!-- bootstrap v3.3.6 css --> <link rel="stylesheet" href="/css/bootstrap.min.css"> <!-- owl.carousel css --> <link rel="stylesheet" href="/css/owl.carousel.css"> <link rel="stylesheet" href="/css/owl.transitions.css"> <!-- meanmenu css --> <link rel="stylesheet" href="/css/meanmenu.min.css"> <!-- font-awesome css --> <link rel="stylesheet" href="/css/font-awesome.min.css"> <link rel="stylesheet" href="/css/icon.css"> <link rel="stylesheet" href="/css/flaticon.css"> <!-- magnific css --> <link rel="stylesheet" href="/css/magnific.min.css"> <!-- venobox css --> <link rel="stylesheet" href="/css/venobox.css"> <!-- style css --> <link rel="stylesheet" href="/style.css"> <!-- responsive css --> <link rel="stylesheet" href="/css/responsive.css"> <!-- modernizr css --> <script src="/js/vendor/modernizr-2.8.3.min.js"></script> </head> <body> <?php include 'inner-header.php'; ?> <!-- header end --> <!-- Start breadcumb Area --> <div class="page-area"> <div class="breadcumb-overlay"></div> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="breadcrumb text-center"> <div class="section-headline white-headline"> <h1 class="text-white text-capitalize"><?php echo $cat_cut ?></h1> </div> <ul class="breadcrumb-bg"> <li class="home-bread">Home</li> <li>Category</li> </ul> </div> </div> </div> </div> </div> <!-- End breadcumb Area --> <!--Blog Area Start--> <div class="blog-page-area page-padding"> <div class="container"> <div class="row"> <div class="blog-sidebar row-two"> <div class="col-md-8 col-sm-8 col-xs-12"> <div class="row"> <div class="blog-left-content"> <?php $sql = "SELECT * FROM blog WHERE tag LIKE '%$category%' order by id desc"; $result = mysqli_query($conn,$sql); while($row = mysqli_fetch_assoc($result)){ ?> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="single-blog"> <div class="blog-image"> <a class="image-scale" href="/blog/<?php echo $row['blog_url'] ?>"> <img class="multi_blog_img" src="/image/<?php echo $row['image'] ?>" alt="<?php echo $row['alt'] ?>"> </a> </div> <div class="blog-content"> <div class="blog-meta"> <span class="date-type"> <?php echo $row['date_creation']; ?> </span> </div> <a href="/blog/<?php echo $row['category'] ?>/<?php echo $row['blog_url'] ?>"> <?php $post = $row['heading']; ?> <h4><?php echo $post ?></h4> </a> <?php $character = 600; $blog_content = substr($row['blog_content'],0,$character); ?> <p><?php echo $blog_content ?></p> <a class="read-more" href="/blog/<?php echo $row['category'] ?>/<?php echo $row['blog_url'] ?>"> Read more</a> </div> </div> </div> <?php } ?> <!-- End single blog --> <!-- End single blog --> </div> </div> </div> <!-- End single blog --> <!-- Start Right Sidebar blog --> <?php include 'blogleftmenu.php'; ?> <!-- End Right Sidebar --> </div> </div> <!-- End row --> </div> </div> <!--End of Blog Area--> <!--Start Footer Area--> <?php include 'footer.php'; ?> <!-- all js here --> <!-- jquery latest version --> <script src="../js/vendor/jquery-1.12.4.min.js"></script> <!-- bootstrap js --> <script src="../js/bootstrap.min.js"></script> <!-- owl.carousel js --> <script src="../js/owl.carousel.min.js"></script> <!-- Counter js --> <script src="../js/jquery.counterup.min.js"></script> <!-- waypoint js --> <script src="../js/waypoints.js"></script> <!-- isotope js --> <script src="../js/isotope.pkgd.min.js"></script> <!-- stellar js --> <script src="../js/jquery.stellar.min.js"></script> <!-- magnific js --> <script src="../js/magnific.min.js"></script> <!-- venobox js --> <script src="../js/venobox.min.js"></script> <!-- meanmenu js --> <script src="../js/jquery.meanmenu.js"></script> <!-- Form validator js --> <script src="../js/form-validator.min.js"></script> <!-- plugins js --> <script src="../js/plugins.js"></script> <!-- main js --> <script src="../js/main.js"></script> </body> </html>