Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c63eff9bf3 |
8
_footer.php
Normal file
8
_footer.php
Normal file
@ -0,0 +1,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
80
_header.php
Normal file
80
_header.php
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Super Admin Dashboard - Online University</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--primary-color: #005A9C;
|
||||
--sidebar-width: 280px;
|
||||
--background-color: #f8f9fa;
|
||||
}
|
||||
body {
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
.sidebar {
|
||||
width: var(--sidebar-width);
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
.main-content {
|
||||
margin-left: var(--sidebar-width);
|
||||
padding: 0;
|
||||
}
|
||||
.sidebar-header {
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #004a80;
|
||||
}
|
||||
.sidebar .nav-link {
|
||||
color: #e9ecef;
|
||||
padding: 0.75rem 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.sidebar .nav-link i {
|
||||
margin-right: 0.75rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.sidebar .nav-link:hover, .sidebar .nav-link.active {
|
||||
background-color: #004a80;
|
||||
color: #fff;
|
||||
}
|
||||
.navbar-main {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
.content-area {
|
||||
padding: 2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="d-flex">
|
||||
<?php require_once '_sidebar.php'; ?>
|
||||
<div class="main-content flex-grow-1">
|
||||
<nav class="navbar navbar-expand-lg navbar-main">
|
||||
<div class="container-fluid">
|
||||
<span class="navbar-brand">Welcome to the Online University Portal</span>
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#"><i class="bi bi-bell-fill"></i><span class="badge rounded-pill bg-danger">3</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="index.php" target="_blank">View Public Site</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="content-area">
|
||||
<div class="container-fluid">
|
||||
29
_sidebar.php
Normal file
29
_sidebar.php
Normal file
@ -0,0 +1,29 @@
|
||||
<div class="sidebar d-flex flex-column p-0">
|
||||
<div class="sidebar-header">
|
||||
<h5 class="fs-4">Super Admin</h5>
|
||||
</div>
|
||||
<ul class="nav flex-column mb-auto">
|
||||
<li class="nav-item"><a href="dashboard.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'dashboard.php' ? 'active' : ''; ?>"><i class="bi bi-speedometer2"></i>Dashboard</a></li>
|
||||
<li class="nav-item"><a href="courses.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'courses.php' ? 'active' : ''; ?>"><i class="bi bi-journal-bookmark"></i>Courses</a></li>
|
||||
<li class="nav-item"><a href="students.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'students.php' ? 'active' : ''; ?>"><i class="bi bi-people"></i>Students</a></li>
|
||||
<li class="nav-item"><a href="universities.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'universities.php' ? 'active' : ''; ?>"><i class="bi bi-building"></i>Universities</a></li>
|
||||
<li class="nav-item"><a href="users.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'users.php' ? 'active' : ''; ?>"><i class="bi bi-person-badge"></i>Users/Roles</a></li>
|
||||
<li class="nav-item"><a href="faculty.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'faculty.php' ? 'active' : ''; ?>"><i class="bi bi-person-video3"></i>Faculty</a></li>
|
||||
<li class="nav-item"><a href="analytics.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'analytics.php' ? 'active' : ''; ?>"><i class="bi bi-bar-chart-line"></i>Analytics</a></li>
|
||||
<li class="nav-item"><a href="payments.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'payments.php' ? 'active' : ''; ?>"><i class="bi bi-credit-card"></i>Payments</a></li>
|
||||
<li class="nav-item"><a href="plans.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'plans.php' ? 'active' : ''; ?>"><i class="bi bi-card-checklist"></i>Plans</a></li>
|
||||
<li class="nav-item"><a href="academic.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'academic.php' ? 'active' : ''; ?>"><i class="bi bi-calendar-range"></i>Academic</a></li>
|
||||
<li class="nav-item"><a href="certificates.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'certificates.php' ? 'active' : ''; ?>"><i class="bi bi-patch-check"></i>Certificates</a></li>
|
||||
<li class="nav-item"><a href="attendance.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'attendance.php' ? 'active' : ''; ?>"><i class="bi bi-calendar-check"></i>Attendance</a></li>
|
||||
<li class="nav-item"><a href="alerts.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'alerts.php' ? 'active' : ''; ?>"><i class="bi bi-bell"></i>Alert Management</a></li>
|
||||
<li class="nav-item"><a href="audit.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'audit.php' ? 'active' : ''; ?>"><i class="bi bi-clipboard-data"></i>Audit</a></li>
|
||||
<li class="nav-item"><a href="results.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'results.php' ? 'active' : ''; ?>"><i class="bi bi-file-earmark-text"></i>Results</a></li>
|
||||
<li class="nav-item"><a href="forms.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'forms.php' ? 'active' : ''; ?>"><i class="bi bi-input-cursor-text"></i>Forms</a></li>
|
||||
<li class="nav-item"><a href="content.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'content.php' ? 'active' : ''; ?>"><i class="bi bi-file-richtext"></i>Content</a></li>
|
||||
<li class="nav-item"><a href="notifications.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'notifications.php' ? 'active' : ''; ?>"><i class="bi bi-chat-left-dots"></i>Notifications</a></li>
|
||||
<li class="nav-item"><a href="settings.php" class="nav-link <?php echo basename($_SERVER['PHP_SELF']) == 'settings.php' ? 'active' : ''; ?>"><i class="bi bi-gear"></i>Settings</a></li>
|
||||
</ul>
|
||||
<div class="sidebar-header mt-auto" style="border-top: 1px solid #004a80; border-bottom: none;">
|
||||
<a href="login.php" class="nav-link text-center"><i class="bi bi-box-arrow-left"></i> Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
6
academic.php
Normal file
6
academic.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Academic</h1>
|
||||
<p>Academic management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
alerts.php
Normal file
6
alerts.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Alert Management</h1>
|
||||
<p>Alert management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
analytics.php
Normal file
6
analytics.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Analytics</h1>
|
||||
<p>Analytics charts and reports will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
135
assets/css/custom.css
Normal file
135
assets/css/custom.css
Normal file
@ -0,0 +1,135 @@
|
||||
|
||||
:root {
|
||||
--primary-color: #005A9C;
|
||||
--secondary-color: #FDB813;
|
||||
--background-color: #F8F9FA;
|
||||
--surface-color: #FFFFFF;
|
||||
--text-color: #212529;
|
||||
--heading-font: 'Georgia', serif;
|
||||
--body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--body-font);
|
||||
color: var(--text-color);
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: var(--heading-font);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
transition: background-color 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-family: var(--heading-font);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.navbar.scrolled {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
min-height: 500px;
|
||||
background: url('https://picsum.photos/seed/universityhero/1600/900') no-repeat center center;
|
||||
background-size: cover;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.hero-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(45deg, rgba(0, 90, 156, 0.8), rgba(0, 90, 156, 0.6));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero .display-4 {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: var(--primary-color);
|
||||
border-color: var(--primary-color);
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 0.25rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #004170;
|
||||
border-color: #004170;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: var(--secondary-color);
|
||||
border-color: var(--secondary-color);
|
||||
color: var(--text-color);
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 0.25rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #d99d0b;
|
||||
border-color: #d99d0b;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
margin-bottom: 3rem;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
.testimonial-card {
|
||||
background-color: var(--surface-color);
|
||||
}
|
||||
|
||||
.testimonial-card blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: #343a40;
|
||||
color: white;
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
22
assets/js/main.js
Normal file
22
assets/js/main.js
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// Navbar scroll effect
|
||||
const navbar = document.querySelector('.navbar');
|
||||
window.addEventListener('scroll', () => {
|
||||
if (window.scrollY > 50) {
|
||||
navbar.classList.add('scrolled');
|
||||
} else {
|
||||
navbar.classList.remove('scrolled');
|
||||
}
|
||||
});
|
||||
|
||||
// Smooth scrolling for anchor links
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
||||
behavior: 'smooth'
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
6
attendance.php
Normal file
6
attendance.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Attendance</h1>
|
||||
<p>Attendance management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
audit.php
Normal file
6
audit.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Audit</h1>
|
||||
<p>Audit logs will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
certificates.php
Normal file
6
certificates.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Certificates</h1>
|
||||
<p>Certificate management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
content.php
Normal file
6
content.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Content</h1>
|
||||
<p>Content management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
courses.php
Normal file
6
courses.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Courses</h1>
|
||||
<p>Course management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
42
dashboard.php
Normal file
42
dashboard.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Dashboard Overview</h1>
|
||||
<p>Welcome, Super Admin. From here you can manage the entire university portal.</p>
|
||||
<!-- Placeholder for charts and widgets -->
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-3 mb-4">
|
||||
<div class="card text-white bg-primary">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"><i class="bi bi-people-fill"></i> Total Students</h5>
|
||||
<p class="card-text fs-4">1,234</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3 mb-4">
|
||||
<div class="card text-white bg-success">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"><i class="bi bi-wallet-fill"></i> Revenue (Month)</h5>
|
||||
<p class="card-text fs-4">$45,678</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3 mb-4">
|
||||
<div class="card text-white bg-info">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"><i class="bi bi-building-fill"></i> Affiliates</h5>
|
||||
<p class="card-text fs-4">12</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3 mb-4">
|
||||
<div class="card text-white bg-warning">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"><i class="bi bi-exclamation-triangle-fill"></i> New Alerts</h5>
|
||||
<p class="card-text fs-4">3</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>More widgets and analytics charts will be added here as we build out the features.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
faculty.php
Normal file
6
faculty.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Faculty</h1>
|
||||
<p>Faculty management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
forms.php
Normal file
6
forms.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Forms</h1>
|
||||
<p>Form builder and management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
308
index.php
308
index.php
@ -1,150 +1,176 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
@ini_set('display_errors', '1');
|
||||
@error_reporting(E_ALL);
|
||||
@date_default_timezone_set('UTC');
|
||||
|
||||
$phpVersion = PHP_VERSION;
|
||||
$now = date('Y-m-d H:i:s');
|
||||
?>
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>New Style</title>
|
||||
<?php
|
||||
// Read project preview data from environment
|
||||
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
|
||||
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||
?>
|
||||
<?php if ($projectDescription): ?>
|
||||
<!-- Meta description -->
|
||||
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
||||
<!-- Open Graph meta tags -->
|
||||
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||
<!-- Twitter meta tags -->
|
||||
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if ($projectImageUrl): ?>
|
||||
<!-- Open Graph image -->
|
||||
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
||||
<!-- Twitter image -->
|
||||
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
||||
<?php endif; ?>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
@keyframes bg-pan {
|
||||
0% { background-position: 0% 0%; }
|
||||
100% { background-position: 100% 100%; }
|
||||
}
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.loader {
|
||||
margin: 1.25rem auto 1.25rem;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
.hint {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px; height: 1px;
|
||||
padding: 0; margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap; border: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1rem;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
code {
|
||||
background: rgba(0,0,0,0.2);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
opacity: 0.7;
|
||||
}
|
||||
</style>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Online University Portal</title>
|
||||
<meta name="description" content="Online University Portal: Streamlined course enrollment, video lectures, and secure faculty-student interactions.">
|
||||
<meta name="keywords" content="online university, e-learning, virtual campus, digital education, course enrollment, video lectures, student portal, faculty portal, online courses, degree programs, higher education, remote learning">
|
||||
|
||||
<meta property="og:title" content="Online University Portal">
|
||||
<meta property="og:description" content="Online University Portal: Streamlined course enrollment, video lectures, and secure faculty-student interactions.">
|
||||
<meta property="og:image" content="https://project-screens.s3.amazonaws.com/screenshots/34613/app-hero-20251003-050530.png">
|
||||
<meta property="og:url" content="https://your-domain.com/">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:image" content="https://project-screens.s3.amazonaws.com/screenshots/34613/app-hero-20251003-050530.png">
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
<link rel="stylesheet" href="assets/css/custom.css">
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your website…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
|
||||
<!-- Header -->
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-transparent fixed-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#">Online University</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="#hero">Home</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#courses">Courses</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
|
||||
<li class="nav-item ms-lg-3"><a class="btn btn-primary" href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section id="hero" class="hero">
|
||||
<div class="hero-overlay">
|
||||
<div class="container">
|
||||
<h1 class="display-4 text-white">Your Future, Redefined.</h1>
|
||||
<p class="lead mb-4">Join a new generation of learners at the Online University. Excellence in digital education.</p>
|
||||
<a href="#courses" class="btn btn-primary btn-lg">Enroll Now</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- About Section -->
|
||||
<section id="about" class="section">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">About Us</h2>
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-6 mb-4 mb-lg-0">
|
||||
<img src="https://picsum.photos/seed/universityabout/800/600" class="img-fluid rounded shadow" alt="A diverse group of students collaborating in a library.">
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<h3>Welcome to the Future of Learning</h3>
|
||||
<p>Our Online University offers a flexible, accessible, and high-quality education designed for the modern world. We are committed to providing a transformative learning experience that empowers students to achieve their personal and professional goals.</p>
|
||||
<p>With world-class faculty, cutting-edge technology, and a vibrant global community, we bring the university to you, wherever you are.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Courses Section -->
|
||||
<section id="courses" class="section bg-light">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">Our Programs</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-4 mb-4">
|
||||
<div class="card h-100">
|
||||
<img src="https://picsum.photos/seed/universitycourse/600/400" class="card-img-top" alt="A student working on a laptop in a classroom.">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Computer Science (BSCS)</h5>
|
||||
<p class="card-text">Explore the depths of computing, from algorithms to artificial intelligence.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-4">
|
||||
<div class="card h-100">
|
||||
<img src="https://picsum.photos/seed/civilengineering/600/400" class="card-img-top" alt="Architectural model of a bridge.">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Computer Engineering (BSCE)</h5>
|
||||
<p class="card-text">Bridge the gap between hardware and software, from microprocessors to operating systems.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-4 mb-4">
|
||||
<div class="card h-100">
|
||||
<img src="https://picsum.photos/seed/softwareengineering/600/400" class="card-img-top" alt="Team collaborating on code on a whiteboard.">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Software Engineering (BSSE)</h5>
|
||||
<p class="card-text">Master the art of software development and create impactful applications.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Testimonials Section -->
|
||||
<section id="testimonials" class="section">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">What Our Students Say</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 mb-4">
|
||||
<div class="card testimonial-card p-4 h-100">
|
||||
<blockquote class="blockquote mb-0">
|
||||
<p>"The flexibility of online learning allowed me to balance my studies with my job. The professors are amazing!"</p>
|
||||
<footer class="blockquote-footer">Jane Doe, <cite title="Source Title">BSCS Graduate</cite></footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 mb-4">
|
||||
<div class="card testimonial-card p-4 h-100">
|
||||
<blockquote class="blockquote mb-0">
|
||||
<p>"I never thought I'd be able to connect with so many people from around the world. It's a truly global classroom."</p>
|
||||
<footer class="blockquote-footer">John Smith, <cite title="Source Title">MSE Student</cite></footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Contact Section -->
|
||||
<section id="contact" class="section bg-light">
|
||||
<div class="container">
|
||||
<h2 class="text-center section-title">Get in Touch</h2>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<p class="text-center mb-4">Have questions? We'd love to hear from you. Fill out the form below and a member of our team will get back to you shortly.</p>
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<input type="text" class="form-control" placeholder="Your Name" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input type="email" class="form-control" placeholder="Your Email" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<textarea class="form-control" rows="5" placeholder="Your Message" required></textarea>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary">Send Message</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="footer">
|
||||
<div class="container text-center">
|
||||
<div class="mb-3">
|
||||
<a href="#" class="text-white me-3"><i class="bi bi-twitter"></i></a>
|
||||
<a href="#" class="text-white me-3"><i class="bi bi-facebook"></i></a>
|
||||
<a href="#" class="text-white me-3"><i class="bi bi-linkedin"></i></a>
|
||||
</div>
|
||||
<p>© <?php echo date("Y"); ?> Online University. All Rights Reserved.</p>
|
||||
<a href="privacy.php">Privacy Policy</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="assets/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
83
login.php
Normal file
83
login.php
Normal file
@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Login - Online University</title>
|
||||
<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">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary sticky-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="index.php">Online University</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="index.php">Home</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="container my-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body p-4">
|
||||
<h1 class="card-title text-center mb-4">Login</h1>
|
||||
<form action="dashboard.php" method="POST">
|
||||
<div class="mb-3">
|
||||
<label for="userId" class="form-label">User ID</label>
|
||||
<input type="text" class="form-control" id="userId" name="userId" 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">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="bg-light text-center text-lg-start mt-auto">
|
||||
<div class="container p-4">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-12 mb-4 mb-md-0">
|
||||
<h5 class="text-uppercase">Online University</h5>
|
||||
<p>
|
||||
Providing quality education for a brighter future.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-6 mb-4 mb-md-0">
|
||||
<h5 class="text-uppercase">Links</h5>
|
||||
<ul class="list-unstyled mb-0">
|
||||
<li>
|
||||
<a href="privacy.php" class="text-dark">Privacy Policy</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="sitemap.xml" class="text-dark">Sitemap</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
|
||||
© 2025 Online University
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="assets/js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
6
notifications.php
Normal file
6
notifications.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Notifications</h1>
|
||||
<p>Notification management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
payments.php
Normal file
6
payments.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Payments</h1>
|
||||
<p>Payment management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
plans.php
Normal file
6
plans.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Plans</h1>
|
||||
<p>Plan management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
19
privacy.php
Normal file
19
privacy.php
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Privacy Policy - Online University</title>
|
||||
<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">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container py-5">
|
||||
<h1>Privacy Policy</h1>
|
||||
<p>This is a placeholder for the Privacy Policy page.</p>
|
||||
<p>Information on how user data is collected, used, and protected will be detailed here.</p>
|
||||
<a href="/" class="btn btn-primary">Go back to Home</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
6
results.php
Normal file
6
results.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Results</h1>
|
||||
<p>Result management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
settings.php
Normal file
6
settings.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Settings</h1>
|
||||
<p>Settings management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
18
sitemap.xml
Normal file
18
sitemap.xml
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset
|
||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||
<url>
|
||||
<loc>https://your-domain.com/</loc>
|
||||
<lastmod>2025-10-03T05:05:30+00:00</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://your-domain.com/privacy.php</loc>
|
||||
<lastmod>2025-10-03T05:05:30+00:00</lastmod>
|
||||
<priority>0.80</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
6
students.php
Normal file
6
students.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Students</h1>
|
||||
<p>Student management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
6
universities.php
Normal file
6
universities.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php require_once '_header.php'; ?>
|
||||
|
||||
<h1 class="mb-4">Universities</h1>
|
||||
<p>University management will be implemented here.</p>
|
||||
|
||||
<?php require_once '_footer.php'; ?>
|
||||
Loading…
x
Reference in New Issue
Block a user