<?php
// Example wrapper for a Tabler page.
require_once __DIR__ . '/../../bootstrap.php';
require_auth();

$pageTitle = 'OnePanel';
$currentUser = $_SESSION[$authVar] ?? 'user';
$menuItems = [
  ['label' => 'DNS', 'href' => 'dashboard.php?dns'],
  ['label' => 'Announcements', 'href' => 'dashboard.php?notifications'],
  ['label' => 'Messages', 'href' => 'dashboard.php?messages'],
  ['label' => 'Ads', 'href' => 'dashboard.php?ads'],
  ['label' => 'VPN', 'href' => 'dashboard.php?vpn'],
  ['label' => 'Profile', 'href' => 'dashboard.php?profile'],
];

include __DIR__ . '/head.php';
include __DIR__ . '/navbar.php';
include __DIR__ . '/sidebar.php';
?>
<main class="page-wrapper">
  <div class="page-body">
    <div class="container-xl">
      <div class="page-header d-print-none">
        <div class="row g-2 align-items-center">
          <div class="col">
            <h2 class="page-title">Tabler Template Wired</h2>
            <div class="text-muted mt-1">This is a clean Tabler shell (no demo widgets).</div>
          </div>
        </div>
      </div>

      <div class="card">
        <div class="card-body">
          Drop your module content here.
        </div>
      </div>

    </div>
  </div>
</main>
<?php include __DIR__ . '/footer.php'; ?>
