<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <title>Importar CSV</title>
    <link rel="stylesheet" href="/UdLosesSubjects/public/colors.css">
    <link rel="stylesheet" href="/UdLosesSubjects/public/menu.css">
    <link rel="stylesheet" href="/UdLosesSubjects/public/app.css">
    <link rel="stylesheet" href="/UdLosesSubjects/public/css/admin.css">
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    
</head>
<?php include APP_PATH .'/views/components/navbar.php'; ?>
<body>
    <div class="main-content">
        <div class="dashboard">
            <!-- Tarjeta Azul -->
            <div class="card card-blue">
                <div class="card-content">
                    <h3><?php echo $data['countStudents'][0]['count']; ?></h3>
                    <p>Estudiantes</p>
                </div>
                <div class="card-footer">
                    <a href="<?php echo URL_PATH; ?>/Student/index">Gestionar estudiantes</a>
                </div>
            </div>

            <!-- Tarjeta Verde -->
            <div class="card card-green">
                <div class="card-content">
                    <h3><?php echo $data['countCourses'][0]['count']; ?></h3>
                    <p>Cursos</p>
                </div>
                <div class="card-footer">
                    <a href="<?php echo URL_PATH; ?>/courses/index">Gestionar cursos</a>
                </div>
            </div>

            <!-- Tarjeta Amarilla -->
            <div class="card card-yellow">
                <div class="card-content">
                    <h3><?php echo $data['countAcuerdos'][0]['count']; ?></h3>
                    <p>Acuerdos</p>
                </div>
                <div class="card-footer">
                    <a href="<?php echo URL_PATH; ?>/agreements/index">Gestionar acuerdos</a>
                </div>
            </div>

            <!-- Tarjeta Roja -->
            <div class="card card-red">
                <div class="card-content">
                    <h3><?php echo $data['countEstadosAcademicos'][0]['count']; ?></h3>
                    <p>Estados Academicos</p>
                </div>
                <div class="card-footer">
                    <a href="<?php echo URL_PATH; ?>/EstadoAcademico/index">Gestionar estados academicos</a>
                </div>
            </div>

            <!-- Tarjeta Roja -->
            <div class="card card-red">
                <div class="card-content">
                    <h3><?php echo $data['countProgramas'][0]['count']; ?></h3>
                    <p>Programas</p>
                </div>
                <div class="card-footer">
                    <a href="<?php echo URL_PATH; ?>/Programs/index">Gestionar programas</a>
                </div>
            </div>
        </div>
    </div>
    <?php include APP_PATH .'/views/components/footer.php'; ?>
</body>
</html>