<?php
include_once("include/main.inc.php");
$page_metatitle = "Market Area - Mangla Plastic Industries";
$page_metakey = "Market Area - Mangla Plastic Industries";
$page_metadesc = "Market Area - Mangla Plastic Industries";
?>
<!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">
  <!-- <title>Market Area - Mangla Plastic Industries</title>
  <meta name=description content="Market Area - Mangla Plastic Industries" />
  <meta name=keywords content="Market Area - Mangla Plastic Industries" /> -->
  <?php include "top.php"; ?>
</head>

<body>
  <div class="webpulse-main-wrapper wrapper-wide" id="top">
    <?php include "header.php"; ?>
    <div class="clearfix"></div>
    <section class="heading_banner about_us_banner" style="background-image: url('<?= SITE_URL_PATH; ?>/images/market-area.jpg')">
      <div class="container">
        <div class="row">
          <div class="col-sm-12 col-lg-12 col-md-12 col-xl-12 col-xxl-12 text-center">
            <h1 class="cat_title">Market Area - Mangla Plastic Industries</h1>
            <div class="clearfix"></div>
          </div>
        </div>
      </div>
    </section>
    <div class="inner_breadcrumb hidden-xs">
      <div class="container">
        <div class="row">
          <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12">
            <ul class="breadcrumb">
              <li><a href="<?= SITE_URL_PATH; ?>" title="Home">Home</a></li>
              <li class="active">Market Area</li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <section class="about_page webpulse_tm_universal_title_holder">
      <div class="container">
        <div class="row">
          <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
            <div class="right_side">
              <div class="title_holder_inner">
                <h2>Market Area</h2>
              </div>
              <div class="wps_right market_area">
                <h3 class="mt25">Country</h3>
                <ul class="market-list">
                  <?php
                  $sql_loc = mysqli_query($dbcon, "select * from location_tbl where parentID='0' and status='Y' order by locationName asc");
                  while ($res_loc = mysqli_fetch_array($sql_loc)) {  ?>
                    <li><a href="<?= SITE_URL_PATH; ?>/<?php echo getValidFileName(strtolower($res_loc['locationName'])); ?>/" title="<?php echo $res_loc['locationName']; ?>"><?php echo $res_loc['locationName']; ?></a></li>
                  <?php } ?>

                </ul>
              </div>

              <div class="wps_right market_area">
                <h3 class="mt25">States of India</h3>
                <ul class="market-list">
                  <?php
                  $sql_loc = mysqli_query($dbcon, "select * from location_tbl where parentID='119' and status='Y' order by locationName asc");
                  while ($res_loc = mysqli_fetch_array($sql_loc)) {  ?>
                    <li><a href="<?= SITE_URL_PATH; ?>/<?php echo getValidFileName(strtolower($res_loc['locationName'])); ?>/" title="<?php echo $res_loc['locationName']; ?>"><?php echo $res_loc['locationName']; ?></a></li>
                  <?php } ?>

                </ul>
                <h3 class="mt25">Indian Cities</h3>
                <?php
                $sql_loccc = mysqli_query($dbcon, "select * from location_tbl where parentID ='119' and status='Y'");

                while ($res_loc = mysqli_fetch_array($sql_loccc)) {
                  $locationID = $res_loc['locationID'];
                  $sql_loc1 = mysqli_query($dbcon, "select * from location_tbl where parentID ='$locationID' and status='Y'");
                  if (mysqli_num_rows($sql_loc1) > 0) {
                ?>
                    <div class="market-list">


                      <div class="clearfix"></div>

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

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

                      </ul>
                    </div>
                <?php }
                } ?>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <?php include "footer.php"; ?>
  </div>
  <?php include "bottom.php"; ?>
</body>

</html>