<?php
require_once __DIR__ . '/../config/db.php';
if (session_status() === PHP_SESSION_NONE) session_start();
if (!isset($_SESSION['admin_id'])) { header('Location: /WATCHING/admin/login.php'); exit; }
?>
<!doctype html>
<html><head><link href="/WATCHING/assets/css/styles.css" rel="stylesheet"></head><body class="glass-bg">
<div class="container">
  <div class="glass-card" style="padding:16px;margin-top:20px;">
    <h2>Admin Dashboard</h2>
    <ul>
      <li><a href="/WATCHING/admin/products_add.php">Add Product</a></li>
      <li><a href="/WATCHING/admin/products_list.php">Manage Products</a></li>
      <li><a href="/WATCHING/admin/featured.php">Featured Products</a></li>
      <li><a href="/WATCHING/admin/seasonal.php">Seasonal Collection (For Her / For Him)</a></li>
      <li><a href="/WATCHING/admin/best_seller.php">Best Seller Products</a></li>
      <li><a href="/WATCHING/admin/orders_list.php">Orders</a></li>
      <li><a href="/WATCHING/admin/users_list.php">Users</a></li>
      <li><a href="/WATCHING/admin/contacts_list.php">Contact Messages</a></li>
    </ul>
  </div>
</div>
</body></html>