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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/gujarataxi.com/header.php
<?php 
ob_start();
require_once("includes/dbsmain.inc.php");
$page_name=basename($_SERVER['PHP_SELF'],'.php');
include("site-main-query.php");
$sess_id=session_id();

$site_url=$compDATA['admin_website_url'];
$author = str_replace("http://","","$site_url");

$full_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

?>


<!DOCTYPE html>
<html lang="en">
    
<head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php
$locationName=$compDATA['admin_default_location'];

$loc_url=$_REQUEST['loc_url'];
$loc_stmt=db_query("select location_id from tbl_location where location_url='$loc_url'");
$LOC_DATA=mysqli_fetch_array($loc_stmt);
$loca_id=$LOC_DATA['location_id'];

//$loca_id=db_scalar("select location_id from tbl_location where location_url='$_REQUEST[loc_url]' ");
$loca_url=db_scalar("select location_url from tbl_location where location_id='$loca_id' ");
if($loca_id!="")
{
$loca_name=db_scalar("select location_name from tbl_location where location_id='$loca_id' ");
$locationName=$loca_name;
}

$meta_cat_url=$_REQUEST['cat_url'];
$meta_cat_stmt=db_query("select category_id from tbl_category where category_url='$meta_cat_url' ");
$META_CAT_DATA=mysqli_fetch_array($meta_cat_stmt);
$meta_cat_id=$META_CAT_DATA['category_id'];


//$meta_cat_id=db_scalar("select category_id from tbl_category where category_url='$_REQUEST[cat_url]' ");
if($meta_cat_id!="")
{
$meta_title=str_replace("LOCATION",$locationName,db_scalar("select category_meta_title from tbl_category where category_id='$meta_cat_id' "));
$meta_key=str_replace("LOCATION",$locationName,db_scalar("select category_meta_keywords from tbl_category where category_id='$meta_cat_id' "));
$meta_desc=str_replace("LOCATION",$locationName,db_scalar("select category_meta_description from tbl_category where category_id='$meta_cat_id' "));
}else{

$meta_title=str_replace("LOCATION",$locationName,db_scalar("select site_pages_meta_title from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'"));
$meta_key=str_replace("LOCATION",$locationName,db_scalar("select site_pages_meta_keyword from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'"));
$meta_desc=str_replace("LOCATION",$locationName,db_scalar("select site_pages_meta_description from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'"));



}?>



<title><?=$meta_title?></title>
<meta name="description" content="<?=$meta_desc?>">
<META NAME="keywords" content="<?=$meta_key?>" />

<?php include 'top-link.php';?>

</head>
<body>

<header class="header">

<div class="header-top">
<div class="container">
<div class="header-top-wrapper">
<div class="header-top-left">
<div style="margin-left: 93px;" class="header-top-contact">
<ul>
<li><a href="mailto:<?=$compDATA['admin_email']?>"><i class="far fa-envelopes"></i> <?=$compDATA['admin_email']?></a></li>
<li><a href="tel:<?=$compDATA['admin_mobile']?>"><i class="far fa-phone-volume"></i> <?=$compDATA['admin_mobile']?></a></li>
 <!--<li><a href="#"><i class="far fa-alarm-clock"></i> Sun - Fri (08AM - 10PM)</a></li> -->
</ul>
</div>
</div>
<div style="margin-right: 83px;" class="header-top-right">
<div class="header-top-link">
<!--<a href="contact.php"><i style="color:#fdb200;" class="fa fa-car"></i> Self Drive Car Available</a>-->
<!--<a href="register.php"><i class="far fa-user-vneck"></i> Register</a>-->
</div>

</div>
</div>
</div>
</div>
<div class="main-navigation">
<nav class="navbar navbar-expand-lg">
<div class="container position-relative">
<a class="navbar-brand" href="<?=$site_url?>">
    <?php
$DATALOGO=db_scalar("select header_logo from tbl_header where 1 and header_status='Active' limit 1");
?>
<img src="<?=$site_url?>/assets/img/guj-logo.jpg" alt="logo" width="80%">
</a>
<div class="mobile-menu-right">
<div class="search-btn">
<button type="button" class="nav-right-link"><i class="far fa-search"></i></button>
</div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main_nav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-mobile-icon"><i class="far fa-bars"></i></span>
</button>
</div>
<div class="collapse navbar-collapse" id="main_nav">
<ul class="navbar-nav">
    
<?php
$link_sql=db_query("select * from tbl_site_pages where 1 and site_pages_status='Active' and site_pages_show_in_header='Yes' order by site_pages_order_by asc");
while($link_data=mysqli_fetch_array($link_sql)){ 
$pgName=$link_data['site_pages_link'];

if($pgName=="services"){
?> 

<?php
$cat_sql=db_query("select * from  tbl_category where category_status='Active' and category_parent_id=0 order by category_id asc LIMIT 0,3");
while($cat_res=mysqli_fetch_array($cat_sql))
    {?>
    
    
<?php
if($loca_id!="")
{?>
    <li  class="nav-item dropdown"><a class="nav-link" href="<?=$site_url?>/<?=$loca_url?>/<?=$cat_res['category_url']?>.html" title="<?=$cat_res['category_name']?>"><?=$cat_res['category_name']?></a></li>
<?}else{?>
 <li  class="nav-item dropdown"><a class="nav-link" href="<?=$site_url?>/<?=$cat_res['category_url']?>.html" title="<?=$cat_res['category_name']?>"><?=$cat_res['category_name']?> </a></li>
<?}?>
    
    <?}?>

    </ul>
</li>
<?}else{?>
 <li class="nav-item dropdown">
     <a class="nav-link" href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html" title="<?=$link_data['site_pages_name']?>"><?=$link_data['site_pages_name']?>
     </a>
     </li>
<?}?>    
<?}?>

<!-- <li class="nav-item dropdown">-->
<!--<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">Taxi Services</a>-->
<!--<ul class="dropdown-menu fade-down">-->
<!--<li><a class="dropdown-item" href="service.html">Ahmedabad to Mumbai</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Surat</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to vapi</a></li>-->
<!--    <li><a class="dropdown-item" href="service-single.html">Ahmedabad to Baroda</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Morbi</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to-->
<!--gandhiidham</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to bhuj</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to udaypur</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Jaypur</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to bhilwara</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to mount Aabu</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Aabu</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to ajmer</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Delhi</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Rajkot</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to somnath</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Dwarka</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Jamnagar</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to statue of unity</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Pune</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Nashik</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Bhavnagar</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to Palitana</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to jodhpur</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to kadi-kalol</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to halol</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to junagadh</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Ahmedabad to chittorgarh</a></li>-->
<!--<li><a class="dropdown-item" href="service-single.html">Jaypur to udaipur</a></li>-->
<!--</ul>-->
<!--</li> -->

</ul>
<div class="nav-right">

<div class="nav-right-btn mt-2">
<a href="book-ride.html" class="theme-btn"><span class="fas fa-taxi"></span>Book A Cab</a>
</div>
<div class="sidebar-btn">
<button type="button" class="nav-right-link"><i class="far fa-bars-filter"></i></button>
</div>
</div>
</div>
<div class="sidebar-popup">
<div class="sidebar-wrapper">
<div class="sidebar-content">
<button type="button" class="close-sidebar-popup"><i class="far fa-xmark"></i></button>
<div class="sidebar-logo">
<img src="<?=$site_url?>/assets/img/guj-logo.jpg" alt="">
</div>
<div class="sidebar-about">
<!--<h4>About Us</h4>-->
</div>
<div class="sidebar-contact">
<h4>Contact Info</h4>
<ul>
<li>
<h6>Email</h6>
<a href="mailto:<?=$compDATA['admin_email']?>"><i class="far fa-envelopes"></i><?=$compDATA['admin_email']?></a></li>
<li>
<h6>Phone</h6>
<a href="tel:<?=$compDATA['admin_mobile']?>"><i class="far fa-phone-volume"></i><?=$compDATA['admin_mobile']?></a>
</li>
<li>
<h6>Address</h6>
<a href="#"><i class="far fa-location-dot"></i>Ahmedabad, Gujarat, India</a>
</li>
</ul>
</div>
<div class="sidebar-social">
<h4>Follow Us</h4>
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
</div>
</div>
</div>
</div>


</div>
</nav>
</div>
</header>

MMCT - 2023