File: /home/httpd/html/xdudes.com/templates/default_v3/template.overall_header.php
<!DOCTYPE html>
<html lang="en">
<head>
<? getWidget('widget.header_scripts.php'); ?>
</head>
<body>
<header class="header">
<? getTemplate('template.nav.php'); ?>
</header>
<div class="siteContainer">
<aside class="filters <? if ((!detectMobile() && ($_COOKIE['asideFilters'] === 'open' || !isset($_COOKIE['asideFilters']))) || $_COOKIE['asideFilters'] === 'open') { ?>filters--open<? } ?>">
<? getTemplate('template.sidebar.php'); ?>
</aside>
<div class="contentContainer <? if ((!detectMobile() && ($_COOKIE['asideFilters'] === 'open' || !isset($_COOKIE['asideFilters']))) || $_COOKIE['asideFilters'] === 'open') { ?>contentContainer--filtersOpen<? } ?>">
<main class="main">
<div class="main__wrapper" style="min-height:46px;">
<div class='breadcrumbs'>
<h1 class="main__h1"><? echo $headertitle; ?></h1>
<?php if (checkNav('index') || $_GET['controller'] == 'router') { ?>
<?php
$bcGET = $_GET;
if (isset($default_query_string)) {
if (!is_array($bcGET) || count($bcGET) < 1) {
parse_str($default_query_string, $newParsed);
$bcGET = array_merge($bcGET, $newParsed);
}
}
if (is_array($bcGET['status'])) {
foreach ($bcGET['status'] as $a) {
echo "<a href='" . buildSideLink("", "status", $a, true) . "'>" . ucwords(htmlentities($a)) . " <i class='bi bi-x'></i></a>";
}
}
if (is_array($bcGET['gender'])) {
foreach ($bcGET['gender'] as $a) {
$genderMap = array("f" => "Female", "m" => "Male", "c" => "Couple", "t" => "Trans");
echo "<a href='" . buildSideLink("", "gender", $a, true) . "'>" . htmlentities($genderMap[$a]) . " <i class='bi bi-x'></i></a>";
}
}
if (is_array($bcGET['age'])) {
foreach ($bcGET['age'] as $a) {
echo "<a href='" . buildSideLink("", "age", $a, true) . "'>Age: " . htmlentities($a) . " <i class='bi bi-x'></i></a>";
}
}
if (is_array($bcGET['tags'])) {
foreach ($bcGET['tags'] as $a) {
echo "<a href='" . buildSideLink("", "tags", $a, true) . "'>#" . htmlentities(ucwords(strtolower($a))) . " <i class='bi bi-x'></i></a>";
}
}
if (is_array($bcGET['ethnicity'])) {
foreach ($bcGET['ethnicity'] as $a) {
echo "<a href='" . buildSideLink("", "ethnicity", $a, true) . "'>" . htmlentities(ucwords(strtolower($a))) . " <i class='bi bi-x'></i></a>";
}
}
if (is_array($bcGET['hair'])) {
foreach ($bcGET['hair'] as $a) {
echo "<a href='" . buildSideLink("", "hair", $a, true) . "'>Hair: " . htmlentities(ucwords(strtolower($a))) . " <i class='bi bi-x'></i></a>";
}
}
?>
<? } ?>
<?php if(!empty($rrow['tags'])) { ?>
<?php
$tags = explode(",",$rrow['tags']);
foreach($tags as $t) {
echo "<a href='" . buildSideLink("", "tags", str_replace(" ","-",$t), true) . "'>#" . htmlentities(ucwords(strtolower($t))) . " <i class='bi bi-x'></i></a>";
}
?>
<? } ?>
</div>
<button class="main__filterBtn <? if ((!detectMobile() && ($_COOKIE['asideFilters'] === 'open' || !isset($_COOKIE['asideFilters']))) || $_COOKIE['asideFilters'] === 'open') { ?>main__filterBtn--open<? } ?>">
<i class="fa-solid fa-angles-right"></i>
</button>
</div>
<?php if (isset($data['custom_text'])) { ?>
<div class="main__text">
<p class='main__p'><?php echo $data['custom_text']; ?></p>
</div>
<?php } ?>
<div class="main__container">