35867-vm/index.php
Flatlogic Bot 6d48e88ec8 V1.0
2025-11-20 11:10:15 +00:00

76 lines
3.6 KiB
PHP

<?php
session_start();
$message = null;
$message_type = 'danger';
if (isset($_SESSION['login_error'])) {
$message = $_SESSION['login_error'];
unset($_SESSION['login_error']);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to SchoolAdmin</title>
<meta name="description" content="SchoolAdmin: Streamline academic management with tailored dashboards for admins, teachers, students, and bursars.">
<meta name="keywords" content="school management, academic reporting, student information system, gradebook, parent portal, teacher dashboard, school administration, student results, fee management, class management, education technology, k-12 software">
<meta property="og:type" content="website">
<meta property="og:title" content="School Management App">
<meta property="og:description" content="SchoolAdmin: Streamline academic management with tailored dashboards for admins, teachers, students, and bursars.">
<meta property="og:image" content="https://project-screens.s3.amazonaws.com/screenshots/35867/app-hero-20251120-104052.png">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="School Management App">
<meta property="twitter:description" content="SchoolAdmin: Streamline academic management with tailored dashboards for admins, teachers, students, and bursars.">
<meta property="twitter:image" content="https://project-screens.s3.amazonaws.com/screenshots/35867/app-hero-20251120-104052.png">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<div class="login-container">
<div class="login-hero-split">
<div class="hero-content">
<h1 class="hero-title">SchoolAdmin</h1>
<p class="hero-subtitle">Effortless school management for modern educators.</p>
</div>
</div>
<div class="login-form-area">
<div class="login-card">
<h2 class="card-title text-center mb-4">Parent & Staff Login</h2>
<?php if ($message): ?>
<div class="alert alert-<?php echo $message_type; ?>" role="alert">
<?php echo htmlspecialchars($message); ?>
</div>
<?php endif; ?>
<form action="login.php" method="POST" id="loginForm">
<div class="mb-3">
<label for="email" class="form-label">Email Address</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary btn-lg">Login</button>
</div>
</form>
</div>
<div class="text-center mt-4">
<span class="text-muted">&copy; <?php echo date("Y"); ?> SchoolAdmin. All Rights Reserved.</span>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>