   <?php 
$homepage=mysqli_query($dbconn,"select * from static_pages where pageID='1' and status='Y'");
$homefooter_res=mysqli_fetch_array($homepage);
$footerdesc = $homefooter_res['pageDesc1'];
?>
   <div class="clearfix"></div>
   <footer class="bg-dark text-light border-right">
       <div class="dc-footertopbar wow fadeInDown animated animated" data-wow-delay=".1s" style="visibility: visible; animation-delay: 0.1s; animation-name: fadeInDown;">
           <div class="container">
               <div class="row justify-content-center align-self-center">
                   <div class="col-xs-12 col-sm-12 col-md-12 col-lg-8 col-lg-push-2">
                       <div class="dc-footer-call-email">
                           <div class="dc-callinfoholder">
                               <figure class="dc-callinfoimg">
                                   <img src="<?=theme_url?>images/img-01.png" alt="Emergency Call" title="Emergency Call">
                               </figure>
                               <div class="dc-callinfocontent">
                                   <h5 class="contact-title"><span>Emergency Call</span><a href="javascript:void()" data-bs-toggle="modal" data-bs-target="#call" title="Call Us Anytime">Request a callback </a></h5>
                               </div>
                           </div>
                           <div class="dc-callinfoholder dc-mailinfoholder">
                               <figure class="dc-callinfoimg">
                                   <img src="<?=theme_url?>images/img-02.png" alt="24/7 Email Support" title="24/7 Email Support">
                               </figure>
                               <div class="dc-callinfocontent">
                                   <h5 class="contact-title"><span>24/7 Email Support</span> <a href="<?=site_url?>/contact-us.htm">Contact Us</a>
                                   </h5>
                               </div>
                           </div>
                           <span class="dc-or-text">- OR -</span>
                       </div>
                   </div>
               </div>
           </div>
       </div>
       <div class="container">
           <div class="row">
               <div class="col-lg-3 col-md-6 col-sm-6 equal-height wow fadeInDown animated animated" data-wow-delay=".1s">
                   <div class="f-item about nopadding">
                       <h5 class="footer-title">About Us</h5>
                       <?=$footerdesc?> 
                       <a href="<?=site_url?>/about.htm" class="read-more-link mt-3" title="Read More About Us">Read More</a>
                   </div>
               </div>
               <div class="col-lg-2 col-md-6 col-sm-6 equal-height wow fadeInDown animated animated" data-wow-delay=".2s">
                   <div class="f-item link">
                       <h5 class="footer-title">Useful Links</h5>
                       <ul>
                           <li><a href="<?=site_url?>" title="Home"><i class="fa fa-caret-right"></i> Home</a></li>
                           <li><a href="<?=site_url?>/about.htm" title="Company Profile"><i class="fa fa-caret-right"></i> Company
                                   Profile</a></li>
                           <li><a href="<?=site_url?>/our-products.htm" title="Our Products"><i class="fa fa-caret-right"></i> Our
                                   Products</a></li>
                           <li><a href="<?=site_url?>/contact-us.htm" title="Contact Us"><i class="fa fa-caret-right"></i> Contact
                                   Us</a></li>
                           <li><a href="<?=site_url?>/our-gallery.htm" title="Our Gallery"><i class="fa fa-caret-right"></i> Our Gallery</a></li>
                           <li><a href="<?=site_url?>/blogs.htm" title="Blogs"><i class="fa fa-caret-right"></i> Blogs</a></li>
                           <li><a href="<?=site_url?>/sitemap.htm" title="Sitemap"><i class="fa fa-caret-right"></i> Sitemap</a></li>
                           <li><a href="<?=site_url?>/market-area.htm" title="Market Area"><i class="fa fa-caret-right"></i> Market Area</a></li>
                       </ul>
                   </div>
               </div>
               <div class="col-lg-4 col-md-6 col-sm-6 equal-height wow fadeInDown animated animated" data-wow-delay=".3s">
                   <div class="f-item link">
                       <h5 class="footer-title">Our Products </h5>
                       <ul>
                           <?php $footSql = mysqli_query($dbconn,"select * from category_tbl where parentID!='0' and status='Y'" );
  while($rescat=mysqli_fetch_array($footSql)) { 
                ?>
                           <li><a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($rescat['catName']);?>.htm" title="<?=$rescat['displayName']?> in <?=$ca_nam1?>"><i class="fa fa-caret-right"></i><?=$rescat['displayName']?></a></li>
                           <?php  } ?>
                       </ul>
                   </div>
               </div>
               <div class="col-lg-3 col-md-6 col-sm-6 equal-height wow fadeInDown animated animated" data-wow-delay=".4s">
                   <div class="f-item about">
                       <h5 class="footer-title">Contact Us</h5>
                       <ul>
                           <li>
                               <i class="fa fa-user"></i>
                               <p> <span>Deepak Kanthaliya<br> (Managing Director)</span></p>
                           </li>
                           <li>
                               <i class="fa fa-envelope"></i>
                               <p> <span><a href="mailto:<?=$admin_res['email']?>" class="lowercase" title="<?=$admin_res['email']?>"><?=$admin_res['email']?></a></span></p>
                           </li>
                           <li>
                               <i class="fa fa-phone"></i>
                               <p> <span><a href="tel:<?=$admin_res['phone']?>" class="lowercase" title="<?=$admin_res['phone']?>"><?=$admin_res['phone']?></a>, <a href="tel:<?=$admin_res['whatsapp_no']?>" class="lowercase"><?=$admin_res['whatsapp_no']?></a></span></p>
                           </li>

                           <li>
                               <i class="fa fa-map"></i>
                               <p><?=$admin_res['address']?></p>
                           </li>
                       </ul>
                         <ul>
                            <?php if(facebook()){ ?>
                                <li><a href="<?php echo facebook();?>" target="blank" class="facebook" title="facebook"><i class="fa fa-facebook-f"></i></a>
                                </li>
                                <?php } ?>
                           <?php if(twitter()){ ?>
                           <li><a href="<?php echo twitter();?>" target="blank" class="twitter" title="twitter">
                        <i>   <svg viewBox="0 0 24 24" width="20"
                                            height="20" fill="currentColor" role="img">
                                            <g>
                                                <path
                                                    d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z">
                                                </path>
                                            </g>
                                        </svg></i>
                        </a>
                           </li>
                           <?php } ?>
                            <?php if(linkedin()){ ?>
                                <li><a href="<?php echo linkedin();?>" target="blank" class="linkedin" title="linkedin"><i class="fa fa-linkedin"></i></a>
                                </li>
                                <?php } ?>
                           <?php if(instagram()){ ?>
                           <li><a href="<?php echo instagram();?>" target="blank" class="instagram" title="instagram"><i class="fa fa-instagram"></i></a>
                           </li>
                           <?php } ?>
                       </ul>
                   </div>
               </div>
           </div>
       </div>
       <div class="clearfix"></div>
       <div class="footer-bottom text-light">
           <div class="container">
               <div class="row">
                   <div class="col-md-12">
                       <p>© <?=date('Y');?> <?=$admin_res['companyName']?>. All Rights Reserved. Crafted with <i class="fa fa-heart"></i> by Webpulse - <a href="https://www.webpulseindia.com/web-designing" target="_blank" title="Web Designing" style="display:inline;font-size:13px">Web Designing,</a> <a href="https://www.webpulseindia.com/digital-marketing" target="_blank" title="Digital Marketing" style="display:inline;font-size:13px">Digital Marketing &</a> <a href="https://www.webpulseindia.com/branding" target="_blank" title="Branding Company" style="display:inline;font-size:13px">Branding Company </a></p>
                   </div>
               </div>
           </div>
       </div>
   </footer>
   <div class="clearfix"></div>
