25327e3302
[events.php](/Users/tyemeclifford/Documents/GH/MyKeyser/events.php) and [admin/events.php](/Users/tyemeclifford/Documents/GH/MyKeyser/admin/events.php): event image uploads. [menu.php](/Users/tyemeclifford/Documents/GH/MyKeyser/menu.php), [admin/menus.php](/Users/tyemeclifford/Documents/GH/MyKeyser/admin/menus.php), and [business.php](/Users/tyemeclifford/Documents/GH/MyKeyser/business.php): one configurable menu item image slot. [account.php](/Users/tyemeclifford/Documents/GH/MyKeyser/account.php): circular avatar upload and crop controls. [forum.php](/Users/tyemeclifford/Documents/GH/MyKeyser/forum.php), [admin/forum.php](/Users/tyemeclifford/Documents/GH/MyKeyser/admin/forum.php), [.htaccess](/Users/tyemeclifford/Documents/GH/MyKeyser/.htaccess), and [forum/index.php](/Users/tyemeclifford/Documents/GH/MyKeyser/forum/index.php): forum, categories, topic/reply uploads, permalinks, toggle/moderation. [includes/db.php](/Users/tyemeclifford/Documents/GH/MyKeyser/includes/db.php) and [includes/functions.php](/Users/tyemeclifford/Documents/GH/MyKeyser/includes/functions.php): schema upgrades and shared upload/image helpers. [assets/css/style.css](/Users/tyemeclifford/Documents/GH/MyKeyser/assets/css/style.css): neon styling for forum, images, avatars, attachments.
66 lines
3.0 KiB
PHP
66 lines
3.0 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title><?=e($pageTitle??'Discover Keyser WV')?></title>
|
|
<meta name="description" content="<?=e($pageDesc??'Discover Keyser, West Virginia — The Friendliest City in the U.S.A. Business directory, attractions, events and local information.')?>">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Oswald:wght@400;500;600&family=Source+Sans+3:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="/assets/css/style.css">
|
|
<?=$headExtra??''?>
|
|
</head>
|
|
<body>
|
|
|
|
<nav class="navbar" id="navbar">
|
|
<div class="nav-wrap">
|
|
<a href="/index.php" class="nav-brand">
|
|
<span class="brand-mtn">⛰</span>
|
|
<div><span class="brand-city">KEYSER</span><span class="brand-wv">WEST VIRGINIA</span></div>
|
|
</a>
|
|
<button class="hamburger" id="ham" aria-label="Toggle navigation">
|
|
<span></span><span></span><span></span>
|
|
</button>
|
|
<ul class="nav-links" id="navLinks">
|
|
<li><a href="/index.php" class="nl<?=($activeNav??'')==='home'?' active':''?>">Home</a></li>
|
|
<li><a href="/directory.php" class="nl<?=($activeNav??'')==='dir'?' active':''?>">Directory</a></li>
|
|
<li><a href="/attractions.php" class="nl<?=($activeNav??'')==='attr'?' active':''?>">Attractions</a></li>
|
|
<li><a href="/events.php" class="nl<?=($activeNav??'')==='events'?' active':''?>">Events</a></li>
|
|
<?php if ((authed() && setting('forum_enabled','1')==='1') || isAdmin()): ?>
|
|
<li><a href="/forum" class="nl<?=($activeNav??'')==='forum'?' active':''?>">Forum</a></li>
|
|
<?php endif; ?>
|
|
<li><a href="/about.php" class="nl<?=($activeNav??'')==='about'?' active':''?>">About</a></li>
|
|
<?php if (authed()): ?>
|
|
<?php if (isAdmin()): ?>
|
|
<li><a href="/admin/" class="nl nl-admin">⚙ Admin</a></li>
|
|
<?php else: ?>
|
|
<li><a href="/dashboard.php" class="nl">My Listings</a></li>
|
|
<?php endif; ?>
|
|
<li class="user-wrap">
|
|
<button class="user-btn" id="userBtn">👤 <?=e(uname())?> ▾</button>
|
|
<div class="user-dd" id="userDd">
|
|
<a href="/dashboard.php">Dashboard</a>
|
|
<a href="/account.php">Account Settings</a>
|
|
<hr>
|
|
<a href="/logout.php">Sign Out</a>
|
|
</div>
|
|
</li>
|
|
<?php else: ?>
|
|
<li><a href="/login.php" class="nl">Login</a></li>
|
|
<?php if (setting('registration_enabled','1') === '1'): ?>
|
|
<li><a href="/register.php" class="nl nl-join">Sign Up</a></li>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<?php foreach (getFlashes() as [$type,$msg]): ?>
|
|
<div class="flash f-<?=e($type)?>" role="alert">
|
|
<span><?=e($msg)?></span>
|
|
<button onclick="this.parentElement.remove()" aria-label="Dismiss">✕</button>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
|
|
<main id="top">
|