0byt3m1n1
Path:
/
var
/
www
/
listcrawler.app
/
public_html
/
[
Home
]
File: index.php
<?php require 'db.php'; $page_title = get_seo('title_home'); $meta_description = get_seo('meta_desc_home'); $meta_keywords = get_seo('meta_key_home'); ?> <!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 } ?> <meta name="google-site-verification" content="PRmxkcADo58E2PJ6BkMJC7_CdGXT56Nwr-0z4tZU77M" /> </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 hidden mt-3"> <!-- end of hero svg shape --> </section> <!-- =========== End of Hero ============ --> <!-- =========== Start of Hero ============ --> <section class="hero--dark hidden mt-0"> <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 --> <!-- end of hero svg shape --> </section> <!-- =========== End of Hero ============ --> <!-- =========== Start of Hero ============ --> <section class="hero hidden mt-2"> <div class="container"> <?php $home_bottom_title = get_link('home_bottom_title'); $home_bottom_brief = get_link('home_bottom_brief'); if ( !empty($home_bottom_title) || !empty($home_bottom_brief) ) { ?> <div class="row mt-3 text-center"> <div class="col-12 mt-5 pt-5"> <h5 class="purple-small-title"><?php echo $home_bottom_title;?></h5> </div> <div class="col-12 mt-4 ad-description"> <?php echo $home_bottom_brief;?> </div> </div> <?php } ?> </div> <!-- /.container --> <!-- end of hero svg shape --> </section> <!-- =========== End of Hero ============ --> </div> <?php include_once 'includes/footer.php'; ?> </body> </html>