MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 13.58.61.197
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/arelectricalcontrol.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/arelectricalcontrol.com/header.php
    <div class="th-menu-wrapper">
        <div class="th-menu-area text-center"><button class="th-menu-toggle"><i class="fal fa-times"></i></button>
            <div class="mobile-logo">
                <a href="<?= $wspath;?>">
                    <img src="<?= $wspath;?>admin/images/<?php echo $data1["header_logo"] ?>" alt="<?=$site_name?>" title="<?=$site_name?>">
                </a>
            </div>
            
            <div class="th-mobile-menu">
                <ul>
                    <li ><a href="<?= $wspath;?>">Home</a></li>
                    <li><a href="<?= $wspath;?>about.html">About Us</a></li>

                    <li class="menu-item-has-children">
                        <a href="<?= $wspath;?>product-lisiting.html">Our Product</a>
                        <ul class="sub-menu">
                            <?php
                                $sqlcat = "SELECT * FROM `tbl_main_cat` WHERE `cat_status`='Active' ORDER BY cat_order_by ASC";
                                $runcat = mysqli_query($db,$sqlcat) or die("Query Not run");
                                while($datacat = mysqli_fetch_assoc($runcat)){
                            ?>
                            <li class="menu-item-has-children">
                                <a href="<?php echo $wspath ?>category<?php echo $datacat['slug'];?>.html"><?php echo $datacat['cat_name'];?></a>
                                <ul class="sub-menu">
                                    <?php
                                        $subcat=$datacat['c_id'];
                                        $sqlprod = "SELECT * FROM `tbl_services` WHERE m_id=$subcat AND `tour_status`='Active' ORDER BY tour_order ASC";
                                        $runprod = mysqli_query($db,$sqlprod) or die("Query Not run");
                                        while($dataprod = mysqli_fetch_assoc($runprod)){
                                    ?>
                                    <li><a href="<?= $wspath;?>product<?php echo $dataprod['slug_url'];?>.html"><?php echo $dataprod['name'];?></a></li>
                                    <?php } ?>
                                </ul>
                            </li>
                            <?php } ?>
                        </ul>
                    </li>
                    <li><a href="<?= $wspath;?>gallery.html">Gallery</a></li>
                    <li><a href="<?= $wspath;?>contact.html">Contact Us</a></li>
                </ul>
            </div>
        </div>
    </div>

    <header class="th-header header-layout5">
        <div class="header-top">
            <div class="container">
                <div class="row justify-content-center justify-content-lg-between align-items-center gy-2">
                    <div class="col-auto d-none d-lg-block">
                        <div class="header-links">
                            <ul>
                                <li><i class="fas fa-phone"></i> <a href="tel:<?php echo $data1["phone"] ?>"><?php echo $data1["phone"] ?></a></li>
                                <li><i class="fas fa-envelope"></i> <a href="mailto:<?php echo $data1["email"] ?>"><?php echo $data1["email"] ?></a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-auto">
                        <div class="header-links">
                            <ul>
                                <!--<li class="d-none d-md-inline-block"><i class="fas fa-messages"></i> <a-->
                                <!--        href="#">FAQ</a></li>-->
                                <!--<li><i class="fas fa-headset"></i> <a href="#">Support</a></li>-->
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="sticky-wrapper">
            <div class="container">
                <div class="menu-area">
                    <div class="row align-items-start justify-content-between">
                        <div class="col-auto d-none d-lg-block">
                            <div class="header-logo">
                                <a href="<?= $wspath;?>">
                                <img src="<?= $wspath;?>admin/images/<?php echo $data1["header_logo"] ?>" alt="<?=$site_name?>" title="<?=$site_name?>">
                                </a>
                            </div>
                        </div>
                        <div class="col">
                            <div class="menu-wrap">
                                <div class="header-logo d-block d-lg-none">
                                    <a href="<?= $wspath;?>">
                                    <img src="<?= $wspath;?>admin/images/<?php echo $data1["header_logo"] ?>" alt="<?=$site_name?>" title="<?=$site_name?>">
                                    </a>
                                </div>
                                <nav class="main-menu d-none d-lg-inline-block">
                                    <ul>
                                        <li ><a href="<?= $wspath;?>">Home</a></li>
                                        <li><a href="<?= $wspath;?>about.html">About Us</a></li>
                                        <li class="menu-item-has-children"><a href="<?= $wspath;?>product-lisiting.html">Our Product</a>
                                        <ul class="sub-menu">
                                            <?php
                                                $sqlcat = "SELECT * FROM `tbl_main_cat` WHERE `cat_status`='Active' ORDER BY cat_order_by ASC";
                                                $runcat = mysqli_query($db,$sqlcat) or die("Query Not run");
                                                while($datacat = mysqli_fetch_assoc($runcat)){
                                            ?>
                                            <li class="menu-item-has-children">
                                                <a href="<?php echo $wspath ?>category<?php echo $datacat['slug'];?>.html"><?php echo $datacat['cat_name'];?></a>
                                                <ul class="sub-menu">
                                                    <?php
                                                        $subcat=$datacat['c_id'];
                                                        $sqlprod = "SELECT * FROM `tbl_services` WHERE m_id=$subcat AND `tour_status`='Active' ORDER BY tour_order ASC";
                                                        $runprod = mysqli_query($db,$sqlprod) or die("Query Not run");
                                                        while($dataprod = mysqli_fetch_assoc($runprod)){
                                                    ?>
                                                    <li><a href="<?= $wspath;?>product<?php echo $dataprod['slug_url'];?>.html"><?php echo $dataprod['name'];?></a></li>
                                                    <?php } ?>
                                                </ul>
                                            </li>
                                            <?php } ?>
                                        </ul>
                                        </li>
                                        <li><a href="<?= $wspath;?>gallery.html">Gallery</a></li>
                                        <li><a href="<?= $wspath;?>contact.html">Contact Us</a></li>
                                        <!--<li ><a href="#">Blog</a></li>-->
                                        <!--<li ><a href="#">Project</a></li>-->
                                    </ul>
                                </nav>
                                <div class="header-button">
                                    <button type="button" class="th-menu-toggle d-block d-lg-none" style="margin-bottom:12px;"><i class="far fa-bars"></i></button>
                                </div>
                            </div>
                        </div>
                        <div class="col-auto d-none d-xl-block">
                            <div class="header-button"><a href="<?= $wspath;?>enquiry.html" class="th-btn rounded-12 style3">Enquiry Now<i class="fas fa-arrow-right ms-2"></i></a></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>
    

MMCT - 2023