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: managing-committee.php
<?php // governing-body.php β PUBLIC PAGE (mysqli) // (debug on if needed) // ini_set('display_errors',1); error_reporting(E_ALL); /* ---- DB connection ---- If your config.php is in the site root use 'config.php'. If itβs inside /includes/ then change to __DIR__.'/includes/config.php' */ require_once __DIR__ . '/config.php'; // simple esc helper function e($v){ return htmlspecialchars((string)$v, ENT_QUOTES, 'UTF-8'); } // sanity: have mysqli? if (!isset($conn) || !($conn instanceof mysqli)) { http_response_code(500); exit('Database connection not available.'); } /* ---- Fetch data ---- */ $list = []; $sql = "SELECT name, designation, role_responsibility FROM governing_body_members WHERE status='active' ORDER BY sort_order ASC, name ASC"; if ($res = $conn->query($sql)) { while ($row = $res->fetch_assoc()) $list[] = $row; $res->close(); } /* ---- Include header (support both header.php or /includes/header.php) ---- */ if (file_exists(__DIR__.'/header.php')) { include __DIR__.'/header.php'; } elseif (file_exists(__DIR__.'/includes/header.php')) { include __DIR__.'/includes/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">Managing Committee</h2> </div> </div> </div> </div> </div> </div> <!-- /page-title --> <!-- site-main start --> <div class="site-main"> <section class="container" style="max-width:1200px;margin:24px auto;padding:0 12px"> <?php if (empty($list)): ?> <p style="color:#666">No records found. (Make sure entries are <strong>Active</strong> in admin.)</p> <?php else: ?> <div class="table-responsive"> <table class="table" style="width:100%;border-collapse:separate;border-spacing:0 10px"> <thead> <tr style="background:#000000;border:1px solid #db0000;border-radius:12px"> <th style="padding:16px;width:30%; color:white;">Name</th> <th style="padding:16px;width:24%; color:white;">Designation</th> <th style="padding:16px;width:24%; color:white;">Role / Responsibility</th> </tr> </thead> <tbody> <?php foreach ($list as $m): ?> <tr style="background:#fff;border:1px solid #db0000;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.04)"> <td style="padding:16px" data-label="Name"><?= e($m['name']) ?></td> <td style="padding:16px" data-label="Designation"><em><?= e($m['designation']) ?></em></td> <td style="padding:16px" data-label="Role / Responsibility"><?= nl2br(e($m['role_responsibility'])) ?></td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> </section> </div> <!-- /site-main --> <?php /* ---- Include footer (support both footer.php or /includes/footer.php) ---- */ if (file_exists(__DIR__.'/footer.php')) { include __DIR__.'/footer.php'; } elseif (file_exists(__DIR__.'/includes/footer.php')) { include __DIR__.'/includes/footer.php'; }
Upload File
Create Folder