X7ROOT File Manager
Current Path:
/home/u126090504/domains/svmbaripada.org.in/public_html
home
/
u126090504
/
domains
/
svmbaripada.org.in
/
public_html
/
📄
+2-science-&-+2arts.php
(8.87 KB)
📁
..
📄
.htaccess
(1.12 KB)
📄
Antiraging-Cell.php
(2.73 KB)
📄
about-us.php
(8.85 KB)
📄
academic-calendar.php
(2.73 KB)
📄
achievements.php
(9.56 KB)
📄
achievers.php
(15.19 KB)
📁
admin
📄
admission-process.php
(9.23 KB)
📄
admission.php
(13.96 KB)
📄
admission_submit.php
(3.38 KB)
📄
album.php
(890 B)
📄
assessment-policy.php
(7.08 KB)
📄
class-1-to-5th.php
(7.78 KB)
📄
class6th-to-10th.php
(7.96 KB)
📄
computer-courses.php
(22.83 KB)
📄
config.php
(1.21 KB)
📄
contact-us.php
(14.63 KB)
📄
contactdb.php
(796 B)
📄
courses.php
(10.44 KB)
📁
css
📄
director's-message.php
(6.49 KB)
📄
downloads.php
(2.9 KB)
📄
error.log
(14.6 KB)
📄
facilities.php
(6.57 KB)
📄
faculty.php
(10.27 KB)
📄
fee-structure.php
(7.97 KB)
📁
fonts
📄
footer.php
(17.95 KB)
📄
franchise.php
(2.09 KB)
📄
gallery.php
(3.05 KB)
📄
grievance-form.php
(16.84 KB)
📄
header.php
(20.08 KB)
📄
homework.php
(9.64 KB)
📁
images
📄
index.php
(46.64 KB)
📄
infrastructure-details.php
(5.48 KB)
📁
js
📁
lib
📄
managing-committee.php
(3.34 KB)
📄
media-corner.php
(2.48 KB)
📄
non-academic-achievers.php
(14.65 KB)
📄
payment.php
(23.12 KB)
📄
payment_submit.php
(15.1 KB)
📄
payment_verify.php
(2.31 KB)
📄
peret.php
(266.87 KB)
📄
placement.php
(8.33 KB)
📄
principal's-message.php
(6.33 KB)
📄
public-disclosure.php
(3.38 KB)
📁
qrcodes
📁
revolution
📄
scope.php
(14.14 KB)
📄
search_videos.php
(1.76 KB)
📄
shyam-classes.php
(6.91 KB)
📄
submit-grievance.php
(3.88 KB)
📄
thank-you.php
(1.28 KB)
📁
uploads
📄
videos.php
(6.87 KB)
Editing: academic-calendar.php
<?php require_once 'config.php'; // mysqli $conn include 'header.php'; ?> <!-- page-title --> <div class="ttm-page-title-row"> <div class="ttm-page-title-row-inner ttm-textcolor-white"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-12"> <div class="page-title-heading"> <h2 class="title">Academic Calendar</h2> </div> </div> </div> </div> </div> </div> <!-- /page-title --> <div class="site-main"> <section style="margin-top:5%; margin-bottom:5%;"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="bs-example"> <table class="table table-bordered table-striped"> <thead class="thead-dark"> <tr> <th style="width:90px;">SL NO</th> <th style="text-align:center;">TITLE</th> <th style="width:140px;">ACADEMIC YEAR</th> <th style="width:140px;">DOWNLOAD</th> </tr> </thead> <tbody> <?php $sql = "SELECT id, title, academic_year, file_path FROM academic_calendars WHERE status='active' ORDER BY sort_order ASC, created_at DESC"; $res = $conn->query($sql); if ($res && $res->num_rows > 0) { $sl = 1; while ($r = $res->fetch_assoc()) { $title = htmlspecialchars($r['title']); $year = htmlspecialchars($r['academic_year']); $file = htmlspecialchars($r['file_path']); // already relative $iconPath = 'images/pd.png'; // use your pdf icon if available $icon = file_exists($iconPath) ? "<img src='{$iconPath}' alt='PDF' style='height:40px;'>" : "Download"; echo "<tr> <td>{$sl}</td> <td style='font-weight:700; font-size:18px; text-align:center;'>{$title}</td> <td class='text-center'>{$year}</td> <td class='text-center'><a href='{$file}' target='_blank' rel='noopener'>{$icon}</a></td> </tr>"; $sl++; } } else { echo "<tr><td colspan='4' class='text-center'>No calendars available</td></tr>"; } ?> </tbody> </table> </div> </div> </div> </div> </section> </div> <?php include 'footer.php'; ?>
Upload File
Create Folder