X7ROOT File Manager
Current Path:
/home/u126090504/domains/chanakyahss.org.in/public_html
home
/
u126090504
/
domains
/
chanakyahss.org.in
/
public_html
/
📄
+2science.php
(6.75 KB)
📁
..
📄
about.php
(11.62 KB)
📄
achievers.php
(5.62 KB)
📁
admin
📄
application-form.php
(9.65 KB)
📁
assets
📁
chanayak
📄
config.php
(1.16 KB)
📄
contact.php
(8.18 KB)
📄
contactdb.php
(796 B)
📄
course.php
(43.71 KB)
📄
dmlt.php
(5.61 KB)
📄
downloads.php
(2.94 KB)
📄
facilities.php
(5.33 KB)
📄
faculty.php
(4.09 KB)
📄
footer.php
(8.19 KB)
📄
future (2).zip
(59.78 MB)
📄
gallery.php
(4.25 KB)
📄
gnm.php
(6.5 KB)
📄
header.php
(11.33 KB)
📄
index.php
(47.35 KB)
📁
lib
📄
peret.php
(266.87 KB)
📄
principal's-message.php
(3.11 KB)
📄
public-disclosure.php
(3.53 KB)
📁
qrcodes
📄
syllabus.php
(2.7 KB)
📄
thank-you.php
(1.28 KB)
📄
time-table.php
(2.25 KB)
📄
u126090504_future (2).sql
(29.78 KB)
📄
u126090504_future.sql
(29.78 KB)
📁
uploads
Editing: time-table.php
<?php require_once 'config.php'; include 'header.php'; ?> <style> .timetable-card { border: 2px solid #f3dcdc; padding: 20px; border-radius: 15px; margin-bottom: 30px; background: #fff; } .timetable-title { font-size: 25px; font-weight: 700; } .pdf-badge { background: red; color: white; font-weight: 600; padding: 6px 12px; border-radius: 50px; font-size: 14px; position: absolute; right: 20px; top: 20px; } .timetable-preview { width: 100%; height: 700px; border: 1px solid #ccc; border-radius: 10px; } </style> <!-- ================= BREADCRUMB ================= --> <div class="site-breadcrumb" style="background: url(assets/img/breadcrumb/01.jpg)"> <div class="container"> <h2 class="breadcrumb-title">Time Table</h2> <ul class="breadcrumb-menu"> <li><a href="index.php">Home</a></li> <li class="active">Time Table</li> </ul> </div> </div> <!-- =============== BREADCRUMB END ================= --> <div class="container" style="margin-top: 50px; margin-bottom: 50px;"> <h2 class="timetable-title">Latest Time Table</h2> <hr> <?php $res = $conn->query("SELECT * FROM timetable ORDER BY id DESC LIMIT 1"); if ($res && $res->num_rows > 0) { $row = $res->fetch_assoc(); $title = htmlspecialchars($row['title']); $file = htmlspecialchars($row['file_name']); $uploaded = date("d M Y, h:i A", strtotime($row['created_at'])); $fileUrl = "uploads/timetable/" . $file; $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); ?> <div class="timetable-card position-relative"> <span class="pdf-badge"><?= strtoupper($ext) ?></span> <h3><?= $title ?></h3> <p>Uploaded: <?= $uploaded ?></p> <?php if ($ext == "pdf") { ?> <iframe src="<?= $fileUrl ?>" class="timetable-preview"></iframe> <?php } else { ?> <img src="<?= $fileUrl ?>" class="timetable-preview" style="object-fit:contain;"> <?php } ?> </div> <?php } else { ?> <p>No Time Table Uploaded Yet.</p> <?php } ?> </div> <?php include 'footer.php'; ?>
Upload File
Create Folder