MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.109.159
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/advancepowerresearch.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/advancepowerresearch.com/header.php
    <header class="header header-home-one clearfix">
        <nav class="navbar navbar-default header-navigation stricky clearfix">
            <div class="container clearfix">
                <div class="navbar-header">
                    <button class="side-nav-toggler side-nav-opener"><i class="fa fa-bars"></i></button>
                </div>
                <div class="collapse navbar-collapse main-navigation mainmenu" id="main-nav-bar">
                   
                    <ul class="nav navbar-nav navigation-box">
                        <li class="current"> 
                            <a href="<?php echo $wspath ?>">Home</a> 
                        </li>
                        <li> <a href="<?php echo $wspath?>about.html">About Us</a> </li>
                        <li> 
                            <a href="<?php echo $wspath?>product-categories.html">Products</a> 
                            <ul class="sub-menu">
                                <?php
                                    $sqltype = "SELECT * FROM `tbl_product`";
                                    $runtype = mysqli_query($db,$sqltype) or die("Query Not run");
                                    while($datatype = mysqli_fetch_assoc($runtype)){
                                    $ids=$datatype['p_id'];
                                ?>
                                <li> <a href="<?php echo $wspath?>product<?php echo $datatype['slug_link']?>.html"><?php echo $datatype['product_name']?></a>
                                
                                    <ul class="sub-menu-2">
                                         <?php
                                            $sqlci = "SELECT * FROM `tbl_services` WHERE cat_id='$ids' ORDER BY order_by ASC";
                                            $runci = mysqli_query($db, $sqlci) or die("Query Not run");
                                            while ($dataci = mysqli_fetch_assoc($runci)) {
                                            $serviceUrl = $wspath ;
                                            if (isset($_REQUEST['loc_slug'])) {
                                                $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                                                $serviceUrl .=  $loc_slug. '/';
                                            }
                                        
                                            $serviceUrl .= '' . $dataci['url_link'] . '.html';
                                        ?>
                                        <li style="width: fit-content;" ><a href="<?php echo $serviceUrl; ?>"><?= str_replace("LOCATION",$location,$dataci["property_name"]);?></a></li>
                                        <?php
                                           }
                                        ?>
                                    </ul>
                                </li>
                                <?php } ?>
                            </ul>
                        </li>
                        <li> <a href="<?php echo $wspath?>gallery.html">Gallery</a></li>
                        <!-- <li> 
                            <a href="blog.html">Blogs</a>
                        </li> -->
                        <li> <a href="<?php echo $wspath?>contact.html">Contact Us</a> </li>
                    </ul>                
                </div>
            </div>
        </nav>   
    </header>

MMCT - 2023