|
Server : LiteSpeed System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : outerorb ( 1091) PHP Version : 8.1.34 Disable Function : mail Directory : /home2/outerorb/zapnix.co/ | |
|
Path: /home2/outerorb/zapnix.co/market.php
Size: 8.16 KB
Permissions: 0644
<?php include_once("include/main.inc.php");
$admin_res = getAdminDetails();
$page_metatitle = 'Market Area - ' . COMPANY;
$page_metakey = 'Market Area - ' . COMPANY;
$page_metadesc = 'Market Area - ' . COMPANY;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- ========== Meta Tags ========== -->
<meta charset="UTF-8">
<?php include 'app_top.php'; ?>
<style>
.header-4 {
background-color: white;
}
.market-sec {
padding: 60px 0;
font-family: var(--font);
}
.market-sec h1,
.market-sec .main-ttt,
.market-sec h2,
.market-sec h3 {
font-size: 24px;
color: var(--text-color);
line-height: 26px;
margin: 20px 0 15px;
font-weight: 700;
}
.market-sec h2,
.market-sec h3 {
font-size: 20px;
font-weight: 600;
}
.market-sec .market-bxx {
padding: 10px 12px;
background-color: #E8E8E8;
color: black;
font-size: 14px;
transition: 0.2s ease-in-out;
}
.market-sec .market-bxx:hover {
background-color: #5262ff;
color: white;
}
</style>
</head>
<body>
<?php include 'header.php'; ?>
<!--<< Breadcrumb Section Start >>-->
<div class="breadcrumb-wrapper bg-cover" style="background-image: url('<?= theme_url; ?>img/breadcrumb.jpg');">
<div class="container">
<div class="page-heading">
<h1 class="main-ttt wow fadeInUp" data-wow-delay=".3s">Market Area</h1>
<ul class="breadcrumb-items wow fadeInUp" data-wow-delay=".5s">
<li>
<a href="<?= site_url; ?>">
Home
</a>
</li>
<li>
<i class="fas fa-chevron-right"></i>
</li>
<li>
Market Area
</li>
</ul>
</div>
</div>
</div>
<div class="market-sec">
<div class="container">
<?php
$sql_loc = mysqli_query($GLOBALS['dbconn'], "select locationName, parentID, locationID,locationurl from location_tbl where parentID='0' and status='Y' order by locationName asc");
if (mysqli_num_rows($sql_loc) > '1') {
?>
<h2 class="main-ttt">Location We Serve</h2>
<?php } else { ?>
<h2 class="main-ttt">Location We Serve</h2>
<?php } ?>
<div class="row g-2 row-cols-2 row-cols-md-4 row-cols-md-5">
<?php
while ($res_loc = mysqli_fetch_array($sql_loc)) {
$parent[] = $res_loc['locationID'];
if ($res_loc['locationName'] == 'USA') {
$link = 'javascript:void()';
} else {
$link = site_url . '/' . $res_loc['locationurl'] . '/';
}
?>
<div class="col">
<a href="<?= $link; ?>" title="<?= $res_loc['locationName']; ?>"
class="market-bxx d-block"><?= $res_loc['locationName']; ?></a>
</div>
<?php } ?>
</div>
<h2>Provinces (Canada)</h2>
<div class="row g-2 row-cols-2 row-cols-md-4 row-cols-md-5">
<?php
$sql_locsss = mysqli_query($GLOBALS['dbconn'], "select locationName, parentID, locationID,locationurl from location_tbl where parentID='6' and status='Y' order by locationName asc");
while ($res_locsss = mysqli_fetch_array($sql_locsss)) {
$parent[] = $res_locsss['locationID'];
if ($res_locsss['locationName'] == 'Delhi') {
$link1 = 'javascript:void()';
} else {
$link1 = site_url . '/' . $res_locsss['locationurl'] . '/';
}
?>
<div class="col">
<a href="<?= $link1; ?>" title="<?= $res_locsss['locationName']; ?>"
class="market-bxx d-block"><?= $res_locsss['locationName']; ?></a>
</div>
<?php } ?>
</div>
<?php
$sql_loccc = mysqli_query($GLOBALS['dbconn'], "select locationName, parentID, locationID,locationurl from location_tbl where parentID ='6' 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,locationurl from location_tbl where parentID ='$locationID' and status='Y' order by locationName asc");
if (mysqli_num_rows($sql_loc1) > 0) {
?>
<h2>Cities of <?php echo $res_loccc['locationName']; ?></h2>
<div class="row g-2 row-cols-2 row-cols-md-4 row-cols-md-5">
<?php while ($res_locfinal = mysqli_fetch_array($sql_loc1)) { ?>
<div class="col">
<a href="<?= site_url; ?>/<?= strtolower($res_locfinal['locationurl']); ?>/"
title="<?= $res_locfinal['locationName']; ?>"
class="market-bxx d-block"><?= $res_locfinal['locationName']; ?></a>
</div>
<?php } ?>
</div>
<?php }
} ?>
<h2>States of USA</h2>
<div class="row g-2 row-cols-2 row-cols-md-4 row-cols-md-5">
<?php
$sql_locsss = mysqli_query($GLOBALS['dbconn'], "select locationName, parentID, locationID,locationurl from location_tbl where parentID='5' and status='Y' order by locationName asc");
while ($res_locsss = mysqli_fetch_array($sql_locsss)) {
$parent[] = $res_locsss['locationID'];
if ($res_locsss['locationName'] == 'Delhi') {
$link1 = 'javascript:void()';
} else {
$link1 = site_url . '/' . $res_locsss['locationurl'] . '/';
}
?>
<div class="col">
<a href="<?= $link1; ?>" title="<?= $res_locsss['locationName']; ?>"
class="market-bxx d-block"><?= $res_locsss['locationName']; ?></a>
</div>
<?php } ?>
</div>
<?php
$sql_loccc = mysqli_query($GLOBALS['dbconn'], "select locationName, parentID, locationID,locationurl from location_tbl where parentID ='5' 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,locationurl from location_tbl where parentID ='$locationID' and status='Y' order by locationName asc");
if (mysqli_num_rows($sql_loc1) > 0) {
?>
<h2>Cities of <?php echo $res_loccc['locationName']; ?></h2>
<div class="row g-2 row-cols-2 row-cols-md-4 row-cols-md-5">
<?php while ($res_locfinal = mysqli_fetch_array($sql_loc1)) { ?>
<div class="col">
<a href="<?= site_url; ?>/<?= strtolower($res_locfinal['locationurl']); ?>/"
title="<?= $res_locfinal['locationName']; ?>"
class="market-bxx d-block"><?= $res_locfinal['locationName']; ?></a>
</div>
<?php } ?>
</div>
<?php }
} ?>
</div>
</div>
<?php include 'footer.php'; ?>
<?php include 'app_bottom.php'; ?>
</body>
</html>