0byt3m1n1
Path:
/
var
/
www
/
listcrawler.app
/
public_html
/
[
Home
]
File: cities.php
<?php require 'db.php'; $page_title = get_seo('title_city'); $meta_description = get_seo('meta_desc_city'); $meta_keywords = get_seo('meta_key_city'); ?> <!DOCTYPE html> <html lang="en"> <head> <?php include_once 'includes/head.php'; ?> <?php if ( $meta_description ) { ?> <meta name="description" content="<?php echo $meta_description;?>"> <?php } ?> <?php if ( $meta_keywords ) { ?> <meta name="keywords" content="<?php echo $meta_keywords;?>"> <?php } ?> </head> <body class="gradient-6" data-spy="scroll" data-target="#navbar-nav"> <div class="main"> <?php include_once 'includes/header.php'; ?> <!-- =========== Start of Hero ============ --> <section class="hero hero--dark hidden mt-4"> <div class="container d-flex justify-content-center align-items-center" id="home-container"> <div class="card-columns city-columns"> <?php $chkRegion = "SELECT * FROM `regions` WHERE `country_code` = 'US' and `is_active` = 'Y' ORDER by `region_name` ASC " ; $chkRegionResult = mysqli_query($conn, $chkRegion); while ($rowRegion = mysqli_fetch_assoc($chkRegionResult)){ ?> <div class=""> <div class="card border-0"> <div class="card-header text-dark border-0"> <?php echo $rowRegion['region_name'];?> </div> <div class="card-body"> <?php $chkLocation = "SELECT * FROM `locations` WHERE `region_id` = $rowRegion[id] and `is_active` = 'Y' ORDER by `location_name` ASC " ; $chkLocationResult = mysqli_query($conn, $chkLocation); while ($rowLocation = mysqli_fetch_assoc($chkLocationResult)){ ?> <p><a class="lc-regular-blue" href="/city/<?php echo str_replace(' ', '_', strtolower($rowLocation['location_name']));?>" ><?php echo $rowLocation['location_name'];?></a></p> <?php } ?> </div> </div> </div> <?php }?> </div> <!-- /.card-columns --> </div> <!-- /.container --> <?php $url = get_link_url('alternative_escorts'); if ( !empty($url) ) { ?> <div class="row text-center mt-5"> <div class="col"> <span class="text-dark city-info">If nobody is available nearby... </span><p class="mt-3"><a class="sg-regular-blue" href="https://w4mmaps.com/app.html" target="_blank">Open W4M Maps</a></p> </div> </div> <?php } ?> <!-- end of hero svg shape --> </section> <!-- =========== End of Hero ============ --> </div> <?php include_once 'includes/footer.php'; ?> </body> </html>