<?php include_once("include/main.inc.php");
$hover="home";
$about_page= mysqli_query($GLOBALS['dbconn'],"select * from static_pages where pageID='2'");
$about_res= mysqli_fetch_array($about_page);
$homepage = mysqli_query($GLOBALS['dbconn'], "select * from static_pages where pageID='1' and status='Y'");
$home_res = mysqli_fetch_array($homepage);
$page_metatitle = $home_res['page_metatitle'];
$page_metakey = $home_res['page_keyword'];
$page_metadesc = $home_res['page_metadesc'];

$hover='home';

$blog = mysqli_query($GLOBALS['dbconn'], "select * from blog_tbl  limit 0,2");

?>
<!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 if($page_metatitle!=''){

    ?>
    <title><?= $page_metatitle;?></title>
    <meta name="description" content="<?= $page_metadesc;?>" >
    <meta name="keywords" content="<?= $page_metakey;?>" >
    
    <?php } else {?>
        <title><?=$admin_res['companyName'];?> - Home</title>
        <meta name="description" content="<?=$admin_res['companyName'];?>" >
    <meta name="keywords" content="<?=$admin_res['companyName'];?>" >
    
    <?php } ?>
    
    <?php include "app_top.php";?>
</head>

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

    <div class="home_slider">
        <div id="slider" class="owl-carousel">
        <?php
          $sql_banner = mysqli_query($GLOBALS['dbconn'], "Select personName,bannerImage from banner_tbl where status='Y' order by bannerorder Asc");
          while ($res_banner = mysqli_fetch_array($sql_banner)) {
            ?>
            <div class="slide">
                <img src="<?= getImage($res_banner['bannerImage'], 1920, 800, $res_banner['personName'], "/uploaded-files/banner-image/"); ?>" alt="<?=$res_banner['personName'];?> Manufacturers in Punjab" title="<?=$res_banner['personName'];?> Manufacturers in Punjab">
            </div>
            <?php } ?>
            
        </div>
    </div>

<div class="wps_right wps_righttt">
        <div class="container">
  <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 wow fadeInDown" data-wow-delay=".1s">
                <h1>Dairy Equipments</h1>
                <p>Expertise in this field Since 2017</p>
              
            </div>
                            <div class="product_left_image">
                                <a href="javascript:void(0);">
                                    <div class="detail_image">
<img src="<?= getImage($about_res['pageImage'], 310, 354, $about_res['pageTitle'], "/uploaded-files/page-images/"); ?>" class="img-responsive img-1" alt="Dairy Equipments Manufacturers in Punjab" title="Dairy Equipments Manufacturers in Punjab">
                        <img src="<?= getImage($home_res['pageImage'], 286, 358, $home_res['pageTitle'], "/uploaded-files/page-images/"); ?>" class="img-responsive img-2" alt="Dairy Equipments Manufacturers in Punjab" title="Dairy Equipments Manufacturers in Punjab">
                                                       </div>
                                </a>
                            </div>
        <?=html_entity_decode($home_res['pageDesc']);?>
                       
                        <a href="<?=site_url;?>/about-us.htm" class="read_more01" title="Read More">Read More <i class="fa fa-arrow-right"></i></a>
                    
                                                   
                           

                        </div>  </div>
    <section class="home_services">
        <div class="container">
            <div class="sec-title centered wow fadeInDown" data-wow-delay=".4s">
                <div>Our <span>Hot Products</span></div>
                <div class="separator"></div>
                <p>Our customized solutions and turnkey solutions have bestowed us with the loyalty of numerous top notch clients which includes various multinational companies, government sectors, private sectors and co-operative sectors.</p>
            </div>
            <div class="clearfix"></div>

            <div class="row">
            <?php
                    
                    $home_cat=mysqli_query($GLOBALS['dbconn'],"select * from category_tbl where parentID!='0' and status='Y' order by catOrder limit 0,8");
                    while($home_cat_res=mysqli_fetch_assoc($home_cat)){
                        if($home_cat_res['catImage'] != ''){
                        $imglink=getImage($home_cat_res[catImage], 600, 600, $home_cat_res[catName],"/uploaded-files/category/images/");
                        }else{
                            $imglink = NO_IMG_URL;
                        }
                        ?>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-4 col-sm-12 col-xs-12 wow fadeInRight" data-wow-delay=".1s">
                    <div class="single-service-style-one">
                        <div class="image-block">
                            <img src="<?= $imglink;?>" alt="<?=$home_cat_res['displayName'];?> in Punjab" title="<?=$home_cat_res['displayName'];?> in Punjab">
                            <div class="overlay-block"></div>
                        </div>
                        <div class="main-content">
                            <div class="icon-block">
                                <div class="inner-box">
                                    <i class="fa fa fa-thumbs-o-up"></i>
                                </div>
                            </div>
                            <div class="text-block">
                                <h4><a href="<?=site_url;?>/<?=getValidFileName($home_cat_res['catName']);?>.htm" title="<?=$home_cat_res['displayName'];?>"><?=$home_cat_res['displayName'];?></a></h4>
                            </div>
                        </div>
                        <div class="hover-content">
                            <p><?=html_entity_decode(substr($home_cat_res['catDesc'],0,100));?>...</p>
                            <a href="<?=site_url;?>/<?=getValidFileName($home_cat_res['catName']);?>.htm" class="read-more" title="<?=$home_cat_res['displayName'];?>">Read More
                                <i class="fa fa-long-arrow-right"></i></a>
                        </div>
                    </div>
                </div>
                <?php } ?>


              


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


    <section class="feature_section">
        <div class="container">
            <div class="row">
                <div class="section-title wow fadeInDown" data-wow-delay=".1s">
                    <h5>MilkMan Dairy Equipment</h5><br>
                    <h5>Why <span>Choose</span> Us ?</h5>
                    <p>We provide a variety of dairy equipment. Both small-scale and large-scale plants employ our goods.</p>
                </div>
            </div>
            <div class="row">
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInLeft" data-wow-delay=".2s">
                    <div class="feature-item">
                        <div class="icon-box">
                            <img src="<?=site_url;?>/designer/images/phone.png" alt="24/7 Availability" title="24/7 Availability">
                        </div>
                        <div class="content">
                            <h5>24/7 Availability</h5>
                            <p>In order to provide our customers with a hassle-free experience, our business is dedicated to being available at their service.</p>
                        </div>
                    </div>
                </div>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInUp" data-wow-delay=".3s">
                    <div class="feature-item">
                        <div class="icon-box">
                            <img src="<?=site_url;?>/designer/images/icon2.png" alt="Certified Mechanics" title="Certified Mechanics">
                        </div>
                        <div class="content">
                            <h5>Certified Mechanics</h5>
                            <p>Quality is never compromised. Multiple production phases of testing are used to guarantee items of top-notch quality.</p>
                        </div>
                    </div>
                </div>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInDown" data-wow-delay=".4s">
                    <div class="feature-item">
                        <div class="icon-box">
                            <img src="<?=site_url;?>/designer/images/icon.png" alt="No Hidden Cost" title="No Hidden Cost">
                        </div>
                        <div class="content">
                            <h5>No Hidden Cost</h5>
                            <p>We have efficiently considered building transparency with our customers with our no hidden cost policy.</p>
                        </div>
                    </div>
                </div>


                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInRight" data-wow-delay=".4s">
                    <div class="feature-item">
                        <div class="icon-box">
                            <img src="<?=site_url;?>/designer/images/hand.png" alt="Affordable Prices" title="Affordable Prices">
                        </div>
                        <div class="content">
                            <h5>Affordable Prices</h5>
                            <p>We consider quality control to be one of our top concerns. Our company's defining traits are cost-effective solutions</p>
                        </div>
                    </div>
                </div>

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


    <section class="home_theater">
        <div class="container">
            <div class="row">
                <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-12 col-12 wow fadeInLeft" data-wow-delay=".1s">
                    <div class="theater-left">
                        <div class="theater-box">
                            <div class="theater-text">
                                <h5>Want to know more <span>about us</span></h5>
                                <p>The goal of Milkman Dairy Equipment is to support the dairy sector by providing high-end equipment and tools.</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5  col-sm-12 col-12 wow fadeInRight" data-wow-delay=".2s">
                    <div class="theater-slider slider-for">
                        <div class="single-theater">
                            <div class="row">
                                <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 hotAboutt wow fadeInRight">
                                    <div class="hotProductBox">
                                        <img src="<?=site_url;?>/uploaded-files/category/images/thumbs/Cream-Separator-thumbs-398X398.jpg" alt="Cream Separator in Punjab" title="Cream Separator in Punjab">
                                    </div>
                                    <div class="hotProductTitle">
                                        <div>Cream Separator</div>
                                    </div>
                                </div>
                                
                                <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 hotAboutt wow fadeInRight">
                                    <div class="hotProductBox">
                                        <img src="<?=site_url;?>/uploaded-files/category/images/thumbs/Milking-Machine-thumbs-398X398.jpg" alt="Milking Machine in Punjab" title="Milking Machine in Punjab">
                                    </div>
                                    <div class="hotProductTitle">
                                        <div>Milking Machine</div>
                                    </div>
                                </div>
                                
                                <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 hotAboutt wow fadeInRight">
                                    <div class="hotProductBox">
                                        <img src="<?=site_url;?>/uploaded-files/category/images/thumbs/Dairy-Equipment-thumbs-398X398.jpg" alt="Dairy Equipment in Punjab" title="Dairy Equipment in Punjab">
                                    </div>
                                    <div class="hotProductTitle">
                                        <div>Dairy Equipment</div>
                                    </div>
                                </div>
                                
                                <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 hotAboutt wow fadeInRight">
                                    <div class="hotProductBox">
                                        <img src="<?=site_url;?>/uploaded-files/category/images/thumbs/Milk-Testing-Instrument-thumbs-398X398.jpg" alt="Milk Testing Instrument in Punjab" title="Milk Testing Instrument in Punjab">
                                    </div>
                                    <div class="hotProductTitle ">
                                        <div>Milk Testing Instrument</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>


    <!-- Home Featured-->
   


    <section class="news_section">
        <div class="container">
            <div class="sec-title centered wow fadeInUp" data-wow-delay=".1s">
                <div>Latest Blogs</div>
                <div class="separator"></div>
                <p>Being a prominent name in the photography industry allows us to offer unbeatable services. We make sure to create magic with our work and add life to the beautiful moments. </p>
            </div>

            <div class="row clearfix">
                <?php
            while($blog_res=mysqli_fetch_assoc($blog)){
                    ?>
                <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 events-full-box">
                    <div class="events-single-box">
                        <div class="row">
                            <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-12 col-12">
                                <a href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm" title="<?= $blog_res['blogDname'];?>"><img class="img-responsive" src="<?= getImage($blog_res['catImage'], 226, 291, $blog_res['blogDname'], "/uploaded-files/blog/images/"); ?>" alt="<?= $blog_res['blogDname'];?>"  title="<?= $blog_res['blogDname'];?>"></a>
                            </div>

                            <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-12 col-12">
                                <div class="event-info">
                                    <span><a href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm" title="<?= $blog_res['blogDname'];?>"><?= $blog_res['blogDname'];?></a></span>
                                    <p class="events-time">
                                        <span> <i class="fa fa-calendar event-icon"></i> <?=$blog_res['blogDate'];?> </span>
                                        <span> <i class="fa fa-user event-icon"></i> Posted by: <?= $blog_res['blog_written'];?> </span>
                                    </p>

                                  
                                   <?= html_entity_decode(substr($blog_res['pageDescription'],0,150));?>...

                                    <a href="<?=site_url;?>/blog/<?=getValidFileName($blog_res['catName']);?>.htm"  title="Read More"  class="event-btn"> Read More <i class="fa fa-long-arrow-right events-btn-icon"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
<?php } ?>

                
            
            <div class="text-center">
                <a href="<?=site_url;?>/blogs.htm" class="read_more01" title="Read More">Read More <i class="fa fa-arrow-right"></i></a>
            </div>
        </div>
            </div>
    </section>
   
   
   <section class="home_testimonials_webpulse">
   <?php include "testimonial.php";?>
        
    </section>


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

</html>