<?php $u = current_user(); ?>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title><?= htmlspecialchars(APP_NAME) ?></title><link rel="stylesheet" href="<?= APP_URL ?>/assets/style.css"></head><body>
<header class="top"><div class="brand"><span class="stag">FS</span><div><strong>Faithorn & Stag Academy</strong><small>Chuck & Blade Burgers Training</small></div></div>
<nav><?php if($u): ?><span><?= htmlspecialchars($u['first_name']) ?> <?= htmlspecialchars($u['last_name']) ?></span><a href="<?= APP_URL ?>/logout.php">Logout</a><?php endif; ?></nav></header>
<main class="wrap">
