<?php 
include_once("include/main.inc.php"); 
$page_metatitle = "Market Area | Jeet Brothers Travels & Holidays - Travel Agent in Gorakhpur";
$page_metakey = "Travel Agent in Gorakhpur, Book Cheap Tour and Travel Packages in India, India Tour Packages, Car Rental Services in Gorakhpur";
$page_metadesc = "Market Area - Jeet Brothers Travels & Holidays is amongst the best Travel Agent in Gorakhpur, Offer Cheap Tour and Travel Packages in India, Nepal, and Muktinath.Book packages with us.";
?>
<!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 include 'top_header.php';?>

</head>



<body>

    <div class="webpulse-main-wrapper">

        <!-- Header-->

        <?php include 'header.php';?>







        <!-- Heading Banner-->

        <section class="heading_banner" style="background-image: url(<?=site_url;?>/designer/images/banner-trip.jpg)">

            <div class="container position-relative">

                <div class="row">

                    <div class="col-lg-12 text-center">

                        <h1 class="cat_title"> <strong>Market Area</strong></h1>

                    </div>

                </div>

            </div>

        </section>



        <!-- Breadcrumb-->

        <div class="inner_breadcrumb hidden-xs">

            <div class="container">

                <div class="row">

                    <div class="col-lg-12">

                        <ul class="breadcrumb">

                            <li><a href="<?=site_url;?>" title="Home">Home</a></li>

                            <li class="active">Market Area</li>

                        </ul>

                    </div>

                </div>

            </div>

        </div>



        <section class="sitemap_page bg-white mt-1">



            <div class="container">



                <div class="market_area">
                <?php 
$sql_loc=mysqli_query($GLOBALS['dbconn'],"select locationName, parentID, locationID from location_tbl where parentID='0' and status='Y' order by locationName asc");
if(mysqli_num_rows($sql_loc)>'2'){
    ?>




                    <div class="mt25 text-start aboutTitle mb-0">Countries</div>
                    <?php }else{  ?>


                    <div class="mt25 text-start aboutTitle mb-0">Market Area</div>
<?php } ?>
            


                    <ul class="market-list">



                    <?php
while($res_loc=mysqli_fetch_array($sql_loc)) {  ?>


<li><a href="<?=site_url;?>/<?php echo getValidFileName(strtolower($res_loc['locationName'])); ?>/" title="<?php echo $res_loc['locationName'];?>"><?php echo $res_loc['locationName'];?></a></li>
                    <?php } ?>



                    </ul>



                    <h2 class="mt25">States of India</h2>



                    <ul class="market-list">
                    <?php
$sql_locsss=mysqli_query($GLOBALS['dbconn'],"select locationName, parentID, locationID from location_tbl where parentID='1' and status='Y' order by locationName asc");
while($res_locsss=mysqli_fetch_array($sql_locsss)) {  ?>




                        <li><a href="<?=site_url;?>/<?php echo getValidFileName(strtolower($res_locsss['locationName'])); ?>/" title="<?php echo $res_locsss['locationName'];?>"><?php echo $res_locsss['locationName'];?></a></li>

                        <?php } ?>


 













                    </ul>







                    <?php
$sql_loccc=mysqli_query($GLOBALS['dbconn'],"select locationName, parentID, locationID from location_tbl where parentID ='1' order by locationName asc");
while($res_loccc=mysqli_fetch_array($sql_loccc))
{
$locationID=$res_loccc['locationID'];
$sql_loc1=mysqli_query($GLOBALS['dbconn'],"select locationName, parentID, locationID from location_tbl where parentID ='$locationID' and status='Y' order by locationName asc");
if (mysqli_num_rows($sql_loc1) > 0)
{
?>

                    <h3 class="mt25">Cities of <?php echo $res_loccc['locationName']; ?></h3>



                    <ul class="market-list">
                    <?php while($res_locfinal=mysqli_fetch_array($sql_loc1))  { ?>
                        <li><a href="<?=site_url;?>/<?php echo getValidFileName(strtolower($res_locfinal['locationName'])); ?>/" title="<?php echo $res_locfinal['locationName']; ?>"><?php echo $res_locfinal['locationName']; ?></a></li>
                        <?php } ?>
                       





                    </ul>



                    <?php } } ?>



                   



                </div>







            </div>



        </section>



        <!-- Footer-->

        <?php include 'footer.php';?>

    </div>

    <?php include 'bottom_footer.php';?>

</body>



</html>