init
|
@ -0,0 +1,5 @@
|
|||
.hta_config/db_config.php
|
||||
.hta_slug/tools/
|
||||
.notice/
|
||||
*.md
|
||||
*.html
|
|
@ -0,0 +1,76 @@
|
|||
<?php
|
||||
require('.hta_config/env.php');
|
||||
|
||||
function getSlug($requestUri) {
|
||||
$parts = explode('/', $requestUri);
|
||||
return isset($parts[2]) ? $parts[2] : '';
|
||||
}
|
||||
|
||||
function serveStaticFile($filePath) {
|
||||
if (file_exists($filePath)) {
|
||||
echo file_get_contents($filePath);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function fetchFromDatabase($slug, $pdo) {
|
||||
$stmt = $pdo->prepare("SELECT * FROM `scc24` WHERE `slug` = :slug");
|
||||
$stmt->bindParam(':slug', $slug, PDO::PARAM_STR);
|
||||
$stmt->execute();
|
||||
return $stmt->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
function saveToCache($filePath, $content) {
|
||||
if (!file_put_contents($filePath, $content)) {
|
||||
error_log("Failed to write cache file: $filePath");
|
||||
}
|
||||
}
|
||||
|
||||
$requestUri = $_SERVER['REQUEST_URI'];
|
||||
$slug = getSlug($requestUri);
|
||||
|
||||
if (empty($slug)) {
|
||||
echo "Slug not provided!";
|
||||
exit;
|
||||
}
|
||||
|
||||
$fileName = $slug . ".html";
|
||||
$filePath = __DIR__ . '/notice/' . $fileName;
|
||||
|
||||
ob_start();
|
||||
|
||||
$shouldCache = false; // Flag to determine if content should be cached.
|
||||
|
||||
if (!serveStaticFile($filePath)) {
|
||||
try {
|
||||
$pdo = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
|
||||
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
$content = fetchFromDatabase($slug, $pdo);
|
||||
if ($content && isset($content['content']) && $content['content']) {
|
||||
echo '<div class="container mx-auto">
|
||||
<div style="padding-top:20px; padding-bottom:15px; font-size:25px;">
|
||||
<p style="text-align: center;">' . htmlspecialchars($content['title']) . '</p>
|
||||
</div>
|
||||
<div>' . $content['content'] . '</div>
|
||||
</div>';
|
||||
$shouldCache = true; // Mark content as cacheable.
|
||||
} else {
|
||||
echo '<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 100px 0;"><p style="text-align: center; font-size: 30px; font-weight: bold;">Page not found (404).</p>
|
||||
<a href="/">Back to home</a>
|
||||
</div>';
|
||||
}
|
||||
} catch (PDOException $e) {
|
||||
echo "<p class='text-danger'>Error: " . htmlspecialchars($e->getMessage()) . "</p>";
|
||||
}
|
||||
}
|
||||
|
||||
$htmlContent = ob_get_clean();
|
||||
|
||||
// Save to cache only if content was found.
|
||||
if ($shouldCache) {
|
||||
saveToCache($filePath, $htmlContent);
|
||||
}
|
||||
|
||||
echo $htmlContent;
|
||||
?>
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
$mariaServer = "localhost";
|
||||
$mariaUser = "dev2";
|
||||
$mariaPass = "RLVuEexA6Lb6jfa";
|
||||
$mariaDb = "scc24";
|
||||
$mongo ="";
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
$mariaServer = "192.168.1.186";
|
||||
$mariaUser = "dev2";
|
||||
$mariaPass = "RLVuEexA6Lb6jfa";
|
||||
$mariaDb = "scc24";
|
||||
$mongo ="";
|
|
@ -0,0 +1,59 @@
|
|||
<footer>
|
||||
<div class="container-fluid mt-5" style="background-image: radial-gradient(circle at 100% 150%, #554b28 24%, #5c522c 24%, #5c522c 28%, #554b28 28%, #554b28 36%, #5c522c 36%, #5c522c 40%, transparent 40%, transparent), radial-gradient(circle at 0 150%, #554b28 24%, #5c522c 24%, #5c522c 28%, #554b28 28%, #554b28 36%, #5c522c 36%, #5c522c 40%, transparent 40%, transparent), radial-gradient(circle at 50% 100%, #5c522c 10%, #554b28 10%, #554b28 23%, #5c522c 23%, #5c522c 30%, #554b28 30%, #554b28 43%, #5c522c 43%, #5c522c 50%, #554b28 50%, #554b28 63%, #5c522c 63%, #5c522c 71%, transparent 71%, transparent), radial-gradient(circle at 100% 50%, #5c522c 5%, #554b28 5%, #554b28 15%, #5c522c 15%, #5c522c 20%, #554b28 20%, #554b28 29%, #5c522c 29%, #5c522c 34%, #554b28 34%, #554b28 44%, #5c522c 44%, #5c522c 49%, transparent 49%, transparent), radial-gradient(circle at 0 50%, #5c522c 5%, #554b28 5%, #554b28 15%, #5c522c 15%, #5c522c 20%, #554b28 20%, #554b28 29%, #5c522c 29%, #5c522c 34%, #554b28 34%, #554b28 44%, #5c522c 44%, #5c522c 49%, transparent 49%, transparent); background-size: 100px 50px; background-repeat: repeat; background-color: #554b28; color: #fff;"><br>
|
||||
<div class="row container mx-auto">
|
||||
<div class="d-flex flex-column flex-md-row justify-content-between align-items-center border-top border-bottom border-2 py-2 border-white">
|
||||
<h4 class="fw-normal">Social Media Presence</h4>
|
||||
<div>
|
||||
<a href="">
|
||||
<img src="/assets/fb.svg" alt="" />
|
||||
</a>
|
||||
<a href="">
|
||||
<img src="/assets/insta.svg" alt="" />
|
||||
</a>
|
||||
<a href="">
|
||||
<img src="/assets/youtube.svg" alt="" />
|
||||
</a>
|
||||
<a href="">
|
||||
<img src="/assets/twitter.svg" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4 pt-2">
|
||||
<h2 class="text-uppercase">About College</h2>
|
||||
<p class="fw-normal" style="text-align: justify;">Sree Chaitanya College, Habra occupies a very distinguished status in the higher education map of the district of North 24 Parganas as well as of the state of West Bengal. The institution with its imposing building-structures amid a lush green of more than 20 acres of land, overlooking Jessore Road (NH 35), is about 40 km from Kolkata.</p>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4 pt-2">
|
||||
<h2 class="text-uppercase">IMPORTANT WEBSITES</h2>
|
||||
<div class="d-flex flex-column justify-content-between">
|
||||
<a class="text-white fw-normal mb-1" href="#">University Grants Commission (UGC)</a>
|
||||
<a class="text-white fw-normal mb-1" href="#">Wes Bengal State University (WBSU)</a>
|
||||
<a class="text-white fw-normal mb-1" href="#">Dept. of Higher Education, Govt. of W.B.</a>
|
||||
<a class="text-white fw-normal mb-1" href="#">Dept. of Finance, Govt. of W.B.</a>
|
||||
<a class="text-white fw-normal mb-1" href="#">Netaji Subhas Open University</a>
|
||||
<a class="text-white fw-normal mb-1" href="#">National Service Scheme (NSS)</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4 pt-2">
|
||||
<h2 class="text-uppercase">REACH US</h2>
|
||||
<div class="d-flex flex-column">
|
||||
<p class="fw-normal">Strand Road, Bara Bazar, Chandannagar, Dist: Hooghly, West Bengal, Pin: 712136</p>
|
||||
<div style="overflow-x: hidden;">
|
||||
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3677.078181830616!2d88.63989767601856!3d22.83659682324147!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39f8b071c69b9933%3A0x5181c48a7b97726e!2sSree%20Chaitanya%20College%2C%20Habra!5e0!3m2!1sen!2sin!4v1720765140520!5m2!1sen!2sin" width="500" height="250" style="border:0; overflow-x: hidden;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid " style="background-color: #0f171c;">
|
||||
<div class="d-flex flex-row justify-content-center" style="place-items: center; padding-top: 12px; padding-bottom: 12px;">
|
||||
<div class="text-white fw-normal">© Sree Chaitanya College | </div>
|
||||
<div class="text-white fw-normal"> 2024 | </div>
|
||||
<div><a class="text-white fw-normal" href="#">Privacy Policy</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
|
||||
?>
|
|
@ -0,0 +1,597 @@
|
|||
<?php
|
||||
?>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="Sree Chaitanya College, Habra is a distinguished higher education institution located in North 24 Parganas, West Bengal. Established in 1956, it provides education to displaced youths affected by the partition of India.">
|
||||
|
||||
<!-- Open Graph Meta Tags for Facebook and WhatsApp -->
|
||||
<meta property="og:title" content="Sree Chaitanya College, Habra">
|
||||
<meta property="og:description" content="Sree Chaitanya College, Habra is a distinguished higher education institution in North 24 Parganas, West Bengal. Established in 1956, it offers Honours Departments in Arts and Science.">
|
||||
<meta property="og:image" content="/assets/logo3.png">
|
||||
<meta property="og:url" content="/assets/logo3.png">
|
||||
<meta property="og:type" content="website">
|
||||
<title>Sree Chaitanya College, Habra</title>
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js"crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/htmx.org"></script>
|
||||
<!-- <div hx-get="mega-menu.html" hx-trigger="load" hx-swap="outerHTML"></div> -->
|
||||
</head>
|
||||
<body>
|
||||
<header class="section-header ">
|
||||
<div class="container-fluid" style="background-color: #e0d7d1;">
|
||||
<div class="container-xl mx-auto pt-2" >
|
||||
<div class="row d-none d-lg-flex">
|
||||
<div class="d-grid col- col-lg-8 col-xl-8">
|
||||
<div class="d-flex flex-column flex-md-row" style="width: 100%;">
|
||||
<div class="d-flex flex-md-row justify-content-center" style="place-items: center;">
|
||||
<img class="" src="../assets/ashok.png" alt="" width="120" height="120" />
|
||||
<img class="" src="../assets/logo3.png" alt="" width="120" height="120" />
|
||||
</div>
|
||||
<div class="d-flex flex-column mx-4" >
|
||||
<h2 class="text-uppercase" style="color: #614e41;"><b>Sree Chaitanya College</b></h2>
|
||||
<h5 style="color: #614e41;">Estd: 1956</h5>
|
||||
<h5 class="" style="color: #614e41;"><b>(Arts and Science)</b></h5>
|
||||
<p style="color: #868756;">Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B</p>
|
||||
<p style="margin-top: -15px; color: #3e5b66;" class="">sreechaitanyacollege@rediffmail.com</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col- col-lg-4 col-xl-4">
|
||||
<div class="d-flex flex-column " style="width: 100%;">
|
||||
<div class="d-flex flex-md-row justify-content-between">
|
||||
<div class="mt-5">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">NCC</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<li class="dropdown-submenu">
|
||||
<a class="dropdown-item dropdown-toggle" href="#">Accreditation Document</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">NAAC Certificates & Score Sheet</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">NAAC 3rd Cycle Press Note</a></li>
|
||||
<li><a class="dropdown-item" href="#">Capacity Building Program</a></li>
|
||||
<li><a class="dropdown-item" href="#">NAAC SSR</a></li>
|
||||
<li class="dropdown-submenu">
|
||||
<a class="dropdown-item dropdown-toggle" href="#">IIQA Documents</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">IIQA Filled in Form</a></li>
|
||||
<li><a class="dropdown-item" href="#">AISHE Certificate 2021-22</a></li>
|
||||
<li><a class="dropdown-item" href="#">2F & 12B</a></li>
|
||||
<li><a class="dropdown-item" href="#">University Affiliated Courses</a></li>
|
||||
<li><a class="dropdown-item" href="#">Undertaking of H.O.I.</a></li>
|
||||
<li><a class="dropdown-item" href="#">Self Declaration of H.O.I.</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">Program Outcome</a></li>
|
||||
<li><a class="dropdown-item" href="#">Syllabus</a></li>
|
||||
<li><a class="dropdown-item" href="#">List of Programme</a></li>
|
||||
<li><a class="dropdown-item" href="#">IQAC Minutes & Report</a></li>
|
||||
<li><a class="dropdown-item" href="#">Annual Examination Report</a></li>
|
||||
<li><a class="dropdown-item" href="#">Feedback</a></li>
|
||||
<li><a class="dropdown-item" href="#">Project Certificate</a></li>
|
||||
<li><a class="dropdown-item" href="#">Collaborative Activities</a></li>
|
||||
<li><a class="dropdown-item" href="#">Career Counselling Certificate</a></li>
|
||||
<li><a class="dropdown-item" href="#">JAM/NET/Exam Cleared List</a></li>
|
||||
<li><a class="dropdown-item" href="#">ICT Rooms</a></li>
|
||||
<li><a class="dropdown-item" href="#">Full Time Teachers & Students</a></li>
|
||||
<li><a class="dropdown-item" href="#">Seminar Reports - IPR, RM & EP</a></li>
|
||||
<li><a class="dropdown-item" href="#">Program Studies & Placement</a></li>
|
||||
<li><a class="dropdown-item" href="#">Mentor/Mentee Meeting Report</a></li>
|
||||
<li><a class="dropdown-item" href="#">Developing Grants Received</a></li>
|
||||
<li><a class="dropdown-item" href="#">Solar Panel Installation</a></li>
|
||||
<li><a class="dropdown-item" href="#">Water Harvesting Project</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" mt-5">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">IQAC</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<li><a class="dropdown-item" href="#">Policy Document</a></li>
|
||||
<li><a class="dropdown-item" href="#">Committee</a></li>
|
||||
<li><a class="dropdown-item" href="#">IQAC Minutes</a></li>
|
||||
<li><a class="dropdown-item" href="#">A.Q.A.R.</a></li>
|
||||
<li><a class="dropdown-item" href="#">SSS</a></li>
|
||||
<li><a class="dropdown-item" href="#">Academic Audit</a></li>
|
||||
<li><a class="dropdown-item" href="#">Green Audit</a></li>
|
||||
<li><a class="dropdown-item" href="#">College Annual Report</a></li>
|
||||
<li><a class="dropdown-item" href="#">Gender Audit</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" mt-5">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">NIRF</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<li><a class="dropdown-item" href="#">NIRF 2024</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2023</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2022</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2021</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2020</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" mt-5">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">ICC</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<li><a class="dropdown-item" href="#">Members</a></li>
|
||||
<li><a class="dropdown-item" href="#">Policy Document</a></li>
|
||||
<li><a class="dropdown-item" href="#">Reports</a></li>
|
||||
<li><a class="dropdown-item" href="#">Grievance Redressal</a></li>
|
||||
<li><a class="dropdown-item" href="#">Anti-ragging Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">Anti Sexual Harassment Cell</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=" mt-5">
|
||||
<!-- <div class="dropdown">
|
||||
<a href="https://www.chandernagorecollege.ac.in/faculty.php?faculty=59ff78ac19a7b6d9099233629e9e219e#" class="btn btn-secondary dropdown-toggle" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="true">RTI</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex flex-column flex-xl-row mt-2 justify-content-between text-white font-weight-bold">
|
||||
<h5 class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66;">College Meuseum</h5>
|
||||
<h5 class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66;">Campus 360°</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" row d-flex d-lg-none">
|
||||
<div class="d-flex flex-row justify-content-between" style="width: 100%;">
|
||||
<div>
|
||||
<img src="/assets/ashok.png" alt="" width="60" />
|
||||
</div>
|
||||
<div class="d-flex flex-column " >
|
||||
<h2 class="text-center text-uppercase" style="color: #6b6245;" ><b>Sree Chaitanya College</b></h2>
|
||||
<p class="text-center" style="color: #6b6245;">Estd: 1956</p>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/assets/logo3.png" alt="" width="60" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex flex-column " style="margin-top: -15px;">
|
||||
<h5 style="margin-top: -6px; color: #6b6245;" class="text-center">(Arts and Science)</h5>
|
||||
<p style="margin-top: -6px; color: #868756;" class="text-center">Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B</p>
|
||||
<p style="margin-top: -15px; color: #3e5b66;" class="text-center">sreechaitanyacollege@rediffmail.com</p>
|
||||
</div>
|
||||
<div class="d-flex flex-column justify-content-center text-white font-weight-bold text-center">
|
||||
<h5 class="px-4 py-3 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66;">College Meuseum</h5>
|
||||
<h5 class="px-4 py-3 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66;">Campus 360°</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="d-block d-lg-none navbar navbar-expand-lg navbar-dark text-primary" style="background-color: #c6a7a4; ">
|
||||
<div class="container-fluid">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main_nav2" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="main_nav2">
|
||||
<ul class="navbar-nav w-auto mx-auto" >
|
||||
<!-- <li class="nav-item active "> <a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white" href="#">Home </a> </li> -->
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown"> NCC </a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#"> Accreditation Document » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">NAAC Certificates & Score Sheet</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">NAAC 3rd Cycle Press Note</a></li>
|
||||
<li><a class="dropdown-item" href="#">Capacity Building Program</a></li>
|
||||
<li><a class="dropdown-item" href="#">NAAC SSR</a></li>
|
||||
|
||||
<li><a class="dropdown-item" href="#"> IIQA Documents » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">IIQA Filled in Form</a></li>
|
||||
<li><a class="dropdown-item" href="#">AISHE Certificate 2021-22</a></li>
|
||||
<li><a class="dropdown-item" href="#">2F & 12B</a></li>
|
||||
<li><a class="dropdown-item" href="#">University Affiliated Courses</a></li>
|
||||
<li><a class="dropdown-item" href="#">Undertaking of H.O.I.</a></li>
|
||||
<li><a class="dropdown-item" href="#">Self Declaration of H.O.I.</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">IQAC</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Policy Document</a></li>
|
||||
<li><a class="dropdown-item" href="#">Committee</a></li>
|
||||
<li><a class="dropdown-item" href="#">IQAC Minutes</a></li>
|
||||
<li><a class="dropdown-item" href="#">A.Q.A.R.</a></li>
|
||||
<li><a class="dropdown-item" href="#">SSS</a></li>
|
||||
<li><a class="dropdown-item" href="#">Academic Audit</a></li>
|
||||
<li><a class="dropdown-item" href="#">Green Audit</a></li>
|
||||
<li><a class="dropdown-item" href="#">College Annual Report</a></li>
|
||||
<li><a class="dropdown-item" href="#">Gender Audit</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">NIRF</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">NIRF 2024</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2023</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2022</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2021</a></li>
|
||||
<li><a class="dropdown-item" href="#">NIRF 2020</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">ICC</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Members</a></li>
|
||||
<li><a class="dropdown-item" href="#">Policy Document</a></li>
|
||||
<li><a class="dropdown-item" href="#">Reports</a></li>
|
||||
<li><a class="dropdown-item" href="#">Grievance Redressal</a></li>
|
||||
<li><a class="dropdown-item" href="#">Anti-ragging Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">Anti Sexual Harassment Cell</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div> <!-- navbar-collapse.// -->
|
||||
</div> <!-- container-fluid.// -->
|
||||
</nav>
|
||||
<!-- ============= Main Menu ============== -->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark text-primary" style="background-color: #868756; ">
|
||||
<div class="container-fluid">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main_nav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="main_nav">
|
||||
<ul class="navbar-nav w-auto mx-auto" >
|
||||
<li class="nav-item active "> <a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white" href="#">Home </a> </li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Institute</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">History</a></li>
|
||||
<li><a class="dropdown-item" href="#">Mission</a></li>
|
||||
<li><a class="dropdown-item" href="#">Vision</a></li>
|
||||
<li><a class="dropdown-item" href="#">Objective</a></li>
|
||||
<li><a class="dropdown-item" href="#">Infrastructure & Facilities</a></li>
|
||||
<li><a class="dropdown-item" href="#">Distinctiveness</a></li>
|
||||
<li><a class="dropdown-item" href="#">Best Practices</a></li>
|
||||
<li><a class="dropdown-item" href="#">Awards & Recognition</a></li>
|
||||
<li><a class="dropdown-item" href="#">Funds Received</a></li>
|
||||
<li><a class="dropdown-item" href="#">Strategic/Perspective Plan</a></li>
|
||||
<li><a class="dropdown-item" href="#">Future Plan</a></li>
|
||||
<li><a class="dropdown-item" href="#">Holiday List</a></li>
|
||||
<li><a class="dropdown-item" href="#">Campus</a></li>
|
||||
<li><a class="dropdown-item" href="#">SWOC of College</a></li>
|
||||
<li><a class="dropdown-item" href="#">Site Map</a></li>
|
||||
<li><a class="dropdown-item" href="/contact-us">Contact </a> </li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Administration</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Administrative Committee</a></li>
|
||||
<li><a class="dropdown-item" href="#">Teachers' Council</a></li>
|
||||
<li><a class="dropdown-item" href="#">Organogram</a></li>
|
||||
<li><a class="dropdown-item" href="#">Code of Conduct</a></li>
|
||||
<li><a class="dropdown-item" href="#">Disciplinary Rules</a></li>
|
||||
<li><a class="dropdown-item" href="#">Feedback Form</a></li>
|
||||
<li><a class="dropdown-item" href="/rti">RTI</a></li>
|
||||
<li><a class="dropdown-item" href="/rusa">RUSA</a></li>
|
||||
<li><a class="dropdown-item" href="#">Support Staff</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown"> Academics </a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#"> Programs Offered » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Humanities</a></li>
|
||||
<li><a class="dropdown-item" href="#">Science</a></li>
|
||||
<li><a class="dropdown-item" href="#">Commerce</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#"> Departments » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Humanitiess » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Bengali</a></li>
|
||||
<li><a class="dropdown-item" href="#">Economics</a></li>
|
||||
<li><a class="dropdown-item" href="#">Education</a></li>
|
||||
<li><a class="dropdown-item" href="#">English</a></li>
|
||||
<li><a class="dropdown-item" href="#">French</a></li>
|
||||
<li><a class="dropdown-item" href="#">Geography</a></li>
|
||||
<li><a class="dropdown-item" href="#">History</a></li>
|
||||
<li><a class="dropdown-item" href="#">Philosophy</a></li>
|
||||
<li><a class="dropdown-item" href="#">Political Science</a></li>
|
||||
<li><a class="dropdown-item" href="#">Sanskrit</a></li>
|
||||
<li><a class="dropdown-item" href="#">Sociology</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">Science » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Botany</a></li>
|
||||
<li><a class="dropdown-item" href="#">Chemistry</a></li>
|
||||
<li><a class="dropdown-item" href="#">Computer Science</a></li>
|
||||
<li><a class="dropdown-item" href="#">Environmental Science</a></li>
|
||||
<li><a class="dropdown-item" href="#">Mathematics</a></li>
|
||||
<li><a class="dropdown-item" href="#">Physics</a></li>
|
||||
<li><a class="dropdown-item" href="#">Zoology</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">Commerce</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="#">ISR </a> </li>
|
||||
<li><a class="dropdown-item" href="#">NSS </a> </li>
|
||||
<li><a class="dropdown-item" href="#"> Syllabus </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Faculty List (5 Years) </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Add-on Courses </a></li>
|
||||
<li><a class="dropdown-item" href="#"> PO, PSO & CO </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Academic Audit Report </a></li>
|
||||
<li><a class="dropdown-item" href="#"> University Examination </a></li>
|
||||
<li><a class="dropdown-item" href="#"> University Result </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Internal Examination </a></li>
|
||||
<li><a class="dropdown-item" href="#"> LMS </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Language Lab </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Feedback on Curriculum </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Study Tours & Field Trips </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Exam Related Grievances </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Student's Corner</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Rules & Regulations</a></li>
|
||||
<li><a class="dropdown-item" href="#">Routine</a></li>
|
||||
<li><a class="dropdown-item" href="#">Scholarship</a></li>
|
||||
<li><a class="dropdown-item" href="#">Placement Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">Online Competitive Exam</a></li>
|
||||
<li><a class="dropdown-item" href="#">Skill Development Program</a></li>
|
||||
<li><a class="dropdown-item" href="#">Achievements</a></li>
|
||||
<li><a class="dropdown-item" href="#">Student Support Services</a></li>
|
||||
<li><a class="dropdown-item" href="#">Students' Union</a></li>
|
||||
<li><a class="dropdown-item" href="#">Alumni</a></li>
|
||||
<li><a class="dropdown-item" href="#">E-Magazine</a></li>
|
||||
<li><a class="dropdown-item" href="#">Feedback Form</a></li>
|
||||
<li><a class="dropdown-item" href="#">Online Grievance Redressal</a></li>
|
||||
<li><a class="dropdown-item" href="#">Anti Ragging Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">Minority Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">ST/SC Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">OBC Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">Anti Sexual Harassment Cell</a></li>
|
||||
<li><a class="dropdown-item" href="#">Add on Information</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Research</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">PhD/Mphil/PG Teachers</a></li>
|
||||
<li><a class="dropdown-item" href="#">Research Guides</a></li>
|
||||
<li><a class="dropdown-item" href="#">Research Projects</a></li>
|
||||
<li><a class="dropdown-item" href="#">Know Your Ganges</a></li>
|
||||
<li><a class="dropdown-item" href="#">Central Instrumental Facility</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Publications</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Journal Trivium</a></li>
|
||||
<li><a class="dropdown-item" href="#">Journal Ruellia</a></li>
|
||||
<li><a class="dropdown-item" href="#">Papers & Journals</a></li>
|
||||
<li><a class="dropdown-item" href="#">Books & Chapters</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Notifications</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="/notice?type=notice">General Notice</a></li>
|
||||
<li><a class="dropdown-item" href="/notice?type=tender">Tender Notice</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">News & Events</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#"> Events </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Press Coverage </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Gallery </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Videos </a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white dropdown-toggle" href="#" data-bs-toggle="dropdown">Facilities</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#"> ICT & Other Facilities </a></li>
|
||||
<li><a class="dropdown-item" href="#"> Girl's Hostel </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div> <!-- navbar-collapse.// -->
|
||||
</div> <!-- container-fluid.// -->
|
||||
</nav>
|
||||
<!-- ============= COMPONENT END// ============== -->
|
||||
<style type="text/css">
|
||||
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto+Slab:wght@100..900&display=swap');
|
||||
/* ============ desktop view ============ */
|
||||
.dropdown-item{
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #fff;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.dropdown-item:hover {
|
||||
background-color: #273c45;
|
||||
color: #fbaf00;
|
||||
}
|
||||
.nav-link{
|
||||
border-right: 1px solid #333;
|
||||
}
|
||||
.nav-link:hover{
|
||||
background-color: #614e41;
|
||||
}
|
||||
|
||||
|
||||
@media all and (min-width: 992px) {
|
||||
body{
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
font-weight: 700;
|
||||
font-family: "Roboto Slab", serif;
|
||||
font-optical-sizing: auto;
|
||||
}
|
||||
.navbar{
|
||||
height: 40px;
|
||||
}
|
||||
.dropdown-menu li{
|
||||
position: relative;
|
||||
}
|
||||
.dropdown-menu{
|
||||
background-color: #3e5b66;
|
||||
}
|
||||
.dropdown-menu .submenu{
|
||||
display: none;
|
||||
position: absolute;
|
||||
left:100%; top:-7px;
|
||||
}
|
||||
.dropdown-menu .submenu-left{
|
||||
right:100%; left: auto;
|
||||
}
|
||||
|
||||
.dropdown-menu > li:hover{ background-color: #273c45 }
|
||||
.dropdown-menu > li:hover > .submenu{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
/* ============ desktop view .end// ============ */
|
||||
|
||||
/* ============ small devices ============ */
|
||||
@media (max-width: 1499px) {
|
||||
body{
|
||||
font-size: 13.5px;
|
||||
font-weight: 700;
|
||||
font-weight: 700;
|
||||
font-family: "Roboto Slab", serif;
|
||||
font-optical-sizing: auto;
|
||||
}
|
||||
.dropdown-menu .dropdown-menu {
|
||||
margin-left: 0.7rem;
|
||||
margin-right: 0.7rem;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
.dropdown-menu {
|
||||
background-color: #3e5b66;
|
||||
}
|
||||
}
|
||||
/* ============ small devices .end// ============ */
|
||||
.dropdown-submenu {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown-submenu .dropdown-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 100%;
|
||||
margin-top: -1px;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
|
||||
.dropdown-submenu:hover .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
.nav-pills .nav-link.active {
|
||||
background-color: #004848 !important;
|
||||
}
|
||||
.nav-pills .nav-link {
|
||||
white-space: nowrap;
|
||||
place-items: center;
|
||||
background-color: #966650;
|
||||
border-bottom: 1px solid #fff;
|
||||
color: #fff;
|
||||
}
|
||||
.nav-pills .nav-link:last-child {
|
||||
border-bottom: none; /* Remove border from last item */
|
||||
}
|
||||
th{
|
||||
background-color: #595959;
|
||||
border: 1px solid #808080;
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
padding: 8px;
|
||||
/* border-radius: 5px; */
|
||||
}
|
||||
td{
|
||||
background-color: #ccdddc;
|
||||
border: 1px solid #808080;
|
||||
color: #000;
|
||||
padding: 8px;
|
||||
/* border-radius: 5px; */
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
document.addEventListener("DOMContentLoaded", function(){
|
||||
/////// Prevent closing from click inside dropdown
|
||||
document.querySelectorAll('.dropdown-menu').forEach(function(element){
|
||||
element.addEventListener('click', function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
})
|
||||
// make it as accordion for smaller screens
|
||||
if (window.innerWidth < 992) {
|
||||
// close all inner dropdowns when parent is closed
|
||||
document.querySelectorAll('.navbar .dropdown').forEach(function(everydropdown){
|
||||
everydropdown.addEventListener('hidden.bs.dropdown', function () {
|
||||
// after dropdown is hidden, then find all submenus
|
||||
this.querySelectorAll('.submenu').forEach(function(everysubmenu){
|
||||
// hide every submenu as well
|
||||
everysubmenu.style.display = 'none';
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
document.querySelectorAll('.dropdown-menu a').forEach(function(element){
|
||||
element.addEventListener('click', function (e) {
|
||||
|
||||
let nextEl = this.nextElementSibling;
|
||||
if(nextEl && nextEl.classList.contains('submenu')) {
|
||||
// prevent opening link if link needs to open dropdown
|
||||
e.preventDefault();
|
||||
console.log(nextEl);
|
||||
if(nextEl.style.display == 'block'){
|
||||
nextEl.style.display = 'none';
|
||||
} else {
|
||||
nextEl.style.display = 'block';
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
// end if innerWidth
|
||||
|
||||
});
|
||||
// DOMContentLoaded end
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.querySelectorAll('.dropdown-submenu a.dropdown-toggle').forEach(function(element) {
|
||||
element.addEventListener('click', function (e) {
|
||||
let nextEl = this.nextElementSibling;
|
||||
if (nextEl && nextEl.classList.contains('dropdown-menu')) {
|
||||
e.preventDefault();
|
||||
if (nextEl.style.display === 'block') {
|
||||
nextEl.style.display = 'none';
|
||||
} else {
|
||||
nextEl.style.display = 'block';
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</header>
|
|
@ -0,0 +1,123 @@
|
|||
<div style="width: 100%;height: 480px;">
|
||||
<img style="width: 100%;height: 100%;" src="/assets/adminstration/clg.jpg" alt="clg">
|
||||
|
||||
</div>
|
||||
|
||||
<main class="container my-5 ">
|
||||
|
||||
<div class="container row ">
|
||||
|
||||
|
||||
<div class=" fw-normal col-lg-9 col-12">
|
||||
<!-- Main Heading -->
|
||||
<h3 class="text-primary mb-4 text-center">Vision of The College</h3>
|
||||
<p class="text-center mb-4">Character Formation through Knowledge and Value-based Education for
|
||||
Transformation
|
||||
of the Society and the Nation</p>
|
||||
|
||||
<!-- Mission Section -->
|
||||
<h3 class="text-primary my-4 text-center">Our Mission</h5>
|
||||
<div class="mt-3">
|
||||
<p>
|
||||
<b>a)</b> To suit the above 'Vision', the 'Mission' of the College is to provide balanced,
|
||||
value-based and knowledge-based education informed by latest technology, with a view to
|
||||
instilling
|
||||
self-confidence among the students, in order to turn them into sensitive, dedicated and
|
||||
disciplined
|
||||
citizens who will display a high intellectual calibre, together with emotional balance and
|
||||
social
|
||||
commitment and particularly at helping the students with backward social and economic
|
||||
backgrounds
|
||||
living around the institution.
|
||||
</p>
|
||||
<p>
|
||||
<b>b)</b> The college aims at moulding and shaping the students as good citizens with qualities
|
||||
of
|
||||
mind and heart showing commitment towards the nation as well as the community in which they
|
||||
live,
|
||||
extending the role of governance and leadership in discharging the different activities to its
|
||||
stakeholders and inculcating innovative practices. With such orientation, students are expected
|
||||
to
|
||||
get involved in societal transformation.
|
||||
</p>
|
||||
<p>
|
||||
<b>c)</b> Needless to say that since our College was established to serve the higher education
|
||||
needs
|
||||
of the hapless youth, who had to bear the toll of Partition, we have always strived to spread
|
||||
education among this section of the society. Besides, we have to cater to a huge number of
|
||||
students
|
||||
coming from the First Generation Literate families. Thus, our Vision and Mission do not come
|
||||
from
|
||||
any ivory tower but from the 'real' situation around us.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-3 col-12">
|
||||
<div class="card" style="width: 250px; border: 1px solid #ccc;">
|
||||
<div class="card-header text-white fw-bold" style="background-color: #868756">Notice</div>
|
||||
<div class="list-group list-group-flush" style="height: 200px; overflow-y: auto;">
|
||||
<?php
|
||||
try {
|
||||
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
|
||||
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
$stmt = $conn->prepare("SELECT * FROM `scc24` ORDER BY (`date_created` = CURDATE()) DESC, `date_created` DESC");
|
||||
// $stmt->bindParam(':type', $noticeType, PDO::PARAM_STR);
|
||||
$stmt->execute();
|
||||
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||
$serialNumber = 1;
|
||||
foreach ($content as $notice) {
|
||||
echo '<a href="/notice/'.$notice['slug'].'" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$notice['title'].'</a>';
|
||||
$serialNumber++;
|
||||
}
|
||||
} catch (PDOException $e) {
|
||||
echo "<p class='text-danger'>Error: " . htmlspecialchars($e->getMessage()) . "</p>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-footer text-center p-0">
|
||||
<a href="/notice" class="w-100" style="background-color: #868756; color: #ffffff">View All</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card" style="width: 250px; border: 1px solid #ccc;">
|
||||
<div class="card-header bg-primary text-white text-center fw-bold">
|
||||
Notice
|
||||
</div>
|
||||
<div class="list-group list-group-flush" style="height: 200px; overflow-y: auto;">
|
||||
<!-- Notice Items -->
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">wbcap.in Session2024-25 for
|
||||
Phase II</a>
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">Admission Notice
|
||||
2024-2025</a>
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">NEP SEM II ADMISSION REOPEN
|
||||
2024</a>
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">Verification schedule and
|
||||
list of students 2024</a>
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">SEM II Admission Extension
|
||||
2024</a>
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">Commencement of VAC
|
||||
classes</a>
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">Sem II Admission 2024</a>
|
||||
</div>
|
||||
<div class="card-footer text-center p-0">
|
||||
<a href="/notice" class="btn btn-primary w-100">View All</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card" style="width: 250px; border: 1px solid #ccc;">
|
||||
<div class="card-header bg-primary text-white text-center fw-bold">
|
||||
Notice
|
||||
</div>
|
||||
<div class="list-group list-group-flush" style="height: 200px; overflow-y: auto;">
|
||||
<!-- Notice Items -->
|
||||
<a href="#" class="list-group-item list-group-item-action text-primary">wbcap.in Session2024-25 for
|
||||
Phase II</a>
|
||||
|
||||
</div>
|
||||
<div class="card-footer text-center p-0">
|
||||
<a href="/notice" class="btn btn-primary w-100">View All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
require('.hta_config/env.php');
|
||||
try {
|
||||
// Database connection
|
||||
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
|
||||
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
|
||||
// Query the database
|
||||
$stmt = $conn->prepare("SELECT * FROM `scc24`");
|
||||
$stmt->execute();
|
||||
$content = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
// Check and render content
|
||||
if ($content && isset($content['content']) && $content['content']) {
|
||||
echo '<div class="container mx-auto">
|
||||
<div style="padding-top:20px; padding-bottom:15px; font-size:25px;">
|
||||
<p style="text-align: center;">' . htmlspecialchars($content['title']) . '</p>
|
||||
</div>
|
||||
<div>' . $content['content'] . '</div>
|
||||
</div>';
|
||||
} else {
|
||||
echo '<div class="container mx-auto"><p style="text-align: center;">Content not found (404).</p></div>';
|
||||
}
|
||||
} catch (PDOException $e) {
|
||||
echo "<p class='text-danger'>Error: " . htmlspecialchars($e->getMessage()) . "</p>";
|
||||
}
|
||||
?>
|
|
@ -0,0 +1,8 @@
|
|||
RewriteEngine On
|
||||
#RewriteCond %{HTTPS} !=on
|
||||
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
|
||||
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*) index.php
|
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 596 KiB |
After Width: | Height: | Size: 168 KiB |
|
@ -0,0 +1,39 @@
|
|||
.flex{
|
||||
display: flex;
|
||||
}
|
||||
.flex-c{
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-r{
|
||||
flex-direction: row;
|
||||
gap: 10;
|
||||
}
|
||||
.text-center{
|
||||
text-align: center;
|
||||
}
|
||||
.padding-x-50{
|
||||
padding:0 50px;
|
||||
}
|
||||
.padding-x-100{
|
||||
padding:0 100px;
|
||||
}
|
||||
.gap-10{
|
||||
|
||||
gap: 10;
|
||||
}
|
||||
.text-dark{
|
||||
color: rgb(55, 52, 52);
|
||||
transition: all;
|
||||
transition-duration: 100ms;
|
||||
}
|
||||
.text-dark:hover{
|
||||
color: rgb(79, 79, 253) !important;
|
||||
|
||||
}
|
||||
.gallery-image {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
.gallery-image:hover {
|
||||
transform: scale(1.1);
|
||||
z-index: 1;
|
||||
}
|
After Width: | Height: | Size: 199 KiB |
After Width: | Height: | Size: 72 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="#ffffff" height="43px" width="43px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-143 145 512 512" xml:space="preserve" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <path d="M113,145c-141.4,0-256,114.6-256,256s114.6,256,256,256s256-114.6,256-256S254.4,145,113,145z M272.8,560.7 c-20.8,20.8-44.9,37.1-71.8,48.4c-27.8,11.8-57.4,17.7-88,17.7c-30.5,0-60.1-6-88-17.7c-26.9-11.4-51.1-27.7-71.8-48.4 c-20.8-20.8-37.1-44.9-48.4-71.8C-107,461.1-113,431.5-113,401s6-60.1,17.7-88c11.4-26.9,27.7-51.1,48.4-71.8 c20.9-20.8,45-37.1,71.9-48.5C52.9,181,82.5,175,113,175s60.1,6,88,17.7c26.9,11.4,51.1,27.7,71.8,48.4 c20.8,20.8,37.1,44.9,48.4,71.8c11.8,27.8,17.7,57.4,17.7,88c0,30.5-6,60.1-17.7,88C309.8,515.8,293.5,540,272.8,560.7z"></path> <path d="M146.8,313.7c10.3,0,21.3,3.2,21.3,3.2l6.6-39.2c0,0-14-4.8-47.4-4.8c-20.5,0-32.4,7.8-41.1,19.3 c-8.2,10.9-8.5,28.4-8.5,39.7v25.7H51.2v38.3h26.5v133h49.6v-133h39.3l2.9-38.3h-42.2v-29.9C127.3,317.4,136.5,313.7,146.8,313.7z"></path> </g> </g></svg>
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 167 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 50 KiB |