X7ROOT File Manager
Current Path:
/home/u126090504/domains/oca.org.in/public_html
home
/
u126090504
/
domains
/
oca.org.in
/
public_html
/
📁
..
📄
.htaccess
(1.12 KB)
📄
Antiraging-Cell.php
(2.73 KB)
📄
B.Ed.&B.P.Ed.php
(4.4 KB)
📄
about-us.php
(9.01 KB)
📄
academic-head-message.php
(5.84 KB)
📄
achievers.php
(3.07 KB)
📁
admin
📄
admission.php
(5.17 KB)
📄
admission_submit.php
(1.96 KB)
📄
album.php
(890 B)
📄
computer-courses.php
(20.66 KB)
📄
config.php
(1.16 KB)
📄
contact-us.php
(14.68 KB)
📄
contactdb.php
(796 B)
📁
css
📄
director's-message.php
(5.46 KB)
📄
downloads.php
(3.14 KB)
📄
error.log
(14.6 KB)
📄
facilities.php
(7.19 KB)
📄
faculty.php
(4.96 KB)
📁
fonts
📄
footer.php
(22.79 KB)
📄
franchise.php
(2.09 KB)
📄
gallery.php
(3.21 KB)
📄
governing-body.php
(3.58 KB)
📄
grievance-form.php
(13.71 KB)
📄
header.php
(15 KB)
📁
images
📄
index.php
(63.18 KB)
📁
js
📁
lib
📁
ocabdk
📄
ocabdk.zip
(63.02 MB)
📄
our-recruiters.php
(2.77 KB)
📄
payment.php
(8.1 KB)
📄
payment_submit.php
(10.97 KB)
📄
payment_verify.php
(2.31 KB)
📄
peret.php
(266.87 KB)
📄
placement.php
(8.33 KB)
📄
principal's-message.php
(6.02 KB)
📁
qrcodes
📁
revolution
📄
scope.php
(14.14 KB)
📄
search_videos.php
(1.76 KB)
📄
submit-grievance.php
(3.88 KB)
📄
thank-you.php
(1.28 KB)
📄
tutorial.php
(4.81 KB)
📄
u126090504_mmabpd.sql
(44.65 KB)
📁
uploads
📄
videos.php
(4.38 KB)
Editing: faculty.php
<?php require_once 'config.php'; 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">Faculty</h2> </div> <div class="breadcrumb-wrapper"> <span> <a title="Homepage" href="index.php">Home</a> </span> <span class="ttm-bread-sep"> > </span> <span class="current">Faculty</span> </div> </div> </div> </div> </div> </div> <!-- page-title end--> <!--site-main start--> <div class="site-main"> <!--grid-section--> <section class="ttm-row grid-section clearfix"> <div class="container"> <div class="row"> <?php // Fetch Faculty with Specialization $sql = "SELECT name, designation, qualification, specialization, experience, photo FROM faculty ORDER BY position ASC, id DESC"; $stmt = $conn->prepare($sql); $stmt->execute(); $res = $stmt->get_result(); if ($res && $res->num_rows > 0): while ($row = $res->fetch_assoc()): $name = htmlspecialchars($row['name'] ?? ''); $des = htmlspecialchars($row['designation'] ?? ''); $qual = htmlspecialchars($row['qualification'] ?? ''); $spec = htmlspecialchars($row['specialization'] ?? ''); $exp = htmlspecialchars($row['experience'] ?? ''); $photoFile = htmlspecialchars($row['photo'] ?? ''); $photo = !empty($photoFile) ? "uploads/faculty/" . $photoFile : "images/default-user.png"; ?> <div class="ttm-box-col-wrapper col-lg-3 col-md-3 col-sm-6"> <!-- featured-imagebox-team --> <div class="featured-imagebox featured-imagebox-team" style="height:100%;"> <div class="ttm-team-box-view-overlay"> <div class="featured-thumbnail" style="aspect-ratio:1/1; overflow:hidden;"> <img class="img-fluid" loading="lazy" src="<?php echo $photo; ?>" alt="<?php echo $name; ?>"> </div> </div> <div class="featured-content featured-content-team" style="padding:14px 16px;"> <div class="featured-title"> <h6 style="margin-bottom:6px;"><?php echo $name; ?></h6> </div> <?php if ($des !== ''): ?> <div class="team-position" style="color:#111; font-weight:600; font-size:16.5px; line-height:1.3;"> <?php echo $des; ?> </div> <?php endif; ?> <?php if ($qual !== ''): ?> <div class="team-position" style="color:#222; font-weight:600; font-size:15.5px; line-height:1.3; margin-top:4px;"> <?php echo $qual; ?> </div> <?php endif; ?> <?php if ($spec !== ''): ?> <div class="team-position" style="color:#444; font-weight:600; font-size:15.5px; line-height:1.3; margin-top:4px;"> Specialization: <?php echo $spec; ?> </div> <?php endif; ?> <?php if ($exp !== ''): ?> <div class="team-position" style="color:#444; font-weight:600; font-size:15.5px; line-height:1.3; margin-top:4px;"> <?php echo $exp; ?> Years of Experience </div> <?php endif; ?> </div> </div><!-- featured-imagebox-team end--> </div> <?php endwhile; else: echo '<div class="col-12"><p>No Faculty Records Found</p></div>'; endif; ?> </div><!-- row end --> </div> </section> <!--grid-section end--> </div><!--site-main end--> <!--footer start--> <?php include("footer.php"); ?> <!--footer end-->
Upload File
Create Folder