<?php 

include_once("include/main.inc.php"); 
$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
$urlarray = explode('/', $actual_link);
array_splice($urlarray, 3, 0, 'amp');
$amp_url = implode("/", $urlarray);

$hover='blog';

$blog_query = mysqli_query($GLOBALS['dbconn'], "select catID,catImage,catName,blogDname,catDesc,blog_written,blogDate from blog_tbl ORDER BY catID DESC");

$page_metatitle="Latest Blog | Jeet Brothers Travels and Holiday - Travel Agent in Gorakhpur";

$page_metakey="Latest Blog | Jeet Brothers Travels and Holiday";

$page_metadesc="Latest Blog | Jeet Brothers Travels & Holidays is amongst the best Travel Agent in Gorakhpur, Offer Cheap Tour and Travel Packages in India, Nepal, and Muktinath. Enquiry Now and book tour packages today.";

?>

<!DOCTYPE html>

<html lang="en">



<head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">


    <?php include 'top_header.php';?>

</head>



<body>

    <div class="webpulse-main-wrapper">

        <!-- Header-->

        <?php include 'header.php';?>







        <!-- Heading Banner-->

        <section class="heading_banner" style="background-image: url(<?=site_url;?>/designer/images/banner-trip.jpg)">

            <div class="container position-relative">

                <div class="row">

                    <div class="col-lg-12 text-center">

                        <h1 class="cat_title">Our <strong>Blogs</strong></h1>



                    </div>

                </div>

            </div>

        </section>



        <!-- Breadcrumb-->

        <div class="inner_breadcrumb hidden-xs">

            <div class="container">

                <div class="row">

                    <div class="col-lg-12">

                        <ul class="breadcrumb">

                            <li><a href="<?=site_url;?>" title="Home">Home</a></li>

                            <li class="active"><?=$admin_res['companyName'];?></li>

                        </ul>

                    </div>

                </div>

            </div>

        </div>



        <div class="news-section mt-1  bg-white ">

            <div class="container pb-4">

                <div class="products_heading wow fadeInDown animated" data-wow-delay=".1s">
                    <div class="title1">Latest Blogs</div>
                    <div class="separator separatorss"><span><i></i></span></div>
                    <p> Stay informed with our latest blogs, where we share valuable travel tips, insights into tour
                        packages, and updates on car rentals and taxi services. From discovering hidden gems in Nepal to
                        the best vehicle choices for group travel, our blogs offer expert advice to enhance your travel
                        experience and make planning easier.</p>
                </div>
                <!-- <div class="products_heading wow fadeInDown animated mb-3" data-wow-delay=".1s">

                    <div class="title1">Latest Blogs</div>
                    

                    <div class="separator separatorss"><span><i></i></span></div>
                

                    <p><?=substr($blog_shortdesc,0,150);?></p>
                   
                </div> -->

                <div class="row wow fadeInDown animated">
                    <?php 

                            while($blog_res=mysqli_fetch_array($blog_query)){ 

                            if($blog_res['catImage']!=''){

                            $blog_img=  getImage($blog_res['catImage'], 416, 312, $blog_res['catName'], "/uploaded-files/blog/images/");

                            }else{

                                $blog_img= NO_IMG_URL;

                            }

                            $blog_shortdesc=str_ireplace('{companyName}',$admin_res['companyName'],$blog_res['catDesc']);

                            ?>
                    <div class="news-block col-lg-4 col-md-6 wow fadeInUp">

                        <div class="inner-box">


                            <div class="image-box">

                                <figure class="image overlay-anim"><a
                                        href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm"
                                        title="<?= $blog_res['blogDname'];?>" class="img-bx">

                                        <img src="<?=$blog_img;?>" alt="<?= $blog_res['blogDname'];?>"
                                            title="<?= $blog_res['blogDname'];?>" width="375" height="187"></a>
                                </figure>

                            </div>

                            <div class="content-box">

                                <h2 class="title"><a
                                        href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm"
                                        title="<?= $blog_res['blogDname'];?>"><?= $blog_res['blogDname'];?></a></h2> <a
                                    class="read-more"
                                    href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm"
                                    title="View More">View More <i class=""><svg fill="currentColor" width="20px"
                                            height="20px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">

                                            <path
                                                d="M17.707,17.707a1,1,0,0,1-1.414-1.414L19.586,13H2a1,1,0,0,1,0-2H19.586L16.293,7.707a1,1,0,0,1,1.414-1.414l5,5a1,1,0,0,1,0,1.414Z">

                                            </path>

                                        </svg></i></a>

                            </div>

                        </div>

                    </div>
                    <?php } ?>
                </div>


            </div>

        </div>

 


    <!-- Footer-->

    <?php include 'footer.php';?>

    </div>

    <?php include 'bottom_footer.php';?>

</body>



</html>