<?php 
include_once("include/main.inc.php"); 
$hover='blog';
$blog_query = mysqli_query($GLOBALS['dbconn'], "select catID,blog_written,blogDate,catImage,catName,blogDname,catDesc from blog_tbl Where status = 'Y' ORDER BY catID DESC");
$page_metatitle="Blogs | Tensile Car Parking Structure Manufacturers in Lahore, Pakistan - Syed Engineering";

$page_metakey="Tensile Car Parking Structure, Tensile Car Parking Structure Manufacturers, Tensile Car Parking Structure Manufacturers in Lahore, Tensile Car Parking Structure Manufacturers in Pakistan";

$page_metadesc="Syed Engineering leading Tensile Car Parking Structure Manufacturers in Lahore, Pakistan, Since 2016. Committed to quality, trust, and excellence across every step of your journey with us. Get latest factory price for Tensile Car Parking Structure. ✓Fast Delivery ✓Good Price";
?>

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

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
   
    <?php include "app_top.php"; ?>
</head>

<body>
    <?php include 'app_header.php'; ?>

    <section class="heading_banner" style="background-image: url(<?=site_url;?>/designer/images/about-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">Our Blogs - <?=$admin_res['companyName'];?></h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </section>

    <div class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url;?>" title="Home">Home</a></li>
                        <li class="active">Our Blogs</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <section class="blog_page">
        <div class="container">
            <div class="row">
                <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-9 col-sm-9 col-12">
                    <div class="blog_left">
                        <h2 class="title_h2">Our Blogs</h2>
                        <div class="clearfix"></div>
 <p class="w-100 mx-auto text-start pt-0 d-flow-root">
                   This blog section is built to provide expert knowledge, industry news, and innovative ideas that matter. From sustainable solutions to advanced construction techniques, our articles aim to guide you through every stage of your project. Expand your understanding and stay ahead with content curated by professionals.
    </p>
   
                        <div class="row">
                             <?php
                                while ($blog_res = mysqli_fetch_assoc($blog_query)) {
                                    if ($blog_res['catImage'] != '') {
                                        $blog_img =  getImage($blog_res['catImage'], 615, 475, $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="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
                                
                                    <div class="blog-item">
                                        <div class="blog__img">
                                            <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']; ?>">
                                            </a>
                                        </div>
                                        <div class="blog__content">
                                            <div class="blog__meta">
                                                <!-- <span class="blog__meta-date"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                        <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z" />
                                                        <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z" />
                                                    </svg> Jul 04, 2025</span> -->
                                                <span class="blog__meta-cat"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                        <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
                                                    </svg><?= $blog_res['blog_written'] ?></span>

                                            </div>
                                            <h3 class="blog__title"><a href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm" title="<?= $blog_res['blogDname'];?>"><?= $blog_res['blogDname'];?></a></h3>
                                            <p class="blog__desc"><?= html_entity_decode(substr($blog_shortdesc, 0, 200)); ?>...
                                            </p>
                                            <a href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm" title="Read More" class="read_more_btn">Read More</a>
                                        </div>
                                    </div>
                                </div>
                            <?php } ?>


                        </div>
                    </div>                    
                </div>

                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12">
                    
                    <div class="left_sidebar">
                        <div class="left_title1">Popular Post</div>
                            <?php 
                                        $blog_reltd = mysqli_query($GLOBALS['dbconn'], "SELECT catImage, catName, blogDname, catDesc, blog_written, blogDate FROM blog_tbl WHERE status !='D' AND catID != '$blog_ID' order by catID DESC");
                                        while ($blog_res = mysqli_fetch_array($blog_reltd)) {
                                            $blog_img = ($blog_res['catImage'] != '') 
                                                        ? getImage($blog_res['catImage'], 700, 500, $blog_res['catName'], "/uploaded-files/blog/images/") 
                                                        : NO_IMG_URL;

                                            $blog_shortdesc = str_ireplace('{companyName}', $admin_res['companyName'], $blog_res['catDesc']);
                                        ?>
                                    <div class="right_news">
                                        <a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?= $blog_res['blogDname']; ?>">
                                            <div class="image">
                                                <img src="<?= $blog_img; ?>" 
                                                            alt="<?= $blog_res['blogDname']; ?>" 
                                                title="<?= $blog_res['blogDname']; ?>">
                                                            </div>
                                                        </a>
                                                        <div class="title_h4"><a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" 
                                                title="<?= $blog_res['blogDname']; ?>"><?= $blog_res['blogDname']; ?></a></div>
                                                    </div>
                            <?php } ?>
                              </div>

                </div>
            </div>
        </div>
    </section>

    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>