X7ROOT File Manager
Current Path:
/home/u126090504/domains/shreeganeshacademy.in/public_html/admin
home
/
u126090504
/
domains
/
shreeganeshacademy.in
/
public_html
/
admin
/
📁
..
📄
achievers.php
(13.81 KB)
📄
admissions.php
(5.67 KB)
📄
banners.php
(7.18 KB)
📄
change_password.php
(3.54 KB)
📄
contacts.php
(3.83 KB)
📄
dashboard.php
(9.86 KB)
📄
downloads.php
(4.91 KB)
📄
export_franchise.php
(930 B)
📄
faculty.php
(13.27 KB)
📄
forgot_password.php
(6.52 KB)
📄
franchise.php
(7.28 KB)
📄
gallery.php
(3.08 KB)
📄
governing-body-manage.php
(9.12 KB)
📄
grievance-update.php
(1003 B)
📄
grievance-view.php
(5.32 KB)
📄
grievances.php
(5.79 KB)
📁
includes
📄
index.php
(82 B)
📄
login.php
(6.59 KB)
📄
logout.php
(102 B)
📄
manage_albums.php
(2.28 KB)
📄
manage_media.php
(3.02 KB)
📄
manage_photos.php
(5.66 KB)
📄
manage_videos.php
(3.62 KB)
📄
new_password.php
(3.9 KB)
📄
notice.php
(16.36 KB)
📄
notices.php
(8.24 KB)
📄
payments.php
(15.23 KB)
📁
phpmailer
📄
popup.php
(10.68 KB)
📄
reset_password.php
(2.27 KB)
📄
secure_session.php
(1000 B)
📄
settings.php
(5.21 KB)
📄
submit-grievance.php
(4.97 KB)
📄
testimonials.php
(10.25 KB)
📄
update_status.php
(1.29 KB)
📄
upi_settings.php
(1.52 KB)
Editing: dashboard.php
<?php include 'secure_session.php'; include 'includes/auth.php'; require_once '../config.php'; include 'includes/header.php'; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Admin Dashboard</title> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet"> <style> :root { --primary: #490101; --primary-light: #751919; --bg: #f4f5f8; --text: #1a1a1a; --muted: #666; --white: #fff; } /* ====== Base ====== */ body { background: var(--bg); font-family: "Segoe UI", "Inter", sans-serif; color: var(--text); margin: 0; padding: 0; overflow-x: hidden; } /* ====== Hero Header ====== */ .dashboard-header { text-align: center; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 50px 20px 40px; border-radius: 0 0 40px 40px; box-shadow: 0 10px 40px rgba(73, 1, 1, 0.35); position: relative; overflow: hidden; } .dashboard-header:before { content: ""; position: absolute; top: -50%; left: -10%; width: 40%; height: 200%; transform: rotate(25deg); background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent 70%); animation: lightSweep 6s ease-in-out infinite; } @keyframes lightSweep { 0% { transform: translateX(-100%) rotate(25deg); opacity: 0; } 40% { opacity: 0.8; } 100% { transform: translateX(200%) rotate(25deg); opacity: 0; } } .dashboard-header h1 { font-weight: 800; font-size: 30px; margin: 0 0 8px; } .dashboard-header small { opacity: 0.9; } /* ====== Tile Grid ====== */ .dashboard-container { max-width: 1100px; margin: 40px auto; padding: 0 20px; } .tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; } .tile { background: linear-gradient(135deg, #fff, #f9f9f9); border: 1px solid rgba(73, 1, 1, 0.08); border-radius: 18px; box-shadow: 0 8px 20px rgba(73, 1, 1, 0.08), inset 0 1px 0 rgba(255,255,255,0.8); text-align: left; padding: 24px 22px; text-decoration: none; color: var(--text); position: relative; overflow: hidden; transition: all 0.3s ease; transform-style: preserve-3d; } .tile:hover { transform: translateY(-8px) scale(1.03) rotateX(6deg); box-shadow: 0 16px 36px rgba(73, 1, 1, 0.18); border-color: rgba(73, 1, 1, 0.2); } .tile:before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73, 1, 1, 0.05), rgba(255,255,255,0)); opacity: 0; transition: opacity 0.3s ease; } .tile:hover:before { opacity: 1; } /* ====== Tile Icon ====== */ .tile i { font-size: 38px; color: var(--primary); margin-bottom: 18px; display: block; transition: transform 0.3s ease; } .tile:hover i { transform: scale(1.15) rotate(-3deg); } .tile h5 { margin: 0; font-size: 17px; font-weight: 700; color: var(--primary); } /* ====== Search Bar ====== */ .search-bar { text-align: center; margin: 30px auto 50px; } .search-bar input { width: 80%; max-width: 400px; padding: 14px 18px; border: 1px solid rgba(73, 1, 1, 0.2); border-radius: 10px; font-size: 15px; outline: none; box-shadow: 0 4px 10px rgba(0,0,0,0.05); } /* ====== Section Title ====== */ .section-title { font-size: 22px; font-weight: 800; color: var(--primary); text-align: center; margin-top: 60px; margin-bottom: 20px; } /* ====== Footer ====== */ .footer-custom { text-align: center; padding: 20px; color: #555; font-size: 14px; font-family: monospace; } #typed-welcome, #typed-footer { border-right: 2px solid #fff; display: inline-block; padding-right: 4px; animation: blink 0.7s infinite; } @keyframes blink { 0% { border-color: transparent; } 50% { border-color: #fff; } 100% { border-color: transparent; } } </style> </head> <body> <!-- ===== HEADER ===== --> <section class="dashboard-header"> <h1><span id="typed-welcome"></span></h1> <small><?php echo htmlspecialchars($_SESSION['admin_email'] ?? ''); ?></small> </section> <!-- ===== SEARCH BAR ===== --> <div class="search-bar"> <input type="text" id="searchInput" placeholder="Search tiles... (press / to focus)" aria-label="Search tiles"> </div> <!-- ===== MAIN CONTAINER ===== --> <div class="dashboard-container"> <div class="tile-grid" id="tileGrid"> <a href="banners.php" class="tile" data-title="Banners" aria-label="Banners"><i></i><h5>Banners</h5></a> <a href="notices.php" class="tile" data-title="Notices" aria-label="Notices"><i></i><h5>Notices</h5></a> <a href="notice.php" class="tile" data-title="Latest Updates" aria-label="Latest Updates"><i></i><h5>Latest Updates</h5></a> <a href="achievers.php" class="tile" data-title="Achievers" aria-label="Achievers"><i></i><h5>Achievers</h5></a> <a href="admissions.php" class="tile" data-title="Admissions" aria-label="Admissions"><i></i><h5>Admissions</h5></a> <a href="testimonials.php" class="tile" data-title="Testimonials" aria-label="Testimonials"><i></i><h5>Testimonials</h5></a> <a href="contacts.php" class="tile" data-title="Contacts" aria-label="Contacts"><i></i><h5>Contacts</h5></a> <a href="popup.php" class="tile" data-title="Popup Banner" aria-label="Popup Banner"><i></i><h5>Popup Banner</h5></a> <a href="downloads.php" class="tile" data-title="Downloads" aria-label="Downloads"><i></i><h5>Downloads</h5></a> <a href="manage_albums.php" class="tile" data-title="Albums" aria-label="Albums"><i></i><h5>Albums</h5></a> <a href="manage_photos.php" class="tile" data-title="Photos" aria-label="Photos"><i></i><h5>Photos</h5></a> <a href="manage_videos.php" class="tile" data-title="Videos" aria-label="Videos"><i></i><h5>Videos</h5></a> </div> <h4 class="section-title">🔐 Password Management</h4> <div class="tile-grid"> <a href="change_password.php" class="tile" data-title="Change Password" aria-label="Change Password"><i></i><h5>Change Password</h5></a> <a href="forgot_password.php" class="tile" data-title="Reset via Email" aria-label="Reset via Email"><i></i><h5>Reset via Email</h5></a> </div> </div> <!-- ===== FOOTER ===== --> <div class="footer-custom"><span id="typed-footer"></span></div> <script> /* ==== Typing Effects ==== */ document.addEventListener("DOMContentLoaded", function(){ const welcomeText = "👋 Welcome, <?php echo htmlspecialchars($_SESSION['admin_username'] ?? 'Admin'); ?>"; const w = document.getElementById("typed-welcome"); let i = 0, del = false; (function type(){ if(!del){ w.textContent = welcomeText.substring(0, i++); if(i > welcomeText.length){ del = true; setTimeout(type, 1600); return; } } else{ w.textContent = welcomeText.substring(0, i--); if(i === 0) del = false; } setTimeout(type, del ? 50 : 90); })(); const footerText = "Developed by Eduweb Software Solutions | Support: support@eduwebsoft.co.in | Mo: 8984234299, 9861845796"; const f = document.getElementById("typed-footer"); let j = 0, del2 = false; (function typeFooter(){ if(!del2){ f.textContent = footerText.substring(0, j++); if(j > footerText.length){ del2 = true; setTimeout(typeFooter, 1400); return; } } else{ f.textContent = footerText.substring(0, j--); if(j === 0) del2 = false; } setTimeout(typeFooter, del2 ? 45 : 90); })(); }); /* ==== Auto Icons by Title (FA 6.5) ==== */ (function(){ // Map keys -> perfect matching icons for FA 6 const iconMap = [ // Content & media { keys:["banner","popup"], icon:"fa-image" }, { keys:["album","gallery"], icon:"fa-images" }, { keys:["photo","image"], icon:"fa-photo-film" }, { keys:["video"], icon:"fa-video" }, // Site sections / info { keys:["notice","announcement","circular"], icon:"fa-bullhorn" }, { keys:["latest","update","news"], icon:"fa-newspaper" }, { keys:["achiever","achievement","topper"], icon:"fa-user-graduate" }, { keys:["admission","enroll","apply"], icon:"fa-user-plus" }, { keys:["faculty","teacher","staff"], icon:"fa-chalkboard-user" }, // FA6 name { keys:["governing","committee","body","management"], icon:"fa-people-group" }, { keys:["testimonial","review","feedback"], icon:"fa-comments" }, { keys:["contact","addressbook"], icon:"fa-address-book" }, { keys:["mail","email"], icon:"fa-envelope" }, { keys:["grievance","complaint","issue","query","support"], icon:"fa-clipboard-list" }, { keys:["download","file"], icon:"fa-file-arrow-down" }, { keys:["recruiter","placement","career","job"], icon:"fa-briefcase" }, // Security / auth { keys:["password","key","security"], icon:"fa-key" } ]; const fallback = "fa-square"; document.querySelectorAll('.tile').forEach(tile=>{ const titleSource = (tile.dataset.title || tile.textContent || "").toLowerCase(); const iEl = tile.querySelector('i'); let icon = fallback; for(const m of iconMap){ if(m.keys.some(k => titleSource.includes(k))){ icon = m.icon; break; } } iEl.className = `fa-solid ${icon}`; }); })(); /* ==== Search Filter ==== */ (function(){ const input = document.getElementById('searchInput'); const tiles = Array.from(document.querySelectorAll('.tile')); function filter(){ const q = input.value.trim().toLowerCase(); tiles.forEach(t=>{ const txt = (t.dataset.title || t.textContent).toLowerCase(); t.style.display = txt.includes(q) ? '' : 'none'; }); } input.addEventListener('input', filter); window.addEventListener('keydown', e=>{ if(e.key === '/' && document.activeElement !== input){ e.preventDefault(); input.focus(); } }); })(); </script> </body> </html> <?php include 'includes/footer.php'; ?>
Upload File
Create Folder