<?php
include_once("include/main.inc.php");
$hover=='blog';
@extract($_GET);
@extract($_POST);
@extract($_REQUEST);
if (preg_match('webpulse\.co$/', $_SERVER['HTTP_HOST'], $match)) {
	$match1=$match[1];
	$vanity_url='http://'.$_SERVER['HTTP_HOST'];
}
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$mm=$ee[4];
$ss=explode('.',$mm);
$cc=$ss[0];
$cat=str_replace("-", " ", $cc);
$cats=ucfirst($cat);
$catss=ucwords($cat);
$blog_name = ucwords(str_replace('-', ' ', $blog_name));
$sql_latest=mysqli_query($GLOBALS['dbconn'],"select catImage,catName,blogDname,pageTitle,pageKeywords,pageDescription,catDesc,catDesc1,banner1,blog_written,blogDate,catID from blog_tbl where catName='$blog_name'");
$res_latest=mysqli_fetch_array($sql_latest);
$blogdisplay=$res_latest['blogDname'];
$blog_ID=$res_latest['catID'];
$page_metatitle=$res_latest['pageTitle']!=''?$res_latest['pageTitle']:$res_latest['blogDname'];
$page_metakey=$res_latest['pageKeywords']!=''?$res_latest['pageKeywords']:$res_latest['blogDname'];
$page_metadesc=$res_latest['pageDescription']!=''?$res_latest['pageDescription']:$res_latest['blogDname'];
$blog_desc=str_ireplace('{companyName}',$admin_res['companyName'],$res_latest['catDesc1']);
$date = new DateTime($res_latest['blogDate']);
$day = $date->format('d');
$month = $date->format('M');
$year = $date->format('Y');
$blog_query1 = mysqli_query($GLOBALS['dbconn'], "select catImage,catName,blogDname,catDesc,blog_written from blog_tbl");
if(mysqli_num_rows($sql_latest)>0){

}else{
     header("Location: " . site_url);
    exit;
}

?>
<!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-->

        <div 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">

                        <div class="cat_title">
                            <?=$blogdisplay;?>
                        </div>



                    </div>

                </div>

            </div>

        </div>





        <!-- 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><a href="<?=site_url;?>/blog.htm" title="Blog">Blog</a></li>

                            <li class="active"><?=$blogdisplay;?></li>

                        </ul>

                    </div>

                </div>

            </div>

        </div>







        <section class="blog_page float-start py-5 w-100">

            <div class="container">

                <div class="row">

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

                        <div class="blog_left blog_details">

                            <h1 class="fs-3"><?=$blogdisplay;?></h1>

                            <ul>

                                <li><i><svg fill="#000000" height="16px" width="16px" version="1.1" id="Layer_1"
                                            xmlns="http://www.w3.org/2000/svg"
                                            xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512"
                                            enable-background="new 0 0 512 512" xml:space="preserve">

                                            <path d="M448,362.7l-117.3-21.3C320,320,320,310.7,320,298.7c10.7-10.7,32-21.3,32-32c10.7-32,10.7-53.3,10.7-53.3

	c5.5-8,21.3-21.3,21.3-42.7s-21.3-42.7-21.3-53.3C362.7,32,319.2,0,256,0c-60.5,0-106.7,32-106.7,117.3c0,10.7-21.3,32-21.3,53.3

	s15.2,35.4,21.3,42.7c0,0,0,21.3,10.7,53.3c0,10.7,21.3,21.3,32,32c0,10.7,0,21.3-10.7,42.7L64,362.7C21.3,373.3,0,448,0,512h512

	C512,448,490.7,373.3,448,362.7z" />

                                        </svg> </i> By: <?=$res_latest['blog_written'];?></li>

                                <!-- <li><i><svg fill="#000000" width="16px" height="16px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M266.815 537.708c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.77 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.775 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.77 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zM266.815 679.347c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.77 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.775 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.77 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zM266.815 820.988c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.77 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.775 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zm182.77 0c0 22.62-18.34 40.96-40.96 40.96s-40.96-18.34-40.96-40.96 18.34-40.96 40.96-40.96 40.96 18.34 40.96 40.96zM228.18 81.918v153.6c0 11.311 9.169 20.48 20.48 20.48s20.48-9.169 20.48-20.48v-153.6c0-11.311-9.169-20.48-20.48-20.48s-20.48 9.169-20.48 20.48zm528.09 0v153.6c0 11.311 9.169 20.48 20.48 20.48s20.48-9.169 20.48-20.48v-153.6c0-11.311-9.169-20.48-20.48-20.48s-20.48 9.169-20.48 20.48z"/><path d="M890.877 137.517c33.931 0 61.44 27.509 61.44 61.44v703.375c0 33.931-27.509 61.44-61.44 61.44h-757.76c-33.931 0-61.44-27.509-61.44-61.44V198.957c0-33.931 27.509-61.44 61.44-61.44h757.76zm-757.76 40.96c-11.309 0-20.48 9.171-20.48 20.48v703.375c0 11.309 9.171 20.48 20.48 20.48h757.76c11.309 0 20.48-9.171 20.48-20.48V198.957c0-11.309-9.171-20.48-20.48-20.48h-757.76z"/><path d="M575.03 338.288c0-33.93-27.51-61.44-61.44-61.44s-61.44 27.51-61.44 61.44c0 33.93 27.51 61.44 61.44 61.44s61.44-27.51 61.44-61.44zm40.96 0c0 56.551-45.849 102.4-102.4 102.4s-102.4-45.849-102.4-102.4c0-56.551 45.849-102.4 102.4-102.4s102.4 45.849 102.4 102.4z"/></svg> </i> April 08, 2019</li> -->

                            </ul>





                            <span class="st_facebook"></span>

                            <span class="st_twitter"></span>

                            <!-- <span class="st_googleplus"></span> -->

                            <span class="st_pinterest"></span>

                            <span class="st_linkedin"></span>

                            <span class="st_email"></span>

                            <span class="st_whatsapp"></span>

                            <script>
                            var switchTo5x = true;
                            </script>

                            <script id="st_insights_js"
                                src="http://w.sharethis.com/button/buttons.js?publisher=c753f626-1376-4cf4-9b90-03d3c1fcf65e&amp;product=widget">

                            </script>

                            <script>
                            stLight.options({

                                publisher: "c753f626-1376-4cf4-9b90-03d3c1fcf65e",

                                doNotHash: false,

                                doNotCopy: false,

                                hashAddressBar: false

                            });
                            </script>

                            <div class="blog_details1">

                                <div class="shadow rounded rounded-5">

                                    <img class="img-responsive"
                                        src="<?=getImage($res_latest['catImage'], 635, 500, $res_latest['catName'], "/uploaded-files/blog/images/"); ?>"
                                        alt="<?= $res_latest['blogDname'];?>" title="<?= $res_latest['blogDname'];?>">

                                </div>

                             <?php echo html_entity_decode($blog_desc);?> 




                                <div class="facebook_comment">

                                    <div id="fb-root" class=" fb_reset">

                                        <div style="position: absolute; top: -10000px; width: 0px; height: 0px;">

                                            <div></div>

                                        </div>

                                    </div>

                                    <script async="" defer="" crossorigin="anonymous"
                                        src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;version=v3.2">

                                    </script>



                                    <div class="fb-comments fb_iframe_widget fb_iframe_widget_fluid_desktop"
                                        data-href="https://www.facebook.com/webpulsesolution/"
                                        data-numposts="5"
                                         
                                        style="width: 100%;"><span
                                            style="vertical-align: top; width: 100%; height: 0px; overflow: hidden;">
                                            <iframe
                                                name="f8b9462740e9a5138" width="1000" height="100"
                                                data-testid="fb:comments Facebook Social Plugin"
                                                title="fb:comments Facebook Social Plugin"
                                                src="https://web.facebook.com/v3.2/plugins/comments.php?app_id=&amp;channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconnect%2Fxd_arbiter%2F%3Fversion%3D46%23cb%3Dfbf65b62e77455f6b%26domain%3Dwww.webpulse.net%26is_canvas%3Dfalse%26origin%3Dhttps%253A%252F%252Fwww.webpulse.net%252Ff5ae62b14d209c3e6%26relation%3Dparent.parent&amp;container_width=826&amp;height=100&amp;href=https%3A%2F%2Fwww.facebook.com%2Fwebpulsesolution%2F&amp;locale=en_GB&amp;numposts=5&amp;sdk=joey&amp;version=v3.2&amp;width=NaN"
                                                style="border: none; visibility: visible; width: 0px; height: 0px;"></iframe></span>

                                    </div>





                                </div>











                            </div>

                        </div>

                    </div>









                </div>

            </div>

        </section>



        <div class="news-section  bg-light ">

            <div class="container pb-4">

                <div class="products_heading wow fadeInDown animated" data-wow-delay=".1s">

                    <div class="title1">Recent Post</div>

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

                    <p> Discover insightful updates and industry trends in our latest blogs at Jeet Brothers. From

                        expert tips to innovative solutions in industrial tools and hardware, our blogs are crafted to

                        keep you informed and inspired. Stay connected with us for valuable knowledge, product updates,

                        and advancements shaping the industrial sector. </p>

                </div>

                <div class="row wow fadeInDown animated">
                    <?php $blog_query2 = mysqli_query($GLOBALS['dbconn'], "select catImage,catName,blogDname,catDesc,blog_written from blog_tbl where catID!='$blog_ID' order by catID Desc");

?>
                    <?php 
             while($blog_res=mysqli_fetch_assoc($blog_query2)){ 
                                
                                if($blog_res['catImage']!=''){
                                 $blog_img=  getImage($blog_res['catImage'], 415, 260, $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'];?>">

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

                            </div>

                            <div class="content-box">

                                <!-- <ul class="post-info">

                                    <li><i class=""> <svg width="15px" height="15px" viewBox="0 0 24 24" fill="none"
                                                xmlns="http://www.w3.org/2000/svg">

                                                <circle cx="12" cy="6" r="4" stroke="#000" stroke-width="1.5"></circle>

                                                <path
                                                    d="M19.9975 18C20 17.8358 20 17.669 20 17.5C20 15.0147 16.4183 13 12 13C7.58172 13 4 15.0147 4 17.5C4 19.9853 4 22 12 22C14.231 22 15.8398 21.8433 17 21.5634"
                                                    stroke="#1C274C" stroke-width="1.5" stroke-linecap="round"></path>

                                            </svg> </i>Admin</li>

                                </ul> -->

                                <div class="title"><a
                                        href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm"
                                        title="<?= $blog_res['blogDname'];?>"><?= $blog_res['blogDname'];?></a></div> <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>