<?php
session_start();
include __DIR__ . '/auth.php';

include __DIR__ . '/includes/header.php';
include __DIR__ . '/includes/sidebar.php';
include $_SERVER['DOCUMENT_ROOT'] . '/includes/navigation.php';
?>

<div class="main-wrap">
    <div class="content-panel">

        <h1 class="section-title center-text">🛡 Admin Dashboard</h1>

        <div class="admin-grid">

            <!-- COMMENTS -->
            <a href="comments.php" class="admin-card">💬 Comments</a>

            <!-- POLL -->
            <a href="poll.php" class="admin-card">📊 Poll</a>

            <!-- SCHEDULE -->
            <a href="schedule.php" class="admin-card">📅 Schedule</a>

            <!-- DJS -->
            <a href="djs.php" class="admin-card">🎧 DJs</a>

            <!-- FRIENDS -->
            <a href="friends.php" class="admin-card">🤝 Friends</a>

            <!-- REQUESTS -->
            <a href="requests.php" class="admin-card">🎶 Requests</a>

            <!-- APPLICATIONS -->
            <a href="applications.php" class="admin-card">📝 Applications</a>

            <!-- CONTACT -->
            <a href="contact.php" class="admin-card">📨 Contact</a>

            <!-- USER MANAGEMENT (ADMIN ONLY) -->
            <?php if ($_SESSION['role'] === 'admin'): ?>
                <a href="users.php" class="admin-card">👤 User Management</a>
            <?php endif; ?>

            <!-- NEWS -->
            <a href="news.php" class="admin-card">📰 News</a>

            <!-- ABOUT -->
            <a href="about.php" class="admin-card">ℹ️ About</a>


            <!-- FANS -->
            <a href="fans.php" class="admin-card">⭐ Fans</a>

            <!-- EVENTS -->
            <a href="events.php" class="admin-card">🎉 Events</a>

            <!-- PAGES -->
            <a href="pages.php" class="admin-card">📄 Pages</a>

            <!-- MEDIA -->
            <a href="media.php" class="admin-card">🖼 Media</a>

            <!-- TOP 50 TOOLS -->
            <a href="top50.php" class="admin-card">🎵 Top 50 Tools</a>

            <!-- NAVIGATION -->
            <a href="navigation.php" class="admin-card">🧭 Navigation</a>

            <!-- PLAYER -->
            <a href="player.php" class="admin-card">▶ Player</a>

            <!-- FILE FINDER -->
            <a href="file-finder.php" class="admin-card">📁 File Finder</a>

            <!-- RADIO STATS -->
            <a href="radiostats.php" class="admin-card">📡 Radio Stats</a>

            <!-- HOSTING TOOLS -->
            <a href="https://broadcasturself.com/" target="_blank" class="admin-card">🛠 Hosting Tools</a>

            <!-- BACKUP (ADMIN ONLY) -->
            <?php if ($_SESSION['role'] === 'admin'): ?>
                <a href="http://cr3.broadcasturself.com:23990/" target="_blank" class="admin-card">📻 Backup</a>
            <?php endif; ?>
			
			<!-- WEB STATS -->
                <a href="westats.php" class="admin-card">📈 Web Stats</a>

        </div>

    </div>
</div>

<?php include __DIR__ . '/includes/footer.php'; ?>
