forked from xziino/ff14-mitigator
21 lines
821 B
PHP
21 lines
821 B
PHP
<header id="topbar">
|
|
<div class="logo">REPORT VIEWER <span>Final Fantasy XIV</span></div>
|
|
<nav class="tabs">
|
|
<button class="tab active" data-tab="report">⚔ Report</button>
|
|
<button class="tab" data-tab="analysis">⚖ Analyse</button>
|
|
<button class="tab" data-tab="planner">☰ Planer</button>
|
|
</nav>
|
|
<?php $fflogsUser = current_fflogs_user(); ?>
|
|
<div class="topbar-actions">
|
|
<?php if (is_admin_user()): ?>
|
|
<a class="topbar-link" href="admin.php">Admin</a>
|
|
<?php endif; ?>
|
|
<div class="topbar-user">
|
|
<?php if ($fflogsUser): ?>
|
|
<?= htmlspecialchars($fflogsUser['name'] ?: 'FFLogs User') ?> #<?= htmlspecialchars($fflogsUser['id']) ?> ·
|
|
<?php endif; ?>
|
|
Token gültig bis: <?= date('Y-m-d H:i:s', $_SESSION['token_expires']) ?>
|
|
</div>
|
|
</div>
|
|
</header>
|