Compare commits

...

47 Commits

Author SHA1 Message Date
d54fdd3e53 Merge pull request 'ss' (#27) from b2 into master
Reviewed-on: #27
2025-02-20 06:57:09 +00:00
Suvodip
12f9ee45b2 ss 2025-02-20 12:26:43 +05:30
3906d73a68 Merge pull request 's2' (#26) from b2 into master
Reviewed-on: #26
2025-02-20 06:20:34 +00:00
Suvodip
f208a9310d s2 2025-02-20 11:47:52 +05:30
bc3024c2b5 Merge pull request 'sx' (#25) from b2 into master
Reviewed-on: #25
2025-02-14 12:36:19 +00:00
Suvodip
0ccb97fff7 sx 2025-02-14 18:06:07 +05:30
ab28f74694 Merge pull request 's22' (#24) from b2 into master
Reviewed-on: #24
2025-02-14 12:29:23 +00:00
Suvodip
8b28667065 s22 2025-02-14 17:59:10 +05:30
8622436cb7 Merge pull request 'ss' (#23) from b2 into master
Reviewed-on: #23
2025-02-14 12:23:17 +00:00
Suvodip
3864087d97 ss 2025-02-14 17:52:44 +05:30
2c7c13a019 Merge pull request 's2' (#22) from b2 into master
Reviewed-on: #22
2025-02-14 12:19:40 +00:00
Suvodip
5f51ada6a1 s2 2025-02-14 17:49:27 +05:30
2d7b0c2bf5 Merge pull request 's3' (#21) from b2 into master
Reviewed-on: #21
2025-02-14 12:17:44 +00:00
Suvodip
7ecec968ca s3 2025-02-14 17:47:29 +05:30
a7d81de07d Merge pull request 's123' (#20) from b2 into master
Reviewed-on: #20
2025-02-14 12:11:33 +00:00
Suvodip
8a42e725cd s123 2025-02-14 17:41:09 +05:30
da2c17d402 Merge pull request 'ss' (#19) from b2 into master
Reviewed-on: #19
2025-02-14 11:46:54 +00:00
Suvodip
58431ebd0c ss 2025-02-14 17:16:30 +05:30
383784f630 Merge pull request 's33' (#18) from b2 into master
Reviewed-on: #18
2025-02-14 11:42:42 +00:00
Suvodip
095a8752f5 s33 2025-02-14 17:12:19 +05:30
b218dd0348 Merge pull request 's4' (#17) from b2 into master
Reviewed-on: #17
2025-02-13 10:03:38 +00:00
Suvodip
a1f3f5e086 s4 2025-02-13 15:33:09 +05:30
4d93cca4c2 Merge pull request 's3' (#16) from b2 into master
Reviewed-on: #16
2025-02-13 08:19:25 +00:00
Suvodip
4ef9048f95 s3 2025-02-13 13:48:46 +05:30
7d0220c9cf Merge pull request 's1' (#15) from b2 into master
Reviewed-on: #15
2024-12-26 12:54:21 +00:00
Suvodip
d212f88f27 s1 2024-12-26 18:22:47 +05:30
1f9f4a45ba Merge pull request 's1' (#14) from b2 into master
Reviewed-on: #14
2024-12-25 12:23:21 +00:00
Suvodip
aa252de5c9 s1 2024-12-25 17:50:40 +05:30
7cb33eddb6 Merge pull request 's1' (#13) from b2 into master
Reviewed-on: #13
2024-12-24 13:22:54 +00:00
Suvodip
501d623e74 s1 2024-12-24 18:52:08 +05:30
a2e8382c7c Merge pull request 's1' (#12) from b2 into master
Reviewed-on: #12
2024-12-21 13:33:41 +00:00
Suvodip
aa687679f2 s1 2024-12-21 19:03:27 +05:30
0ce3003e34 Merge pull request 's1' (#11) from b2 into master
Reviewed-on: #11
2024-12-21 13:16:23 +00:00
Suvodip
9999c63d73 s1 2024-12-21 18:45:58 +05:30
5801ba2549 Merge pull request 's1' (#10) from b2 into master
Reviewed-on: #10
2024-12-20 14:06:49 +00:00
Suvodip
cc18143fa9 s1 2024-12-20 19:36:31 +05:30
09480c99fe Merge pull request 'b2' (#9) from b2 into master
Reviewed-on: #9
2024-12-20 14:01:46 +00:00
Suvodip
d2450941d9 s1 2024-12-20 19:29:39 +05:30
Suvodip
abdac76bea s1 2024-12-20 13:34:20 +05:30
5993ada182 Merge pull request 's2' (#8) from b2 into master
Reviewed-on: #8
2024-12-20 07:37:18 +00:00
Suvodip
a761a1bf50 s2 2024-12-20 13:06:42 +05:30
Suvodip
e379794846 s1 2024-12-20 13:04:53 +05:30
cbc9ce5f7b Merge pull request 'manashDev' (#7) from manashDev into master
Reviewed-on: #7
2024-12-20 07:30:11 +00:00
Suvodip
7c67bd9304 s1 2024-12-20 12:59:44 +05:30
900e26c7e5 t 2024-12-20 05:41:03 +00:00
40750028b3 s1 2024-12-17 07:57:12 +00:00
ebbc4fbc22 s1 2024-12-16 13:51:59 +00:00
56 changed files with 4352 additions and 397 deletions

77
.hta_404 copy.php Normal file
View File

@@ -0,0 +1,77 @@
<?php
require('.hta_config/env.php');
$requestUri = $_SERVER['REQUEST_URI'];
$slug = getSlug($requestUri);
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");
}
}
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;
?>

View File

@@ -1,76 +1,75 @@
<?php
require('.hta_config/env.php');
$requestUri = $_SERVER['REQUEST_URI'];
$slug = getSlug($requestUri);
function getSlug($requestUri) {
$parts = explode('/', $requestUri);
return isset($parts[2]) ? $parts[2] : '';
}
require('.hta_config/env.php');
require('.hta_header.php');
function serveStaticFile($filePath) {
if (file_exists($filePath)) {
echo file_get_contents($filePath);
return true;
$headerContent = file_get_contents('./.hta_header.php');
$requestUri = $_SERVER['REQUEST_URI'];
$urlParts = explode('/', $requestUri);
if ($urlParts[1] === 'notice') {
$slug = $urlParts[2];
} elseif($urlParts[1] === 'departments'){
$slug = $urlParts[2];
} else{
$slug = $urlParts[1];
}
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);
}
$querySlug = explode('.', $slug)[0];
$fileName = $slug;
function saveToCache($filePath, $content) {
if (!file_put_contents($filePath, $content)) {
error_log("Failed to write cache file: $filePath");
}
}
// function saveHtmlFile($fileName, $headerContent, $pageContent){
// $footerContent = file_get_contents('./.hta_footer.php');
// $totalPageContent = $headerContent . $pageContent . $footerContent;
// $filePath = __DIR__ . '/' . $fileName;
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)) {
// if (file_put_contents($filePath, $totalPageContent)) {
// echo "<p class='text-success'>Page saved successfully at $filePath.</p>";
// } else {
// echo "<p class='text-danger'>Failed to save the page.</p>";
// }
// }
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.
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("SELECT * FROM `scc24` WHERE `slug` = :querySlug");
$stmt->bindParam(':querySlug', $querySlug, PDO::PARAM_STR);
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
if (isset($content[0]['content']) && $content[0]['content']) {
$pageContent = '
<div class="container mx-auto" style="display: flex; flex-direction: column; justify-content: center; align-items: center;">
<div class="" style="padding-top:20px; padding-bottom:15px; font-size:25px;">
';
if ($content[0]['type'] !== 'faculty') {
$pageContent .= '<p style="text-align: center;">' . htmlspecialchars($content[0]['title']) . '</p>';
}
$pageContent .= '
</div>
<div class="">' . $content[0]['content'] . '</div>
</div>';
// Call the function to save the HTML file
// saveHtmlFile($fileName, $headerContent, $pageContent);
} 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>';
$pageContent = '
<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>";
$pageContent = "<p class='text-danger'>Error: " . $e->getMessage() . "</p>";
}
}
$htmlContent = ob_get_clean();
// Render page content here
echo $pageContent;
// Save to cache only if content was found.
if ($shouldCache) {
saveToCache($filePath, $htmlContent);
}
$footerContent = file_get_contents('./.hta_footer.php');
echo $htmlContent;
?>
// Function to save HTML file
?>

21
.hta_admin_header.php Normal file
View File

@@ -0,0 +1,21 @@
<div id="adminHeader" style="">
<a id="adminHeaderLink" href="/adminidwnew9uhwef8f/add-content.php">Add Content</a>
<!-- <a id="adminHeaderLink" href="">Edit Content</a> -->
<a id="adminHeaderLink" href="/adminidwnew9uhwef8f/page-list.php">Page Content List</a>
<a id="adminHeaderLink" href="/adminidwnew9uhwef8f/file-list.php">File List</a>
<a id="adminHeaderLink" href="/adminidwnew9uhwef8f/faculty-list.php">Faculty List</a>
</div>
<style>
#adminHeader{
display: flex;
background-color: #ffddcc;
width: 100%; margin: auto;
padding: 10px;
justify-content: center;
gap: 20px;
}
#adminHeaderLink{
color: #402517;
text-decoration: none;
}
</style>

View File

@@ -1,6 +1,6 @@
<?php
$mariaServer = "localhost";
$mariaUser = "siliccgm_scc24";
$mariaPass = "ewojfwehuvkjvdnvkjvbivibsdb";
$mariaDb = "siliccgm_scc24";
$mongo ="";
$mariaServer = "172.17.0.1";
$mariaUser = "root";
$mariaPass = "0000";
$mariaDb = "siliconpin_scc";
$mongo ="";

View File

@@ -1,5 +1,5 @@
<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="container-fluid mt-5" style="background-image: radial-gradient(circle at 100% 150%, #3C312B 24%, #524C49 24%, #524C49 28%, #3C312B 28%, #3C312B 36%, #524C49 36%, #524C49 40%, transparent 40%, transparent), radial-gradient(circle at 0 150%, #3C312B 24%, #524C49 24%, #524C49 28%, #3C312B 28%, #3C312B 36%, #524C49 36%, #524C49 40%, transparent 40%, transparent), radial-gradient(circle at 50% 100%, #524C49 10%, #3C312B 10%, #3C312B 23%, #524C49 23%, #524C49 30%, #3C312B 30%, #3C312B 43%, #524C49 43%, #524C49 50%, #3C312B 50%, #3C312B 63%, #524C49 63%, #524C49 71%, transparent 71%, transparent), radial-gradient(circle at 100% 50%, #524C49 5%, #3C312B 5%, #3C312B 15%, #524C49 15%, #524C49 20%, #3C312B 20%, #3C312B 29%, #524C49 29%, #524C49 34%, #3C312B 34%, #3C312B 44%, #524C49 44%, #524C49 49%, transparent 49%, transparent), radial-gradient(circle at 0 50%, #524C49 5%, #3C312B 5%, #3C312B 15%, #524C49 15%, #524C49 20%, #3C312B 20%, #3C312B 29%, #524C49 29%, #524C49 34%, #3C312B 34%, #3C312B 44%, #524C49 44%, #524C49 49%, transparent 49%, transparent); background-size: 100px 50px; background-repeat: repeat; background-color: #3C312B; 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>
@@ -18,7 +18,7 @@
</a>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 pt-2">
<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>
@@ -36,7 +36,7 @@
<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>
<p class="fw-normal">Prafullanagar, Habra, Dist: 24Pgs(N), West Bengal, Pin: 743268</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>
@@ -53,7 +53,4 @@
</div>
</footer>
</body>
</html>
<?php
?>
</html>

594
.hta_header-preserved.php Normal file
View File

@@ -0,0 +1,594 @@
<!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: #ffddcc;">
<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">
<a href="/notice?type=notice" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66; color: #FFFFFF; text-decoration: none;">Notice</a>
<a href="/gallery.html" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66; color: #FFFFFF; text-decoration: none;">Gallery</a>
</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&deg;</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 &raquo; </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 &raquo; </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.html">History</a></li>
<li><a class="dropdown-item" href="#">Mission</a></li>
<li><a class="dropdown-item" href="/pricipal-desk.html">Vision</a></li>
<li><a class="dropdown-item" href="">Objective</a></li>
<li><a class="dropdown-item" href="/infrastructure-and-learning-resources.html">Infrastructure & Facilities</a></li>
<li><a class="dropdown-item" href="#">Distinctiveness</a></li>
<li><a class="dropdown-item" href="/best-practices.html">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.html">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.html">Teachers' Council</a></li>
<li><a class="dropdown-item" href="/organogram.html">Organogram</a></li>
<li><a class="dropdown-item" href="/code-of-conduct.html">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.html">RTI</a></li>
<li><a class="dropdown-item" href="/rusa.html">RUSA</a></li>
<li><a class="dropdown-item" href="/staff.html">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 &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments.html">Humanities</a></li>
<li><a class="dropdown-item" href="/departments-of-science.html">Science</a></li>
<li><a class="dropdown-item" href="#">Commerce</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="/#"> Departments &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="#">Humanitiess &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments/humanities/bengali.html">Bengali</a></li>
<li><a class="dropdown-item" href="/departments/humanities/economics.html">Economics</a></li>
<li><a class="dropdown-item" href="#">Education</a></li>
<li><a class="dropdown-item" href="/departments/humanities/english.html">English</a></li>
<li><a class="dropdown-item" href="#">French</a></li>
<li><a class="dropdown-item" href="/departments/humanities/geography.html">Geography</a></li>
<li><a class="dropdown-item" href="/departments/humanities/history.html">History</a></li>
<li><a class="dropdown-item" href="/departments/humanities/philosophy.html">Philosophy</a></li>
<li><a class="dropdown-item" href="/departments/humanities/political-science.html">Political Science</a></li>
<li><a class="dropdown-item" href="/departments/humanities/sanskrit.html">Sanskrit</a></li>
<li><a class="dropdown-item" href="#">Sociology</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="#">Science &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments/science/botany.html">Botany</a></li>
<li><a class="dropdown-item" href="/departments/science/chemistry.html">Chemistry</a></li>
<li><a class="dropdown-item" href="/departments/science/computer-science.html">Computer Science</a></li>
<li><a class="dropdown-item" href="/departments/science/enviromental-science.html">Environmental Science</a></li>
<li><a class="dropdown-item" href="/departments/science/mathematics.html">Mathematics</a></li>
<li><a class="dropdown-item" href="/departments/science/physics.html">Physics</a></li>
<li><a class="dropdown-item" href="/departments/science/zoology.html">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.html">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="/activities.html">Student Support Services</a></li>
<li><a class="dropdown-item" href="/students-union.html">Students' Union</a></li>
<li><a class="dropdown-item" href="/alumni-association.html">Alumni</a></li>
<li><a class="dropdown-item" href="#">E-Magazine</a></li>
<li><a class="dropdown-item" href="/students-feedback.html">Feedback Form</a></li>
<li><a class="dropdown-item" href="/student-grievance.html">Online Grievance Redressal</a></li>
<li><a class="dropdown-item" href="/anti-ragging-committee.html">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="/students-health-home.html">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.html"> 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="/welfare-programme.html"> 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>

View File

@@ -1,13 +1,9 @@
<?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.">
@@ -19,135 +15,137 @@
<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> -->
<!-- <div hx-get="mega-menu" hx-trigger="load" hx-swap="outerHTML"></div> -->
</head>
<body>
<header class="section-header ">
<div class="container-fluid" style="background-color: #e0d7d1;">
<div class="container-fluid" style="background-color: #ffddcc">
<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-grid col- col-lg-8 col-xl-7">
<div class="d-flex flex-column flex-md-row" style="width: 100%; align-items: center;">
<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" />
<!-- <img class="" src="../assets/ashok.png" alt="" width="120" height="120" /> -->
<a href="/">
<img class="" src="../assets/logo3.png" alt="" width="140" height="140" />
</a>
</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>
<p style="color: #402517;">Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B</p>
<p style="margin-top: -15px; color: #402517;" class="">sreechaitanyacollege@rediffmail.com</p>
</div>
</div>
</div>
<div class="col- col-lg-4 col-xl-4">
<div class="col- col-lg-4 col-xl-5">
<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="d-flex flex-wrap flex-md-row gap-2">
<div class="mt-1">
<a href="/naac" class="btn btn-secondary">NAAC</a>
</div>
<div class=" mt-1">
<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>
<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="/iqac-formation">IQAC Composition</a></li>
<li><a class="dropdown-item" href="/minutes-of-iqac">IQAC Minutes</a></li>
<li><a class="dropdown-item" href="/clubs-cells">Clubs & Cells</a></li>
<li><a class="dropdown-item" href="/best-practices">Best Practices</a></li>
<li><a class="dropdown-item" href="#">Future Plans & Implementation</a></li>
<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="/aqar">A.Q.A.R.</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><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>
</div>
</div>
<div class="mt-1">
<a href="/nirf-data" class="btn btn-secondary">NIRF</a>
</div>
<div class="mt-1">
<a href="/aishe" class="btn btn-secondary">AISHE</a>
</div>
<div class="mt-1">
<a href="/icc" class="btn btn-secondary">ICC</a>
</div>
<!-- <div class="mt-1">
<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>
</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-1">
<a href="/ncc" class="btn btn-secondary">NCC</a>
</div>
<div class=" mt-5">
<div class="mt-1">
<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>
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">ADMISSION</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<li class="dropdown-submenu">
<li><a class="dropdown-item" href="/admission">General Information</a></li></li>
<li><a class="dropdown-item" href="/prospectus">Prospectus</a></li></li>
<li><a class="dropdown-item" href="/intake-capacity">Intake Capacity</a></li></li>
<li><a class="dropdown-item" href="/fee-structure">Fee Structure</a></li></li>
<li><a class="dropdown-item" href="/subjects-combination">Subject Combination</a></li></li>
<li><a class="dropdown-item" href="/nep">NEP</a></li></li>
<li><a class="dropdown-item" href="/cbsc">CBSC</a></li></li>
<li><a class="dropdown-item" href="/marks-distribution">Marks Distribution</a></li></li>
<li><a class="dropdown-item" href="/result">Result</a></li></li>
</ul>
</div>
</div>
<div class=" mt-5">
<div class="mt-1">
<a href="/library" class="btn btn-secondary">LIBRARY</a>
</div>
<!-- Button with sub dropdown -->
<!-- <div class="mt-1">
<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>
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">LIBRARY</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>
</ul>
</div>
</div> -->
<div class="mt-1">
<a href="/rti" class="btn btn-secondary">RTI</a>
</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">
<a href="/notice?type=notice" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66; color: #FFFFFF; text-decoration: none;">Notice</a>
<a href="/gallery" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66; color: #FFFFFF; text-decoration: none;">Gallery</a>
<div class="d-flex flex-column flex-xl-row my-2 gap-2 justify-content-between text-white font-weight-bold">
<a href="/notice?type=notice" class="text-center px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #402517; color: #FFFFFF; text-decoration: none;">Notice</a>
<a href="/gallery" class="text-center px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #402517; color: #FFFFFF; text-decoration: none;">Gallery</a>
<a href="/code-of-ethics-and-conduct" class="text-center px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #402517; color: #FFFFFF; text-decoration: none;">Code of Ethics</a>
</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>
<div class="d-flex flex-row" style="width: 100%; align-items: center; justify-content: center; gap: 10px">
<a href="/">
<img src="/assets/logo3.png" alt="" width="100" height="100" />
</a>
<!-- <div>
<img src="/assets/ashok.png" alt="" width="60" />
</div>
<div class="d-flex flex-column " >
@@ -156,16 +154,19 @@
</div>
<div>
<img src="/assets/logo3.png" alt="" width="60" />
</div>
</div> -->
<div class="d-flex flex-column " style="margin-top: 10px;" >
<h2 style="margin-top: -6px; color: #6b6245;" class="">Sree Chaitanya College</h2>
<h5 style="margin-top: -6px; color: #6b6245;" class="">(Arts and Science)</h5>
<p style="margin-top: -6px; color: #402517;" class="">Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B</p>
<p style="margin-top: -15px; color: #402517;" class="">sreechaitanyacollege@rediffmail.com</p>
</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&deg;</h5>
<div class="d-flex flex-column justify-content-center text-white font-weight-bold text-center gap-2 mb-2">
<a href="/notice/?type=notice" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #402517; color: #fff; font-size: 22px; text-decoration: none;">Notice</a>
<a href="/gallery" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #402517; color: #fff; font-size: 22px; text-decoration: none;">Gallery</a>
<a href="/code-of-ethics-and-conduct" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #402517; color: #fff; font-size: 22px; text-decoration: none;">Code of Ethics</a>
</div>
</div>
</div>
@@ -179,37 +180,19 @@
<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 &raquo; </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 &raquo; </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>
<a href="/ncc" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">NCC</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">IQAC</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/iqac-formation">IQAC Composition</a></li>
<li><a class="dropdown-item" href="/minutes-of-iqac">IQAC Minutes</a></li>
<li><a class="dropdown-item" href="/clubs-cells">Clubs & Cells</a></li>
<li><a class="dropdown-item" href="/best-practices">Best Practices</a></li>
<li><a class="dropdown-item" href="#">Future Plans & Implementation</a></li>
<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="/aqar">A.Q.A.R.</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>
@@ -217,6 +200,38 @@
</ul>
</li>
<li class="nav-item dropdown">
<a href="/nirf-data" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">NIRF</a>
</li>
<li class="nav-item dropdown">
<a href="/aishe" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">AISHE</a>
</li>
<li class="nav-item dropdown">
<a href="/icc" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">ICC</a>
</li>
<li class="nav-item dropdown">
<a href="/ncc" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">NCC</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">ADMISSION</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/admission">General Information</a></li>
<li><a class="dropdown-item" href="/prospectus">Prospectus</a></li>
<li><a class="dropdown-item" href="/intake-capacity">Intake Capacity</a></li>
<li><a class="dropdown-item" href="/fee-structure">Fee Structure</a></li>
<li><a class="dropdown-item" href="/subjects-combination">Subject Combination</a></li>
<li><a class="dropdown-item" href="/nep">NEP</a></li>
<li><a class="dropdown-item" href="/cbsc">CBSC</a></li>
<li><a class="dropdown-item" href="/marks-distribution">Marks Distribution</a></li>
<li><a class="dropdown-item" href="/result">Result</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="/library" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">LIBRARY</a>
</li>
<li class="nav-item dropdown">
<a href="/rti" style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white mt-2">RTI</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">NIRF</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">NIRF 2024</a></li>
@@ -225,8 +240,8 @@
<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">
</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>
@@ -236,28 +251,152 @@
<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>
</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; ">
<nav class="navbar navbar-expand-lg navbar-dark text-primary" style="background-color: #402517; ">
<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>
<ul class="navbar-nav w-auto mx-auto" >
<ul class="navbar-nav w-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">Administration</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/governing-body">Governing Body</a></li>
<li><a class="dropdown-item" href="/composition-of-gb">Composition of GB</a></li>
<li><a class="dropdown-item" href="/organogram">Organogram</a></li>
<li><a class="dropdown-item" href="/staff">Staff</a></li>
<li><a class="dropdown-item" href="/working-hour">Working Hour</a></li>
<li><a class="dropdown-item" href="/pricipal-desk">Principal Desk</a></li>
</ul>
</li>
<li class="nav-item dropdown"><a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white " href="/about" >About</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">Notice</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 " href="/library" >Library</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">Departments</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/departments-of-humanities">Humanities</a></li>
<li><a class="dropdown-item" href="/departments-of-science">Science</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">Departments</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/notice?type=notice"></a>Humanities</li>
<li><a class="dropdown-item" href="/notice?type=tender">Science</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 &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments">Humanities</a></li>
<li><a class="dropdown-item" href="/departments-of-science">Science</a></li>
<li><a class="dropdown-item" href="#">Commerce</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="/#">Departments &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="#">Humanitiess &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/department-of-bengaliug-pg">Bengali</a></li>
<li><a class="dropdown-item" href="/department-of-english">English</a></li>
<li><a class="dropdown-item" href="/department-of-sanskrit">Sanskrit</a></li>
<li><a class="dropdown-item" href="/department-of-philosophy">Philosophy</a></li>
<li><a class="dropdown-item" href="/department-of-political-science">Political Science</a></li>
<li><a class="dropdown-item" href="/department-of-history">History</a></li>
<li><a class="dropdown-item" href="/department-of-defence-studies">Defence Studies</a></li>
<li><a class="dropdown-item" href="/department-of-journalism-mass-communication">Journalism</a></li>
<li><a class="dropdown-item" href="/department-of-physical-education">Physical Education</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="#">Science &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/department-of-anthropology">Anthropology</a></li>
<li><a class="dropdown-item" href="/department-of-botany">Botany</a></li>
<li><a class="dropdown-item" href="/department-of-chemistry">Chemistry</a></li>
<li><a class="dropdown-item" href="/department-of-physics">Physics</a></li>
<li><a class="dropdown-item" href="/department-of-mathematics">Mathematics</a></li>
<li><a class="dropdown-item" href="/department-of-geography">Geography</a></li>
<li><a class="dropdown-item" href="/department-of-economics">Economics</a></li>
<li><a class="dropdown-item" href="/department-of-zoology">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">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">Organizations</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/teachers-council">Teachers' Council</a></li>
<li><a class="dropdown-item" href="/alumni-association">Alumni Association</a></li>
<li><a class="dropdown-item" href="/anti-ragging-committee">Anti-Ragging Cell</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="/infrastructure-and-learning-resources">Infrastructure and Learning Resources</a></li>
<li><a class="dropdown-item" href="/welfare-programme">Welfare Programme</a></li>
<li><a class="dropdown-item" href="/rti">RTI</a></li>
<li><a class="dropdown-item" href="/canteen">Canteen</a></li>
</ul>
</li>
<li class="nav-item dropdown"><a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white " href="/prospectus" >Prospectus</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">Student's Info</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/students-union">Students Union</a></li>
<li><a class="dropdown-item" href="/students-feedback">Students Feedback</a></li>
<li><a class="dropdown-item" href="/student-grievance">Student Grievance</a></li>
<li><a class="dropdown-item" href="/students-health-home">Student's Health Home</a></li>
<li><a class="dropdown-item" href="/activities">Activities</a></li>
</ul>
</li>
<li class="nav-item dropdown"><a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white " href="/contact-us" >Contact Us</a></li>
</ul>
<!-- <li class="nav-item dropdown"><a style="padding-left: 5px; padding-right: 5px;" class="nav-link text-white " href="/gallery" >Gallery</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="/history">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="/infrastructure-and-learning-resources">Objective</a></li>
<li><a class="dropdown-item" href="#">Infrastructure & Facilities</a></li>
<li><a class="dropdown-item" href="/pricipal-desk">Vision</a></li>
<li><a class="dropdown-item" href="">Objective</a></li>
<li><a class="dropdown-item" href="/infrastructure-and-learning-resources">Infrastructure & Facilities</a></li>
<li><a class="dropdown-item" href="#">Distinctiveness</a></li>
<li><a class="dropdown-item" href="/best-practices">Best Practices</a></li>
<li><a class="dropdown-item" href="#">Awards & Recognition</a></li>
@@ -270,105 +409,8 @@
<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">Teachers' Council</a></li>
<li><a class="dropdown-item" href="/organogram">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="/staff">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 &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/#">Humanities</a></li>
<li><a class="dropdown-item" href="/departments-of-science">Science</a></li>
<li><a class="dropdown-item" href="#">Commerce</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="/departments"> Departments &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="#">Humanitiess &raquo; </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 &raquo; </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">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="/activities">Student Support Services</a></li>
<li><a class="dropdown-item" href="/students-union">Students' Union</a></li>
<li><a class="dropdown-item" href="/alumni-association">Alumni</a></li>
<li><a class="dropdown-item" href="#">E-Magazine</a></li>
<li><a class="dropdown-item" href="/students-feedback">Feedback Form</a></li>
<li><a class="dropdown-item" href="/student-grievance">Online Grievance Redressal</a></li>
<li><a class="dropdown-item" href="/anti-ragging-committee">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="/students-health-home">Add on Information</a></li>
</ul>
</li>
<li class="nav-item dropdown">
</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>
@@ -377,9 +419,9 @@
<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> -->
<li class="nav-item dropdown">
<!-- <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>
@@ -387,32 +429,16 @@
<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">
</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="#"> Events </a></li>
<li><a class="dropdown-item" href="#"> Press Coverage </a></li>
<li><a class="dropdown-item" href="/gallery"> Gallery </a></li>
<li><a class="dropdown-item" href="#"> Videos </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="/welfare-programme"> ICT & Other Facilities </a></li>
<li><a class="dropdown-item" href="#"> Girl's Hostel </a></li>
</ul>
</li>
</ul>
</li> -->
</div> <!-- navbar-collapse.// -->
</div> <!-- container-fluid.// -->
</nav>
@@ -453,7 +479,7 @@
position: relative;
}
.dropdown-menu{
background-color: #3e5b66;
background-color: #402517;
}
.dropdown-menu .submenu{
display: none;
@@ -481,12 +507,12 @@
font-optical-sizing: auto;
}
.dropdown-menu .dropdown-menu {
margin-left: 0.7rem;
/* margin-left: 0.7rem; */
margin-right: 0.7rem;
margin-bottom: .5rem;
}
.dropdown-menu {
background-color: #3e5b66;
background-color: #402517;
}
}
/* ============ small devices .end// ============ */

View File

@@ -1,10 +1,11 @@
<?php
require('.hta_config/env.php');
require('./.hta_header.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 `scc22` WHERE `type` = 'notice'");
$stmt = $conn->prepare("SELECT * FROM `scc24` WHERE `type` = 'notice' ORDER BY `date_created` DESC");
$stmt = $conn->prepare("SELECT * FROM `scc24` WHERE `type` = 'notice' ORDER BY `date_created` DESC LIMIT 20");
$stmt->execute();
$notices = $stmt->fetchAll(PDO::FETCH_ASSOC);
@@ -19,19 +20,18 @@
} catch (PDOException $e) {
$in_page_message = "<p class='text-danger'>Error: " . $e->getMessage() . "</p>";
}
?>
<div style="width: 100%;height: 480px;">
?>
<div style="width: 100%;height: 100%;">
<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="mb-4 text-center" style="color: #6b6245;">Vision of The College <hr></h3>
<p class="text-center mb-4">Character Formation through Knowledge and Value-based Education for
<h3 class="mb-2 text-center" style="color: #6b6245;">Vision of The College <hr></h3>
<p class="text-center mb-2">Character Formation through Knowledge and Value-based Education for
Transformation
of the Society and the Nation</p>
@@ -72,42 +72,81 @@
</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;">
<div class="col-lg-3 col-12 gap-3">
<div class="card" style="width: 250px; border: 1px solid #ccc; margin-bottom: 10px;">
<div class="card-header fw-bold" style="color: #402517; background-color: #ffddcc">Notice</div>
<div id="scrollable" class="content list-group list-group-flush" style="height: 200px; overflow-y: auto;">
<?php
foreach ($notices as $notice) {
echo '<a href="/notice/'.$notice['slug'].'" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$notice['title'].'</a>';
echo '<a id="" href="/notice/'.$notice['slug'].'.html" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$notice['title'].'</a>';
}
?>
</div>
<div class="text-center" style="background-color: #868756; padding: 5px;">
<a href="/notice" class="w-100" style="color: #ffffff;">View All</a>
<div class="text-center" style="background-color: #ffddcc; padding: 5px;">
<a href="/notice?type=notice" class="w-100" style="color: #402517; text-decoration: none;">View All</a>
</div>
</div>
<div class="card" style="width: 250px; border: 1px solid #ccc;">
<div class="card-header text-white fw-bold" style="background-color: #868756">Important Links</div>
<div class="card" style="width: 250px; border: 1px solid #ccc; margin-bottom: 10px;">
<div class="card-header fw-bold" style="color: #402517; background-color: #ffddcc">Important Links</div>
<div class="list-group list-group-flush" style="height: 200px; overflow-y: auto;">
<?php
foreach ($importants as $important) {
echo '<a href="/notice/'.$important['slug'].'" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$important['title'].'</a>';
echo '<a href="/notice/'.$important['slug'].'.html" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$important['title'].'</a>';
}
?>
</div>
</div>
<div class="card" style="width: 250px; border: 1px solid #ccc;">
<div class="card-header text-white fw-bold" style="background-color: #868756">Important Links</div>
<div class="card-header fw-bold" style="color: #402517; background-color: #ffddcc">Events</div>
<div class="list-group list-group-flush" style="height: 200px; overflow-y: auto;">
<?php
foreach ($events as $event) {
echo '<a href="/notice/'.$event['slug'].'" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$event['title'].'</a>';
echo '<a href="/notice/'.$event['slug'].'.html" class="list-group-item list-group-item-action" style="color: #6b6245;">'.$event['title'].'</a>';
}
?>
</div>
</div>
</div>
</div>
</main>
</main>
<script>
const scrollableContent = document.querySelector("#scrollable .content");
let scrollInterval;
function startAutoScroll() {
scrollInterval = setInterval(() => {
scrollable.scrollTop += 1; // Adjust the increment as needed
if (scrollable.scrollTop + scrollable.clientHeight >= scrollable.scrollHeight) {
scrollable.scrollTop = 0; // Reset to the top if reached the end
}
}, 20); // Adjust the speed in milliseconds
}
function stopAutoScroll() {
clearInterval(scrollInterval);
}
// Start scrolling when the page loads
startAutoScroll();
// Optionally, stop scrolling on mouse hover
scrollableContent.addEventListener("mouseover", stopAutoScroll);
scrollableContent.addEventListener("mouseout", startAutoScroll);
</script>
<style>
#scrollable {
overflow: scroll; /* Enable scrolling */
border: 1px solid #ccc;
}
/* Hide scrollbar for modern browsers */
#scrollable::-webkit-scrollbar {
display: none; /* For Chrome, Safari, and Edge */
}
#scrollable {
scrollbar-width: none; /* For Firefox */
-ms-overflow-style: none; /* For Internet Explorer and Edge */
}
</style>

15
.hta_slug/admin.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
if(isset($url[2])){
$slug2="";
if (strpos($url[2], "?") !== false) {
$url2 = explode('?', $url[2]);
$slug2=$url2[0];
} else $slug2=$url[2];
if($slug2=="") require_once('adminidwnew9uhwef8f/_home.php');
elseif(file_exists(__DIR__."/adminidwnew9uhwef8f/".$slug2.".php")) include __DIR__."/adminidwnew9uhwef8f/".$slug2.".php";
else require_once('adminidwnew9uhwef8f/.hta_404.php');
}
else require_once('adminidwnew9uhwef8f/_home.php');
?>

15
.hta_slug/faculty.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
if(isset($url[2])){
$slug2="";
if (strpos($url[2], "?") !== false) {
$url2 = explode('?', $url[2]);
$slug2=$url2[0];
} else $slug2=$url[2];
if($slug2=="") require_once('faculty/_home.php');
elseif(file_exists(__DIR__."/faculty/".$slug2.".php")) include __DIR__."/faculty/".$slug2.".php";
else require_once('faculty/.hta_404.php');
}
else require_once('faculty/_home.php');
?>

View File

@@ -1,27 +1,15 @@
<?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>";
}
if(isset($url[2])){
$slug2="";
if (strpos($url[2], "?") !== false) {
$url2 = explode('?', $url[2]);
$slug2=$url2[0];
} else $slug2=$url[2];
if($slug2=="") require_once('notice/_home.php');
elseif(file_exists(__DIR__."/notice/".$slug2.".php")) include __DIR__."/notice/".$slug2.".php";
else require_once('notice/.hta_404.php');
}
else require_once('notice/_home.php');
?>

77
.hta_slug/quill.php Normal file
View File

@@ -0,0 +1,77 @@
<?php
require('.hta_config/env.php');
require('.hta_header.php');
require('.hta_admin_header.php');
?>
<link href="/styles.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.snow.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.js"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" />
<div id="toolbar-container">
<span class="ql-formats">
<select class="ql-font"></select>
<select class="ql-size"></select>
</span>
<span class="ql-formats">
<button class="ql-bold"></button>
<button class="ql-italic"></button>
<button class="ql-underline"></button>
<button class="ql-strike"></button>
</span>
<span class="ql-formats">
<select class="ql-color"></select>
<select class="ql-background"></select>
</span>
<span class="ql-formats">
<button class="ql-script" value="sub"></button>
<button class="ql-script" value="super"></button>
</span>
<span class="ql-formats">
<button class="ql-header" value="1"></button>
<button class="ql-header" value="2"></button>
<button class="ql-blockquote"></button>
<button class="ql-code-block"></button>
</span>
<span class="ql-formats">
<button class="ql-list" value="ordered"></button>
<button class="ql-list" value="bullet"></button>
<button class="ql-indent" value="-1"></button>
<button class="ql-indent" value="+1"></button>
</span>
<span class="ql-formats">
<button class="ql-direction" value="rtl"></button>
<select class="ql-align"></select>
</span>
<span class="ql-formats">
<button class="ql-link"></button>
<button class="ql-image"></button>
<button class="ql-video"></button>
<button class="ql-formula"></button>
</span>
<span class="ql-formats">
<button class="ql-clean"></button>
</span>
</div>
<div id="editor">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum quisquam eos rerum dolore obcaecati nulla porro minus voluptas blanditiis fugiat dolorum quis earum quam excepturi, et officia quia aliquam sunt?
</div>
<!-- Initialize Quill editor -->
<script>
const quill = new Quill('#editor', {
modules: {
syntax: true,
toolbar: '#toolbar-container',
},
placeholder: 'Compose an epic...',
theme: 'snow',
});
console.log(document.getElementById('editor').innerHTML)
</script>

624
.hta_slug/test.php Normal file
View File

@@ -0,0 +1,624 @@
<?php
require('.hta_config/env.php');
require('.hta_header.php');
require('.hta_admin_header.php');
?>
<div class="container mx-auto">
<div class="d-flex flex-column flex-md-row mt-5 gap-5">
<div class="border border-2 border-dark rounded" style="height: fit-content; width: fit-content;">
<img src="/assets/img.png" alt="" style="background-color: #1b07e9; width: 200px;">
<!-- <svg class="bg-primary" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 459.526 459.526" xml:space="preserve" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <g> <path style="fill:#7E5449;" d="M173.83,52.094l32.901,224.279l-62.829-72.415C118.442,172.459,79.142,52.094,173.83,52.094z"></path> </g> <g> <path style="fill:#7E5449;" d="M155.734,58.563c14.806-28.403,91.721-38.822,134.924-11.238 c60.636,38.714,54.905,108.173,26.336,161.326c-0.092,0.171-66.668,46.885-66.668,46.885L155.734,58.563z"></path> </g> <g> <path style="fill:#FFD7A3;" d="M276.183,270.906h-0.358v-15.37H183.7v15.354c0,15.042-0.063,31.392-13.161,41.282v147.354h59.223 c0,0,31.011,0,59.223,0V311.942C276.223,302.027,276.183,285.819,276.183,270.906z"></path> </g> <g> <path style="fill:#BCA096;" d="M328.468,321.339h-2.193c-24.994,0-37.508-6.641-43.869-16.165l-52.643,31.382l-52.643-31.382 c-6.361,9.524-18.875,16.165-43.869,16.165h-2.193c-39.976,0-72.384,32.407-72.384,72.384v46.062 c0,10.902,8.838,19.741,19.741,19.741h111.865h23.163h32.638h36.323h98.705c10.903,0,19.741-8.839,19.741-19.741v-46.062 C400.851,353.746,368.444,321.339,328.468,321.339z"></path> </g> <g> <path style="fill:#FDC88E;" d="M275.915,334.937c2.401,0.655-2.017-6.751,0-6.58l13.07-16.414 c-12.762-9.915-12.803-26.124-12.803-41.037h-0.358v-15.37h-72.384l-19.741,6.58C196.861,276.922,230.675,322.598,275.915,334.937 z"></path> </g> <g> <path style="fill:#FFE1B2;" d="M321.887,169.992c0,52.696-52.408,118.446-92.124,118.446s-92.124-65.75-92.124-118.446 s41.246-72.384,92.124-72.384S321.887,117.296,321.887,169.992z"></path> </g> <g> <path style="fill:#7E5449;" d="M197.231,109.229c0,0-50.076,15.368-59.116,69.671c-2.1,12.616-19.579-43.019-19.579-43.019 s9.87-43.869,12.064-44.966c2.193-1.097,46.611-19.193,46.611-19.193l13.287,11.49L197.231,109.229z"></path> </g> <g> <path style="fill:#E4EBF0;" d="M229.763,336.556l-52.642-34.958l-15.444,15.443l35.185,50.36c4.113,5.552,10.356,3.141,13.161,0 L229.763,336.556z"></path> </g> <g> <path style="fill:#E4EBF0;" d="M229.763,336.556l52.642-34.958l15.444,15.443l-35.185,50.36c-4.113,5.552-10.356,3.141-13.161,0 L229.763,336.556z"></path> </g> <g> <path style="fill:#FFE1B2;" d="M316.399,177.857c9.864-2.468,16.326,2.805,16.326,13.161c0,13.709-13.265,47.296-27.21,26.321 S316.399,177.857,316.399,177.857z"></path> </g> <g> <circle style="fill:#E4EBF0;" cx="229.763" cy="408.914" r="6.58"></circle> </g> <g> <circle style="fill:#E4EBF0;" cx="229.763" cy="377.302" r="6.58"></circle> </g> <g> <circle style="fill:#E4EBF0;" cx="229.853" cy="440.525" r="6.58"></circle> </g> <g> <ellipse style="fill:#7E5449;" cx="221.691" cy="40.579" rx="51.941" ry="40.579"></ellipse> </g> <g> <path style="fill:#545465;" d="M195.279,220.989c-14.74,0-26.733-11.993-26.733-26.733s11.993-26.733,26.733-26.733 s26.733,11.993,26.733,26.733S210.019,220.989,195.279,220.989z M195.279,174.104c-11.112,0-20.152,9.04-20.152,20.152 s9.04,20.152,20.152,20.152s20.152-9.04,20.152-20.152S206.391,174.104,195.279,174.104z"></path> </g> <g> <path style="fill:#545465;" d="M264.247,220.989c-14.74,0-26.733-11.993-26.733-26.733s11.993-26.733,26.733-26.733 c14.74,0,26.733,11.993,26.733,26.733S278.987,220.989,264.247,220.989z M264.247,174.104c-11.112,0-20.152,9.04-20.152,20.152 s9.04,20.152,20.152,20.152c11.112,0,20.152-9.04,20.152-20.152S275.359,174.104,264.247,174.104z"></path> </g> <g> <path style="fill:#545465;" d="M244.562,190.15h-6.58c0-4.532-3.687-8.219-8.219-8.219s-8.219,3.687-8.219,8.219h-6.58 c0-8.16,6.638-14.799,14.799-14.799S244.562,181.991,244.562,190.15z"></path> </g> <g> <path style="fill:#545465;" d="M176.118,184.052h-40.125c-1.817,0-3.29-1.473-3.29-3.29c0-1.817,1.473-3.29,3.29-3.29h40.125 c1.817,0,3.29,1.473,3.29,3.29C179.408,182.579,177.935,184.052,176.118,184.052z"></path> </g> <g> <path style="fill:#545465;" d="M316.994,184.052h-33.591c-1.817,0-3.29-1.473-3.29-3.29c0-1.817,1.473-3.29,3.29-3.29h33.591 c1.817,0,3.29,1.473,3.29,3.29C320.284,182.579,318.811,184.052,316.994,184.052z"></path> </g> <g> <path style="fill:#7E5449;" d="M216.972,64.706c3.697,0,15.701,4.154,25.512,7.794l0.809-1.214c0,0,1.354,1.064,3.698,2.908 c5.457,2.072,9.462,3.672,9.462,3.672l-1.539,2.566c24.976,19.678,73.553,30.747,73.553,68.584 c0,44.006-30.619,76.687-30.619,76.687c20.748-80.499-24.903-96.016-74.028-105.176c-18.829-3.511-30.977-11.953-33.17-22.92 C188.457,86.641,210.392,64.706,216.972,64.706z"></path> </g> <g> <path style="fill:#FFE1B2;" d="M143.126,177.857c-9.187-4.357-16.326,2.805-16.326,13.161c0,13.709,13.265,47.296,27.21,26.321 S152.377,182.244,143.126,177.857z"></path> </g> </g> </g></svg> -->
</div>
<div class="d-flex flex-column">
<h3 class="text-uppercase fw-bold">Moumita saha</h3>
<p class="" style="font-weight: 500;">SACT-1</p>
<p style="margin-top: -10px;">M.Sc, M.Ed.</p>
<div class="d-flex flex-row gap-1" style="margin-top: -10px;">
<svg width="20px" height="20px" viewBox="0 0 24 24" id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><defs><style>.cls-1{fill:none;stroke:#020202;stroke-miterlimit:10;stroke-width:1.91px;}</style></defs><polyline class="cls-1" points="18.68 6.97 22.5 10.09 22.5 22.5 1.5 22.5 1.5 10.09 5.32 6.97"></polyline><polyline class="cls-1" points="1.5 11.04 12 18.68 22.5 11.04"></polyline><polyline class="cls-1" points="5.32 13.91 5.32 1.5 18.68 1.5 18.68 13.91"></polyline><line class="cls-1" x1="8.18" y1="5.32" x2="15.82" y2="5.32"></line><line class="cls-1" x1="8.18" y1="9.14" x2="15.82" y2="9.14"></line><line class="cls-1" x1="8.18" y1="12.95" x2="15.82" y2="12.95"></line></g></svg>
<a href="mailto:moumita.saha487@gmail.com" class="fw-bold">moumita.saha487@gmail.com</a>
</div>
<div class="d-flex flex-row gap-1" style="margin-top: 5px;">
<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M14 2C14 2 16.2 2.2 19 5C21.8 7.8 22 10 22 10" stroke="#000000" stroke-width="1.5" stroke-linecap="round"></path> <path d="M14.207 5.53564C14.207 5.53564 15.197 5.81849 16.6819 7.30341C18.1668 8.78834 18.4497 9.77829 18.4497 9.77829" stroke="#000000" stroke-width="1.5" stroke-linecap="round"></path> <path d="M10.0376 5.31617L10.6866 6.4791C11.2723 7.52858 11.0372 8.90532 10.1147 9.8278C10.1147 9.8278 10.1147 9.8278 10.1147 9.8278C10.1146 9.82792 8.99588 10.9468 11.0245 12.9755C13.0525 15.0035 14.1714 13.8861 14.1722 13.8853C14.1722 13.8853 14.1722 13.8853 14.1722 13.8853C15.0947 12.9628 16.4714 12.7277 17.5209 13.3134L18.6838 13.9624C20.2686 14.8468 20.4557 17.0692 19.0628 18.4622C18.2258 19.2992 17.2004 19.9505 16.0669 19.9934C14.1588 20.0658 10.9183 19.5829 7.6677 16.3323C4.41713 13.0817 3.93421 9.84122 4.00655 7.93309C4.04952 6.7996 4.7008 5.77423 5.53781 4.93723C6.93076 3.54428 9.15317 3.73144 10.0376 5.31617Z" stroke="#000000" stroke-width="1.5" stroke-linecap="round"></path> </g></svg>
<a class="fw-bold">N/A</a>
</div>
<div class="d-flex flex-row gap-3" style="place-items: center;">
<svg fill="#000000" width="30px" height="30px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><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="M2,14H5V11H2Zm9,0h3V11H11ZM2,5H5V2H2Zm9-3V5h3V2ZM6.5,5h3V2h-3Zm0,9h3V11h-3ZM11,9.5h3v-3H11Zm-4.5,0h3v-3h-3ZM2,9.5H5v-3H2Z"></path> </g> </g></svg>
<h4 class="text-uppercase" style="font-weight: 600;">AREA OF INTEREST</h4>
</div>
<ul>
<li style="font-size: 15px;">History of Medicine</li>
<h2 style="font-size: 15px;">Area of Specialization: Regional Planning</h2>
<h2 style="font-size: 15px;">Area of Research and Interest: Regional Planning</h2>
</ul>
</div>
</div>
<div class="d-flex flex-column flex-md-row align-items-start">
<div class="nav flex-column nav-pills me-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
<button class="d-flex flex-row gap-4 nav-link active" id="v-pills-education-tab" data-bs-toggle="pill" data-bs-target="#v-pills-education" type="button" role="tab" aria-controls="v-pills-education" aria-selected="true" style="white-space: nowrap; place-items: center; background-color: #966650;"><img src="/assets/diploma.svg" alt="" />Academic Qualification(3)</button>
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-work-tab" data-bs-toggle="pill" data-bs-target="#v-pills-work" type="button" role="tab" aria-controls="v-pills-work" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/graph.svg" alt="" />Work Experience (1)</button>
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-awards-tab" data-bs-toggle="pill" data-bs-target="#v-pills-awards" type="button" role="tab" aria-controls="v-pills-awards" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/award.svg" alt="" />Awards (0)</button>
<!-- <button class="d-flex flex-row gap-4 nav-link" id="v-pills-journal-tab" data-bs-toggle="pill" data-bs-target="#v-pills-journal" type="button" role="tab" aria-controls="v-pills-journal" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/news.svg" alt="" />Journal Publication (41)</button> -->
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-book-tab" data-bs-toggle="pill" data-bs-target="#v-pills-book" type="button" role="tab" aria-controls="v-pills-book" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/book.svg" alt="" />Publication (0)</button>
<!-- <button class="d-flex flex-row gap-4 nav-link" id="v-pills-paper-tab" data-bs-toggle="pill" data-bs-target="#v-pills-paper" type="button" role="tab" aria-controls="v-pills-paper" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/paper.svg" alt="" />Paper Presentation (17)</button> -->
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-course-tab" data-bs-toggle="pill" data-bs-target="#v-pills-course" type="button" role="tab" aria-controls="v-pills-course" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/course.svg" alt="" />Courses (0)</button>
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-project-tab" data-bs-toggle="pill" data-bs-target="#v-pills-project" type="button" role="tab" aria-controls="v-pills-project" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/project.svg" alt="" />Projects (0)</button>
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-seminar-tab" data-bs-toggle="pill" data-bs-target="#v-pills-seminar" type="button" role="tab" aria-controls="v-pills-seminar" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/seminar.svg" alt="" />Seminar Attedance (0)</button>
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-subjects-tab" data-bs-toggle="pill" data-bs-target="#v-pills-subjects" type="button" role="tab" aria-controls="v-pills-subjects" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/book.svg" alt="" />Subjects (0)</button>
<button class="d-flex flex-row gap-4 nav-link" id="v-pills-subjects-tab" data-bs-toggle="pill" data-bs-target="#v-pills-curricular" type="button" role="tab" aria-controls="v-pills-curricular" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/curri.svg" alt="" />Extra Curricular (0)</button>
<!-- <button class="d-flex flex-row gap-4 nav-link" id="v-pills-award-tab" data-bs-toggle="pill" data-bs-target="#v-pills-award" type="button" role="tab" aria-controls="v-pills-award" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/award.svg" alt="" />Awards (11)</button> -->
<!-- <button class="d-flex flex-row gap-4 nav-link" id="v-pills-hand-tab" data-bs-toggle="pill" data-bs-target="#v-pills-hand" type="button" role="tab" aria-controls="v-pills-hand" aria-selected="false" style="white-space: nowrap; place-items: center; background-color: #966650; border-bottom: 1px solid #fff"><img src="/assets/hand.svg" alt="" />Membership (6)</button> -->
</div>
<div class="tab-content" id="v-pills-tabContent">
<div class="tab-pane fade show active" id="v-pills-education" role="tabpanel" aria-labelledby="v-pills-education-tab">
<h3 class="fw-bold text-uppercase">Academic Qualification</h3>
<table>
<thead>
<tr>
<th>SL NO.</th>
<th>Degree</th>
<th>Year</th>
<th>Subject</th>
<th>University/Institution</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>B.Sc. (Honours)</td>
<td>2012</td>
<td>Geography</td>
<td>Calcutta University</td>
</tr>
<tr>
<td>2</td>
<td>M.Sc.</td>
<td>2014</td>
<td>Geography</td>
<td></td>
</tr>
<tr>
<td>3</td>
<td>M.Ed.</td>
<td>2020</td>
<td>Education</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="tab-pane fade" id="v-pills-work" role="tabpanel" aria-labelledby="v-pills-work-tab">
<div class="tab-pane fade show active" id="v-pills-work" role="tabpanel" aria-labelledby="v-pills-work-tab">
<h3 class="fw-bold text-uppercase">Work Experience</h3>
<table>
<thead>
<tr>
<th>Sl. No.</th>
<th>Positions Held</th>
<th>Name of the Institute</th>
<th>From</th>
<th>To</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td></td>
<td>Sree Chaitanya College, Habra</td>
<td>2018</td>
<td>2024</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab-pane fade" id="v-pills-awards" role="tabpanel" aria-labelledby="v-pills-awards-tab">
<div class="tab-pane fade show active" id="v-pills-awards" role="tabpanel" aria-labelledby="v-pills-awards-tab">
<h3 class="fw-bold text-uppercase">Awards</h3>
<table>
<thead>
<tr>
<th>Sl. No.</th>
<th>Name of Award</th>
<th>Awarding Agency</th>
<th>Year</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tab-pane fade" id="v-pills-project" role="tabpanel" aria-labelledby="v-pills-project-tab">
<h3 class="fw-bold text-uppercase">Projects</h3>
<table>
<thead>
<tr>
<th>Sl. No.</th>
<th>Title</th>
<th>Cost in Lakh</th>
<th>Start Date</th>
<th>End Date</th>
<th>Role as PI/Co-PI</th>
<th>Agency</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<!-- <div class="tab-pane fade" id="v-pills-journal" role="tabpanel" aria-labelledby="v-pills-journal-tab">
<h3 class="fw-bold text-uppercase">JOURNAL PUBLICATION</h3>
<table>
<tr>
<th>Published On</th>
<th>Details</th>
</tr>
<tr>
<td>2009</td>
<td>Observation of microwave plasmons in one-dimensional conjugated polymer chain. B Mondal, D Majumdar and S K Saha Appl. Phys. Lett. 94 (2009) 183109.</td>
</tr>
<tr>
<td>2009</td>
<td>Mechanism of Ultrasonic Energy-Assisted Formation of V-, Y-Shaped Nano-Structures in Conjugated Polymers D Majumdar R P Maity, S Basu, and S K Saha J. Nano Sc. & Nanotech. 9 (2009) 6896-6901.</td>
</tr>
<tr>
<td>2010</td>
<td>Graphene quantum sheet: A new material for spintronic application. S K Saha, M Baskey, D Majumdar. Adv. Mater. 22 (2010) 5531.</td>
</tr>
<tr>
<td>2010</td>
<td>Observation of ferroelectric response in conjugated polymer nanotubes. D Majumdar and S K Saha Appl. Phys. Lett., 96 (2010) 183113.</td>
</tr>
<tr>
<td>2010</td>
<td>Poly(3-hexylthiophene) nanotubes with superior electronic and optical properties. D Majumdar and S K Saha Chem. Phys. Lett., 489 (2010) 219.</td>
</tr>
<tr>
<td>2010</td>
<td>Synthesis of single crystalline micron-sized rectangular silver bar. B Mondal, D Majumdar and S K Saha, J. Mater. Research. 25 (2010) 383.</td>
</tr>
<tr>
<td>2011</td>
<td>Nanotechnology: Its current scope and prospect Dipanwita Majumdar Acad. J Aureole Vol 3(2), (2011) 114-119.</td>
</tr>
<tr>
<td>2011</td>
<td>Epitaxial growth of crystalline polyaniline on reduced graphene oxide D Majumdar M Baskey, S K Saha Macromol. Rapid Commun. 32 (2011) 1277.</td>
</tr>
<tr>
<td>2013</td>
<td>Graphene and its composites as supercaps. Dipanwita Majumdar Acad. J Aureole 4, (2013) 11-16.</td>
</tr>
<tr>
<td>2014</td>
<td>Reduced Graphene Oxide: An Efficient Supercapacitor Material. Dipanwita Majumdar Academic J. Aureole, 5 (2014) 42-46.</td>
</tr>
<tr>
<td>2015</td>
<td>Graphene-MnO2 Composite as Electrocatalyst for Oxygen Reduction Reactions. Dipanwita Majumdar Academic J. Aureole, 6&7(1) (2015-16) 31-37.</td>
</tr>
<tr>
<td>2015</td>
<td>Charge Transport in Polypyrrole Nanotubes. Dipanwita Majumdar, S.K. Saha J. Nanosci. Nanotechnol. 15 (2015) 9975-9981.</td>
</tr>
<tr>
<td>2016</td>
<td>Graphene-Polyaniline nanocomposites as Proficient Energy Storage Material-An Overview. Dipanwita Majumdar Innovative Energy & Research 5 (2016) 2.</td>
</tr>
<tr>
<td>2016</td>
<td>Sonochemically Synthesized Beta-Cyclodextrin Functionalized Graphene Oxide and its Efficient Role in Adsorption of Water Soluble Brilliant Green Dye. Dipanwita Majumdar J Environ Anal Toxicol 6 (2016) 5.</td>
</tr>
<tr>
<td>2016</td>
<td>Hydroxy functionalized Graphene: A Proficient Energy Storage Material, Dipanwita Majumdar and Sujata Pal, J Fundam. Renewable Energy Appl., 6 (2016) 209.</td>
</tr>
<tr>
<td>2016</td>
<td>Microwave-assisted synthesis of Mn2O3 porous balls as bifunctional electrocatalyst for oxygen reduction and evolution reaction Dipanwita Majumdar, et al Catal. Sci. Technol., 6(5) (2016) 1417-1429.</td>
</tr>
<tr>
<td>2016</td>
<td>Synthesis, characterization and electrochemical study of hydroxy-functionalized graphene/MnO2 nanocomposite D Majumdar, SK Bhattacharya Materials Today: Proceedings 3 (10), 3872-3877.</td>
</tr>
<tr>
<td>2017</td>
<td>Sonochemically synthesized hydroxy-functionalized graphene-MnO2 nanocomposite for supercapacitor applications. Dipanwita Majumdar, and Swapan K Bhattacharya J Appl Electrochem 47 (2017) 789-801.</td>
</tr>
<tr>
<td>2017</td>
<td>Proficiency of graphene oxide in adsorption and removal of methylene blue from water: An overview. Dipanwita Majumdar J Environ Chem Toxicol 1 (2017) 4-8.</td>
</tr>
<tr>
<td>2017</td>
<td>Detoxification of Heavy Metal ion-contaminated Drinking Water by Green Technology - A Short Overview. Dipanwita Majumdar Current Green Chemistry 4 (2017) 38-44.</td>
</tr>
<tr>
<td>2017</td>
<td>Functionalized Graphene-MnO2 nanocomposite in Fuel Cell Applications Dipanwita Majumdar Asian Journal of Science and Technology, 8(3),(2017) 4394-4398.</td>
</tr>
<tr>
<td>2017</td>
<td>Ultrasound assisted formation of reduced graphene oxide-copper (II) oxide nanocomposite for energy storage applications Dipanwita Majumdar, Nirmal Baugh, and Swapan K Bhattacharya Colloids and Surfaces A: Physicochem. Eng. Aspects 512 (2017) 158-170.</td>
</tr>
<tr>
<td>2018</td>
<td>An Overview on Ruthenium Oxide Composites-Challenging Material for Energy Storage Applications D Majumdar Materials Science Research India 15(1) ,(2018) 30-40.</td>
</tr>
<tr>
<td>2019</td>
<td>Anodic Oxidation of Butan-1-ol on Reduced Graphene Oxide-Supported-Pd-Ag-Nanoparticles/ Nanoalloy for Fuel Cell Applications Ankita Mahajan, Senjuti Banik, Dipanwita Majumdar and Swapan Kumar Bhattacharya ACS Omega, 4 (2019) 4658-4670.</td>
</tr>
<tr>
<td>2019</td>
<td>Temperature Control Synthesis of Platinum Nanoparticle-Decorated Reduced Graphene Oxide for Electrocatalytic Oxidation of Methanol. Senjuti Banik; Ankita Mahajan; Apurba Ray; Dipanwita Majumdar; Sachindranath Das; Swapan Kumar Bhattacharya Flat Chem (2019) Flat Chem 16 (2019) 100111.</td>
</tr>
<tr>
<td>2019</td>
<td>Synthesis and characterization of biopolymer based hybrid hydrogel nanocomposite and study of their electrochemical efficacy. Arindam Giri, Rahul Bhowmick, Chandraday Prodhan, Dipanwita Majumdar, Swapan Kumar Bhattacharya M Ali International Journal of Biological Macromolecules.123 (2019) 228-238.</td>
</tr>
<tr>
<td>2019</td>
<td>Engineering of Gadolinium-Decorated Graphene Oxide Nanosheets for Multimodal Bioimaging and Drug Delivery. Nitya Chawda, Mainak Basu, Dipanwita Majumdar, Raju Poddar, Santosh Kumar Mahapatra, Indrani Banerjee, ACS OMEGA 4(2019) 12470-12479.</td>
</tr>
<tr>
<td>2019</td>
<td>Optimization of physicochemical and dielectric features in the conductive copolymers of aniline and 2-aminophenol US Waware, AMS Hamouda, D Majumdar Polymer Bulletin 76 (11), 5603-5617.</td>
</tr>
<tr>
<td>2019</td>
<td>A Review on V2O5 and Its Carbon-Based nanocomposites as Supercapacitor Electrode Materials. Dipanwita Majumdar, Manas Mandal and Swapan Kumar Bhattacharya ChemElectroChem 2019, 6, 1623. (Wiley).</td>
</tr>
<tr>
<td>2019</td>
<td>A Review of Recent Progress in Ruthenium Oxides based Composites for Supercapacitor Applications. Dipanwita Majumdar, Thandavarayan Maiyalagan, Zhongqing Jiang ChemElectroChem 6 (2019) 4343 (Wiley).</td>
</tr>
<tr>
<td>2019</td>
<td>Magnetic, pseudocapacitive and H2O2-electrosensing properties of self assembled superparamagnetic Co0.3Zn0.7Fe2O4 with enhanced saturation magnetization Rituparna Mondal, Koyel Sarkar, Subhrajyoti Dey, Dipanwita Majumdar, Swapan Bhattacharya, Pintu Sen, Sanjay Kumar, ACS Omega 47 (2019) 12632-12646.</td>
</tr>
<tr>
<td>2019</td>
<td>Synthesis, characterization and physicochemical studies of copolymers of aniline and 3 nitroaniline Umesh Somaji Waware, A. M. S. Hamouda, Dipanwita Majumdar Polym. Bull. (2019). pp1-20 DOI: https://doi.org/10.1007/s00289-019-02957-y.</td>
</tr>
<tr>
<td>2020</td>
<td>Journey from Supercapacitor to Supercapatteries: Recent advancements in electrochemical energy storage system, D Majumdar et al. Emergent Materials, Springer, ISSN : 2522-574X, https://doi.org/10.1007/s42247-020-00090-5.</td>
</tr>
<tr>
<td>2020</td>
<td>Review on Current Progress of MnO2-based Ternary Nanocomposites for Supercapacitor Applications, D Majumdar, Chemelectrochem, Wiley, doi: https://doi.org/10.1002/celc.202001371.</td>
</tr>
<tr>
<td>2020</td>
<td>Recent advancements of copper oxide based nanomaterials for supercapacitor applications D Majumdar, S Ghosh Journal of Energy Storage, 101995, https://doi.org/10.1016/j.est.2020.101995.</td>
</tr>
<tr>
<td>2020</td>
<td>Recent progress in copper sulfide based nanomaterials for high energy supercapacitor applications D Majumdar Journal of Electroanalytical Chemistry, https://doi.org/10.1016/j.jelechem.2020.114825.</td>
</tr>
<tr>
<td>2021</td>
<td>Majumdar D. Role of MXenes/Polyaniline Nanocomposites in Fabricating Innovative Supercapacitor Technology. Advanced Energy Conversion Materials [Internet]. 2021 Nov. 20 [cited 2022 Jan. 13]; 3(1): 30-53. Available from: https://ojs.wiserpub.com/index.php/AECM/article/view/1148, https://doi.org/10.37256/aecm.3120221148.</td>
</tr>
<tr>
<td>2022</td>
<td>Kinsuk Das, Dipanwita Majumdar, Prospects of MXenes/graphene nanocomposites for advanced supercapacitor applications, Journal of Electroanalytical Chemistry, Volume 905, 2022, 115973, ISSN 1572-6657, https://doi.org/10.1016/j.jelechem.2021.115973.</td>
</tr>
<tr>
<td>2022</td>
<td>Room Temperature Synthesis of Perovskite Hydroxide, MnSn(OH)6: A Negative Electrode for Supercapacitor Authors Manas Mandal, Krishna Chattopadhyay, Malay Chakraborty, Wonjae Shin, Kamal Kanti Bera, Sujit Chatterjee, Akbar Hossain, Dipanwita Majumdar, Arup Gayen, Changwoon Nah, Swapan Kumar Bhattacharya Publication date 2022/11 Journal Electronic Materials Letters Volume 18 Issue 6 Pages 559-567 Publisher The Korean Institute of Metals and Materials.</td>
</tr>
<tr>
<td>2022</td>
<td>Recent Developments of Methanol Electrooxidation Using Nickel-based Nanocatalysts Authors Dipanwita Majumdar, Swapan Kumar Bhattacharya Publication date 2022/10/26 Source ChemistrySelect Volume 7 Issue 40 Pages e202201807.</td>
</tr>
<tr>
<td>2023</td>
<td>Graphitic Carbon Nitride (g-C3N4): A Proficient Electrode Material for Flexible Supercapacitors Authors Rudra Sarkar and Munmun Mondal & Dipanwita Majumdar Publication date 2023/12/7 Journal Advanced Materials Science and Technology Volume 5 Issue 2 Pages https://doi.org/10.37155/2717-526X-0502-.</td>
</tr>
</table>
</div> -->
<div class="tab-pane fade" id="v-pills-book" role="tabpanel" aria-labelledby="v-pills-book-tab">
<h3 class="fw-bold text-uppercase">PUBLICATION</h3>
<table>
<tr>
<th>Sl. No.</th>
<th>Author(s)</th>
<th>Title</th>
<th>Name of Journal/Book</th>
<th>Volume</th>
<th>Page</th>
<th>Year</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<!-- <div class="tab-pane fade" id="v-pills-paper" role="tabpanel" aria-labelledby="v-pills-paper-tab">
<h3 class="fw-bold text-uppercase">Paper Presentation</h3>
<table>
<tr>
<th>Date</th>
<th>Paper Title</th>
<th>Organizer</th>
</tr>
<tr>
<td>04.Feb.2010</td>
<td>2010: Oral Presentation: on "Formation Dynamics of V- and Y-shaped Polyaniline nanowires". 4-5th Feb, 2010 (UGC sponsored National Seminar: EMERGING CONCERNS AND ADVANCES IN CHEMISTRY).</td>
<td>Lady Brabourne College (Kolkata)</td>
</tr>
<tr>
<td>01.Jan.2011</td>
<td>2011: Poster presentation: on "Epitaxial Growth of Single Crystalline Polyaniline on Reduced Graphene Oxide to grow High Quality P-N Junction". (UGC sponsored National Level Seminar on RECENT ADVANCES IN CHEMICAL SCIENCES AND RELATED AREAS).</td>
<td>Sree Gopal Banerjee College, Bagati, Mogra, Hooghly</td>
</tr>
<tr>
<td>05.Jul.2013</td>
<td>2013: Oral Presentation: ON THE TOPIC "Nanopesticides: A Challenging Domain of Current Research" by D Majumdar 2013. (National Conference).</td>
<td>Panchkot Mahavidyalaya, Purulia</td>
</tr>
<tr>
<td>01.Aug.2015</td>
<td>2015: Poster presentation: on "Synthesis, Characterization and Comparative Electrochemical Studies of Graphite-Copper (II) Oxide and Graphene Oxide-Copper (II) Oxide composites." on 1-2nd August, 2015. (National Conference/ National Symposium).</td>
<td>Indian Chemical Society</td>
</tr>
<tr>
<td>14.Dec.2015</td>
<td>2015: Poster presentation: NANOS 2015- International conference on the topic "Synthesis, Characterization and Comparative Electrochemical Studies of Graphite-Copper (II) Oxide and Reduced-Graphene Oxide-Copper (II) Oxide composites."</td>
<td>GITAM University</td>
</tr>
<tr>
<td>04.Feb.2016</td>
<td>2016: Poster presentation: on the topic "Role of beta-cyclodextrin-functionalized graphene oxide in removal of organic-dye water pollutants." (National Conference).</td>
<td>Dept of Chemistry, Burdwan University</td>
</tr>
<tr>
<td>11.Mar.2016</td>
<td>2016: Poster presentation: ICMRA 2016- "Synthesis, Characterization and Electrochemical Study of Hydroxy-Functionalized Graphene/MnO2 nanocomposite" (International Conference).</td>
<td>CMR Technical Campus, Hyderabad</td>
</tr>
<tr>
<td>25.May.2016</td>
<td>2016: Poster presentation: "Synthesis, Characterization and Electrochemical Studies of hydroxy functionalized Graphene-MnO2 Nanocomposite" Dipanwita Majumdar INTERNATIONAL CONFERENCE ON NANOTECHNOLOGY FOR BETTER LIVING (ICNBL-2016) (25/5/2016 -29/5/2016 NIT SRINAGAR AND IIT KANPUR.</td>
<td>NIT SRINAGAR, JAMMU AND KASHMIR</td>
</tr>
<tr>
<td>09.Sep.2016</td>
<td>2016: Poster presentation: "Tuning of Charge Transport Properties in Polypyrrole Nanotubes" Dipanwita Majumdar UGC sponsored ONE DAY National Seminar 2016 RECENT ADVANCES IN LIFE SCIENCE IN THE LIGHT OF CHEMISTRY.</td>
<td>Bethune College</td>
</tr>
<tr>
<td>15.Sep.2016</td>
<td>2016: Poster presentation on "Adsorption and Removal of Water Soluble Methylene Blue Dye by Beta-Cyclodextrin Functionalized Graphene Oxide" Dipanwita Majumdar UGC sponsored National Seminar 2016 ENTHRALLING FACETS OF MOLECULAR MANIFESTATION IN CHEMICAL SCIENCES.</td>
<td>Bidhannagar College, SALTLAKE</td>
</tr>
<tr>
<td>29.Sep.2016</td>
<td>2016: Poster presentation: Role of Sonochemically synthesized Beta-Cyclodextrin Functionalized Graphene Oxide in Adsorption of Water Soluble Brilliant Green Dye: Dipanwita Majumdar UGC sponsored National Seminar 2016 on RECENT TRENDS IN CHEMICAL RESEARCH.</td>
<td>Sarojini Naidu College for Women and Hiralal Mazumdar College for Women</td>
</tr>
<tr>
<td>25.Nov.2016</td>
<td>2016: Poster presentation: "Adsorption and Removal of Soluble Methylene Blue Dye from Water by Sorbefacient Graphene Oxide" Dipanwita Majumdar UGC-Sponsored two day National Seminar on "MODERN TRENDS IN CHEMICAL SCIENCES".</td>
<td>Dept of Chemistry, Narasinha Dutt College and Prasanta Chandra Mahalanobis Mahavidyalaya</td>
</tr>
<tr>
<td>03.Aug.2018</td>
<td>2018: Poster presentation: Recent Advancements of RuO2/Functionalized-Graphene Composites for Supercapacitor Applications By Dipanwita Majumdar at Recent Advances in Molecules and Materials: RA2M 2018' (International Conference).</td>
<td>School of Applied Science & Humanities, Haldia Institute of Technology, Haldia-721657 and Indian Chemical Society</td>
</tr>
<tr>
<td>27.Jan.2019</td>
<td>2019: Poster presentation: Supercapatteries: A Revolution in Electrochemical Energy Storage Systems By Dipanwita Majumdar International Conference on Advances in Nanomaterials and Devices for Energy and Environment (ICAN-2019) (International Conference).</td>
<td>Advanced Materials and Nano-electronics Research Group of CNT Lab, in ABV-IIITM, Gwalior</td>
</tr>
<tr>
<td>05.Mar.2019</td>
<td>2019: Oral presentation: Supercapacitors to Supercapatteries: Renaissance in Electrochemical Energy Storage Systems By Dipanwita Majumdar International Conference of Emerging Technologies and Sustainable Development 2019 (ICETSD '19)(International Conference).</td>
<td>Government College of Engineering and Leather Technology, Kolkata</td>
</tr>
<tr>
<td>08.Jan.2020</td>
<td>2020: Two-Day International Seminar on "Innovation, Expansion, Impacts and Challenges in Chemical and Biological Sciences" to be held on 8-9th January, 2020.</td>
<td>-</td>
</tr>
<tr>
<td>27.Feb.2020</td>
<td>2020: National Symposium on Renewable Energy for Sustainable Future: Materials & Technology Development at Heritage Institute of Technology on 27/02/2020 on : Recent progress of supercapacitors.</td>
<td>Heritage Institute of Technology</td>
</tr>
</table>
</div> -->
<div class="tab-pane fade" id="v-pills-course" role="tabpanel" aria-labelledby="v-pills-course-tab">
<h3 class="fw-bold text-uppercase">Courses</h3>
<table>
<tr>
<th>Sl. No</th>
<th>Name of Course</th>
<th>Awarding Agency</th>
<th>Year</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<div class="tab-pane fade" id="v-pills-seminar" role="tabpanel" aria-labelledby="v-pills-seminar-tab">
<h3 class="fw-bold text-uppercase">Seminar Attedance</h3>
<table>
<thead>
<tr>
<th>Sl. No.</th>
<th>Author(s)</th>
<th>Title of the Paper Presented</th>
<th>Title of the Conference/Seminar</th>
<th>Organized by</th>
<th>Level</th>
<th>Year</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="tab-pane fade" id="v-pills-subjects" role="tabpanel" aria-labelledby="v-pills-subjects-tab">
<h3 class="fw-bold text-uppercase">Subjects</h3>
<table>
<tr>
<th>Sl. No.</th>
<th>Semester</th>
<th>Paper Code</th>
<th>Topic Taught</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<div class="tab-pane fade" id="v-pills-curricular" role="tabpanel" aria-labelledby="v-pills-curricular-tab">
<h3 class="fw-bold text-uppercase">Extra Curricular</h3>
<table>
<tr>
<th>Sl. No.</th>
<th>Activities</th>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
</div>
<!-- <div class="tab-pane fade" id="v-pills-award" role="tabpanel" aria-labelledby="v-pills-award-tab">
<h3 class="fw-bold text-uppercase">Awards</h3>
<table>
<tr>
<th>Year</th>
<th>Award Details</th>
</tr>
<tr>
<td>2005</td>
<td>Qualified in nationally competitive examination, JAM -2005, conducted by Indian Institute of Technology (IIT), All India Rank-162</td>
</tr>
<tr>
<td>2006</td>
<td>Qualified in nationally competitive examination, CSIR-UGC NET - 2006, conducted jointly by Council of Scientific and Industrial Research (CSIR) and University Grants Commission (UGC), Govt. of India, 2006, December for lectureship and research fellowship. Selected for SPM interview under CSIR.</td>
</tr>
<tr>
<td>2006</td>
<td>Qualified in nationally competitive examination, GATE -2006, conducted by Indian Institute of Technology (IIT), All India Rank-281</td>
</tr>
<tr>
<td>2007</td>
<td>Qualified in nationally competitive examination, GATE -2007, conducted by Indian Institute of Technology (IIT), All India Rank-12</td>
</tr>
<tr>
<td>2011</td>
<td>Poster award for the presentation: on “Epitaxial Growth of Single Crystalline Polyaniline on Reduced Graphene Oxide to grow High Quality P-N Junction”. (UGC sponsored National Level Seminar on RECENT ADVANCES IN CHEMICAL SCIENCES AND RELATED AREAS At Sree Gopal Banerjee College, Bagati, Mogra, Hooghly, West Bengal)</td>
</tr>
<tr>
<td>2016</td>
<td>2nd best poster presentation at International Conference on Materials Research and Applications (ICMRA-2016) from 11-13 March 2016 @ CMR TECHNICAL CAMPUS, Kandlakoya (V), Medchal (M), RR Dist, Telangana, India-501401, (Approved by AICTE, New Delhi, Affiliated to JNTU, Hyderabad.)</td>
</tr>
<tr>
<td>2016</td>
<td>3rd Young Women Scientist paper presentation at International Conference on Nanotechnology for Better Living, 2016 jointly organized by IIT Kanpur and NIT Srinagar at Srinagar, J&K, India on 25-29th May, 2016.</td>
</tr>
<tr>
<td>2021</td>
<td>InSc Research Excellence Award-2021, InSc (Institute of Scholars), Bangalore, Regd. under Ministry of MSME, Govt. Of India and ISO 9001:2015 certified.</td>
</tr>
<tr>
<td>2021</td>
<td>InSc Young Researcher Award-2021 InSc (Institute of Scholars), Bangalore, Regd. under Ministry of MSME, Govt. Of India and ISO 9001:2015 certified.</td>
</tr>
<tr>
<td>2021</td>
<td>Women Researcher Award in the International Scientist Awards on Engineering, Science and Medicine by VDGOOD Professional Association</td>
</tr>
<tr>
<td>2023</td>
<td>Asias Science, Technology and Research Awards 2023 (ASTRA 2023) Outstanding Researcher Award in Materials Science</td>
</tr>
</table>
</div> -->
<!-- <div class="tab-pane fade" id="v-pills-hand" role="tabpanel" aria-labelledby="v-pills-hand-tab">
<h3 class="fw-bold text-uppercase">Membership</h3>
<table>
<tr>
<th>From</th>
<th>To</th>
<th>Membership</th>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>Moderator and Question Paper Setters of UG and PG Level CHEMISTRY COURSES IN various reputed Universities in India.</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>Life Member at Indian Physical Society</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>Life member of Indian Association for the Cultivation of Science, Jadavpur</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>Reviewer of many reputed International peer-reviewed journals (Springer, Elsevier, Wiley)</td>
</tr>
<tr>
<td>-</td>
<td>-</td>
<td>InSc Professional Member, Institute of Scholars, Department of Awards, Muddhinapalya Bengaluru-560091, Karnataka, India</td>
</tr>
<tr>
<td>2017</td>
<td>2018</td>
<td>Editorial Board Member of Peer-reviewed International Journal: Materials Science Research India for 2017 and 2018</td>
</tr>
</table>
</div> -->
</div>
</div>
</div>

250
.hta_slug/test2.php Normal file
View File

@@ -0,0 +1,250 @@
<?php
require('.hta_config/env.php');
require('.hta_header.php');
?>
<div class="mainDiv">
<select onchange="getInstallmentInfo();" name="" id="getinstallmentNumber">
</select>
<div id="installmentInfoView"></div>
</div>
<script>
let installments = [
{
"installment_no": 1,
"emi_billing_date": "23-02-2024",
"outstanding_principal": 195689.35,
"principal": 4310.65,
"interest": 3360.04,
"installment": 7670.69
},
{
"installment_no": 2,
"emi_billing_date": "23-03-2024",
"outstanding_principal": 191318.35,
"principal": 4371.00,
"interest": 2739.65,
"installment": 7110.65
},
{
"installment_no": 3,
"emi_billing_date": "23-04-2024",
"outstanding_principal": 186886.16,
"principal": 4432.19,
"interest": 2678.46,
"installment": 7110.65
},
{
"installment_no": 4,
"emi_billing_date": "23-05-2024",
"outstanding_principal": 182391.92,
"principal": 4494.24,
"interest": 2616.41,
"installment": 7110.65
},
{
"installment_no": 5,
"emi_billing_date": "23-06-2024",
"outstanding_principal": 177834.76,
"principal": 4557.16,
"interest": 2553.49,
"installment": 7110.65
},
{
"installment_no": 6,
"emi_billing_date": "23-07-2024",
"outstanding_principal": 173213.80,
"principal": 4620.96,
"interest": 2489.69,
"installment": 7110.65
},
{
"installment_no": 7,
"emi_billing_date": "23-08-2024",
"outstanding_principal": 168528.14,
"principal": 4685.66,
"interest": 2424.99,
"installment": 7110.65
},
{
"installment_no": 8,
"emi_billing_date": "23-09-2024",
"outstanding_principal": 163776.88,
"principal": 4751.26,
"interest": 2359.39,
"installment": 7110.65
},
{
"installment_no": 9,
"emi_billing_date": "23-10-2024",
"outstanding_principal": 158959.11,
"principal": 4817.77,
"interest": 2292.88,
"installment": 7110.65
},
{
"installment_no": 10,
"emi_billing_date": "23-11-2024",
"outstanding_principal": 154073.89,
"principal": 4885.22,
"interest": 2225.43,
"installment": 7110.65
},
{
"installment_no": 11,
"emi_billing_date": "23-12-2024",
"outstanding_principal": 149120.27,
"principal": 4953.62,
"interest": 2157.03,
"installment": 7110.65
},
{
"installment_no": 12,
"emi_billing_date": "23-01-2025",
"outstanding_principal": 144097.30,
"principal": 5022.97,
"interest": 2087.68,
"installment": 7110.65
},
{
"installment_no": 13,
"emi_billing_date": "23-02-2025",
"outstanding_principal": 139004.01,
"principal": 5093.29,
"interest": 2017.36,
"installment": 7110.65
},
{
"installment_no": 14,
"emi_billing_date": "23-03-2025",
"outstanding_principal": 133839.42,
"principal": 5164.59,
"interest": 1946.06,
"installment": 7110.65
},
{
"installment_no": 15,
"emi_billing_date": "23-04-2025",
"outstanding_principal": 128602.52,
"principal": 5236.90,
"interest": 1873.75,
"installment": 7110.65
},
{
"installment_no": 16,
"emi_billing_date": "23-05-2025",
"outstanding_principal": 123292.31,
"principal": 5310.21,
"interest": 1800.44,
"installment": 7110.65
},
{
"installment_no": 17,
"emi_billing_date": "23-06-2025",
"outstanding_principal": 117907.75,
"principal": 5384.56,
"interest": 1726.09,
"installment": 7110.65
},
{
"installment_no": 18,
"emi_billing_date": "23-07-2025",
"outstanding_principal": 112447.81,
"principal": 5459.94,
"interest": 1650.71,
"installment": 7110.65
},
{
"installment_no": 19,
"emi_billing_date": "23-08-2025",
"outstanding_principal": 106911.43,
"principal": 5536.38,
"interest": 1574.27,
"installment": 7110.65
},
{
"installment_no": 20,
"emi_billing_date": "23-09-2025",
"outstanding_principal": 101297.54,
"principal": 5613.89,
"interest": 1496.76,
"installment": 7110.65
},
{
"installment_no": 21,
"emi_billing_date": "23-10-2025",
"outstanding_principal": 95605.06,
"principal": 5692.48,
"interest": 1418.17,
"installment": 7110.65
},
{
"installment_no": 22,
"emi_billing_date": "23-11-2025",
"outstanding_principal": 89832.88,
"principal": 5772.18,
"interest": 1338.47,
"installment": 7110.65
},
{
"installment_no": 23,
"emi_billing_date": "23-12-2025",
"outstanding_principal": 83979.89,
"principal": 5852.99,
"interest": 1257.66,
"installment": 7110.65
},
{
"installment_no": 24,
"emi_billing_date": "23-01-2026",
"outstanding_principal": 78044.96,
"principal": 5934.93,
"interest": 1175.72,
"installment": 7110.65
},
{
"installment_no": 36,
"emi_billing_date": "23-01-2027",
"outstanding_principal": 0.00,
"principal": 7012.70,
"interest": 98.18,
"installment": 7110.88
}
]
installments.forEach((installment, index) => {
let insOption = document.createElement('option');
insOption.value = index;
insOption.textContent = installment.installment_no;
document.getElementById('getinstallmentNumber').appendChild(insOption);
// getinstallmentNumber
});
function getInstallmentInfo(){
let installmentInfoView = document.getElementById('installmentInfoView');
let getInstallmentNumber = document.getElementById('getinstallmentNumber').value;
installmentInfoView.innerHTML = `
<p>Installment Number:- ${installments[getInstallmentNumber].installment_no}</p>
<p>EMI Billing Date:- ${installments[getInstallmentNumber].emi_billing_date}</p>
<p>Outstanding Principal:- ${installments[getInstallmentNumber].outstanding_principal}</p>
<p>Principal:- ${installments[getInstallmentNumber].principal}</p>
<p>Interest:- ${installments[getInstallmentNumber].interest}</p>
<p>Installment:- ${installments[getInstallmentNumber].installment}</p>
`;
}
getInstallmentInfo();
</script>
<style>
.mainDiv{
max-width: 700px;
width: 100%;
margin: auto;
margin-top: 30px;
}
</style>
<!-- installmentInfoView.innerHTML = `
<p>Installment Number:- ${installments[getInstallmentNumber].installment_no}</p>
<p>EMI Billing Date:- ${installments[getInstallmentNumber].emi_billing_date}</p>
<p>Outstanding Principal:- ${installments[getInstallmentNumber].outstanding_principal}</p>
<p>Principal:- ${installments[getInstallmentNumber].principal}</p>
<p>Interest:- ${installments[getInstallmentNumber].interest}</p>
<p>Installment:- ${installments[getInstallmentNumber].installment}</p>
`; -->

View File

@@ -0,0 +1,144 @@
<?php
require('../.hta_config/env.php');
require('../.hta_header.php');
require('../.hta_admin_header.php');
$current_date_time = date("Y-m-d H:i:s");
if(isset($_POST['title'])){
try {
$db = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // Set the PDO error mode to exception
$stmt = $db->prepare("INSERT INTO scc24 (date_created, type, title, slug, content) VALUES (:date_created, :type, :title, :slug, :content)");
$stmt->bindParam(':date_created', $current_date_time);
$stmt->bindParam(':type', $_POST['type']);
$stmt->bindParam(':title', $_POST['title']);
$stmt->bindParam(':slug', $_POST['slug']);
$stmt->bindParam(':content', $_POST['content']);
if ($stmt->execute()) {
echo 'New '.$_POST['type'].' created.';
} else {
echo "Error executing statement: " . $stmt->errorInfo()[2]; // need to implement this Err. check specially for new entry to mariaDB
}
}catch (PDOException $e) {
// echo 'errorID:3001: "New Registration Server" busy!';
echo "Error: " . $e->getMessage();
};
}
?>
<div id="createNewPage" >
<h3 style="text-align: center; margin: 10px 0;">Create New Page or Notice</h3>
<form id="createNewPageForm" method="POST" enctype="multipart/form-data">
<label for="type">Select Type</label>
<select name="type" id="type" style="padding: 10px;">
<option value="0">-Select-</option>
<option value="notice">Notice</option>
<option value="tender">Tender</option>
<option value="page">Page</option>
<option value="documents">Documents</option>
<option value="events">Events</option>
<option value="faculty">Faculty</option>
</select><br/>
<label for="title">Page Title:</label><br> <input id="title" name="title" type="text">
<label for="slug">Page unique slug:</label><br> <input id="slug" name="slug" type="text">
<label for="editor">Content:</label>
<div style="color: #000;" id="editor"></div>
<div id="markup"></div>
<textarea name="content" id="content" rows="" col="0" class="border-2 border-primary p-2 rounded" style="visibility: hidden; height: 2px;"></textarea>
<!-- <div id="yseditor"></div> -->
<!-- <label for="content">Page Content:</label><br> <textarea id="pageContent" name="content"> </textarea> -->
<!-- <input type="submit" name="createNew" value="Save"> -->
<!-- <input type="hidden" name="content" value="" id="content" > -->
<button type="submit" id="createButton" type="button" >Create New Page</button>
</form>
</div>
<link rel="stylesheet" type="text/css" href="/assets/pell.css">
<script src="/assets/pell.js"></script>
<script>
const pell = window.pell;
const editor = document.getElementById("editor");
const markup = document.getElementById("markup");
let contentTextArea = document.getElementById('content');
pell.init({
element: editor,
onChange: (html) => {
// markup.innerHTML = "HTML Output: <br /><br />";
// markup.innerText += html;
contentTextArea.value = html;
// console.log(html)
}
})
function slugify(text) {
return text.toString().toLowerCase()
.replace(/\s+/g, '-') // Replace spaces with -
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
.replace(/\-\-+/g, '-') // Replace multiple - with single -
.replace(/^-+/, '') // Trim - from start of text
.replace(/-+$/, ''); // Trim - from end of text
}
window.onload = function() {
var inputField = document.getElementById('title');
var slugField = document.getElementById('slug');
inputField.addEventListener('input', function() {
var inputText = inputField.value;
var slugText = slugify(inputText);
slugField.value = slugText;
});
};
</script>
<style>
#createNewPage {
padding: 10px 50px;
margin: 10px auto;
background-color: #ffddcc;
border-radius: 20px;
width: 100%;
max-width: 60%;
}
/* For mobile screens */
@media (max-width: 768px) {
#createNewPage {
max-width: 100%;
width: 100%;
padding: 10px 20px; /* Optional: adjust padding for smaller screens */
}
}
#createNewPage > form > input, select {
width:100%;
/* margin-top:10px; */
margin-bottom:10px;
padding: 10px;
border-radius: 6px;
}
#createNewPage > form > textarea{
width:100%;
margin:10px;
height:200px;
}
#createButton{
background-color: #402517;
color: #FFFFFF;
border-radius: 10px;
padding: 10px;
outline: none;
border: none;
display: flex;
}
.pell-content{
background: #fff;
border-bottom: 1px solid black;
}
</style>
<?php
require('../.hta_footer.php');
?>

View File

@@ -0,0 +1,174 @@
<?php
require('../.hta_config/env.php');
require('../.hta_header.php');
require('../.hta_admin_header.php');
$current_date_time = date("Y-m-d H:i:s");
?>
<style>
#createNewPage {
padding: 10px 50px;
margin: 10px auto;
background-color: #ffddcc;
border-radius: 20px;
width: 100%;
max-width: 60%;
}
/* For mobile screens */
@media (max-width: 768px) {
#createNewPage {
max-width: 100%;
width: 100%;
padding: 10px 20px; /* Optional: adjust padding for smaller screens */
}
}
#createNewPage > form > input, select {
width:100%;
/* margin-top:10px; */
margin-bottom:10px;
padding: 10px;
border-radius: 6px;
}
#createNewPage > form > textarea{
width:100%;
margin:10px;
height:200px;
}
#createButton{
background-color: #402517;
color: #FFFFFF;
border-radius: 10px;
padding: 10px;
outline: none;
border: none;
display: flex;
}
.pell-content{
background: #fff;
border-bottom: 1px solid black;
}
</style>
<link rel="stylesheet" type="text/css" href="/assets/pell.css">
<script src="/assets/pell.js"></script>
<?php
$fileName = $_GET['slug'] . '.html';
$contentType = $_GET['type'];
$getID = $_GET['id'];
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
try {
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("UPDATE scc24 SET `type` = :type, `title` = :title, `slug` = :slug, `content` = :content WHERE `id` = :getID");
$stmt->bindParam(':getID', $getID);
$stmt->bindParam(':type', $_POST['type']);
$stmt->bindParam(':title', $_POST['title']);
$stmt->bindParam(':slug', $_POST['slug']);
$stmt->bindParam(':content', $_POST['content']);
$stmt->execute();
// echo "<script>window.location.href='edit-news-list';</script>";
if ($contentType === 'page') {
$contentFolder = '/';
} elseif ($contentType === 'notice') {
$contentFolder = '/notice/';
} else {
$contentFolder = ''; // Default case, you can adjust this as needed
}
$filePath = $_SERVER['DOCUMENT_ROOT'] . $contentFolder . $fileName;
// echo $filePath;
if (file_exists($filePath)) {
if (unlink($filePath)) {
// echo "File deleted successfully.";
} else {
// echo "Error: Unable to delete the file.";
}
} else {
// echo "File does not exist.";
}
} catch (PDOException $e) {
echo "Err: " . $e->getMessage();
}
}
?>
<?php
try {
$db = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $db->prepare("SELECT * FROM scc24 WHERE `id` = :id");
$stmt->bindParam(':id', $getID);
$stmt->execute();
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach($rows as $row){
echo ' <div id="createNewPage" >
<h3 style="text-align: center; margin: 10px 0;">Edit New Page or Notice</h3>
<form id="createNewPageForm" method="POST" enctype="multipart/form-data">
<label for="type">Select Type</label>';
?>
<select name="type" id="type" style="padding: 10px;">
<?php
// echo $row['type'];
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events', 'faculty'];
foreach($typeOptions as $type){
$selected = ($row['type'] === $type) ? 'selected' : '';
echo '<option value="'.$type.'" '.$selected.'>'.ucfirst($type).'</option>';
}
?>
</select><br/>
<?php
echo '
<label for="title">Page Title:</label><br> <input id="title" name="title" type="text" value="'.$row['title'].'" />
<label for="slug">Page unique slug:</label><br> <input id="slug" name="slug" type="text" value="'.$row['slug'].'" />
<label for="editor">Content:</label>
<div style="color: #000;" id="editor"></div>
<textarea name="content" id="content" rows="" col="0" class="border-2 border-primary p-2 rounded" style="visibility: hidden; height: 10px;"></textarea>
<button type="submit" id="createButton" type="button" > &nbsp; Save &nbsp; </button>
</form>
</div>';
echo '<script>
window.onload = function() {
getTypeValue(); // Call the function on window load
};
const pell = window.pell;
const editor = document.getElementById("editor");
let contentTextArea = document.getElementById(\'content\');
// Initialize pell editor and assign the return value to editorInstance
let editorInstance = pell.init({
element: editor,
onChange: (html) => {
console.log(html);
contentTextArea.value = html;
}
});
// Function to update editor content dynamically
function updateEditorContent(newContent) {
editorInstance.content.innerHTML = newContent;
// Trigger change event to update contentTextArea
contentTextArea.value = newContent;
}
// Example usage:
updateEditorContent(' . json_encode($row['content']) . ');
</script>';
};
// exit();
} catch (PDOException $e) {
echo json_encode(array('success' => false, 'message' => 'Database error: ' . $e->getMessage()));
}
?>
<?php
// echo $fileName;
// echo $contentType;
require('../.hta_footer.php');
?>

View File

@@ -0,0 +1,139 @@
<?php
require('../.hta_config/env.php');
require('../.hta_header.php');
require('../.hta_admin_header.php');
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// Define the number of results per page
$results_per_page = 30;
// Get the current page number from the URL (default to page 1)
$page = isset($_GET['page']) && is_numeric($_GET['page']) ? (int) $_GET['page'] : 1;
$offset = ($page - 1) * $results_per_page;
// Get total number of records
$total_stmt = $conn->prepare("SELECT COUNT(*) AS total FROM `scc24` WHERE type = 'faculty'");
$total_stmt->execute();
$total_rows = $total_stmt->fetch(PDO::FETCH_ASSOC)['total'];
$total_pages = ceil($total_rows / $results_per_page);
// Fetch paginated records
$stmt = $conn->prepare("SELECT * FROM `scc24` WHERE type = 'faculty' ORDER BY id DESC LIMIT :limit OFFSET :offset");
$stmt->bindValue(':limit', $results_per_page, PDO::PARAM_INT);
$stmt->bindValue(':offset', $offset, PDO::PARAM_INT);
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
?>
<p style="font-size: 25px; text-align: center; margin-top: 10px;">Faculty List</p>
<div class="table-container">
<table class="responsive-table">
<thead>
<tr>
<th style="border: 2px solid #7a7a7a;">ID</th>
<th style="border: 2px solid #7a7a7a;">Type</th>
<th style="border: 2px solid #7a7a7a;">Title</th>
<th style="border: 2px solid #7a7a7a;">Action</th>
</tr>
</thead>
<tbody>
<?php foreach ($content as $pageData) { ?>
<tr>
<td style="border: 2px solid #7a7a7a;"><?php echo $pageData['id']; ?></td>
<td style="border: 2px solid #7a7a7a;"><?php echo $pageData['type']; ?></td>
<td style="border: 2px solid #7a7a7a;"><?php echo $pageData['title']; ?></td>
<td style="border: 2px solid #7a7a7a;">
<div style="display: flex; flex-direction: row; justify-content: center; color: blue; gap: 10px;">
<a href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a>
<a target="_blank" href="/<?php echo $pageData['slug']; ?>">View</a>
<button class="copy-btn" data-slug="https://<?php echo $_SERVER['HTTP_HOST'] .'/'. $pageData['slug']; ?>">Copy</button>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<!-- Pagination Links -->
<div style="text-align: center; margin-top: 20px; display: flex; flex-direction: row; gap: 20px; justify-content: center;">
<?php if ($page > 1): ?>
<a href="?page=1">First</a>
<a href="?page=<?php echo $page - 1; ?>">Prev</a>
<?php endif; ?>
<span>Page <?php echo $page; ?> of <?php echo $total_pages; ?></span>
<?php if ($page < $total_pages): ?>
<a href="?page=<?php echo $page + 1; ?>">Next</a>
<a href="?page=<?php echo $total_pages; ?>">Last</a>
<?php endif; ?>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll(".copy-btn").forEach(button => {
button.addEventListener("click", function () {
const slug = this.getAttribute("data-slug");
navigator.clipboard.writeText(slug).then(() => {
this.textContent = "Copied!";
setTimeout(() => {
this.textContent = "Copy";
}, 1000);
}).catch(err => {
console.error("Failed to copy: ", err);
});
});
});
});
</script>
<?php require('../.hta_footer.php'); ?>
<style>
.table-container {
margin: 20px auto;
width: 90%;
max-width: 900px;
}
.table-container {
overflow-x: auto;
/* margin-top: 20px; */
}
.responsive-table {
width: 100%;
border-collapse: collapse;
margin: 0 auto;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.responsive-table th, .responsive-table td {
border: 2px solid #7a7a7a;
padding: 10px;
/* text-align: center; */
}
.responsive-table th {
background-color: #402517;
color: #fff;
}
@media (max-width: 600px) {
.responsive-table {
font-size: 14px;
}
.action-btn {
font-size: 12px;
padding: 6px 8px;
}
}
.copy-btn{
background: none;
border: none;
color: #0d6efd;
font-weight: bold;
text-decoration: underline;
}
</style>

View File

@@ -0,0 +1,324 @@
<?php
require('../.hta_config/env.php');
require('../.hta_header.php');
require('../.hta_admin_header.php');
$current_date_time = date("Y-m-d H:i:s");
$home_uri_for_file_link = $_SERVER['HTTP_HOST'];
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset($_FILES['file']) && $_FILES['file']['error'] === UPLOAD_ERR_OK) {
$target_dir = $_SERVER['DOCUMENT_ROOT'] . "/assets/uploaded-file/"; // Full path to assets folder
$desc_txt = $_POST['desc_txt']; // ALT text
$file_name = $_FILES['file']['name']; // Original file name
$file_tmp = $_FILES['file']['tmp_name']; // Temporary file path
if (file_exists($file_tmp)) {
$mimeType = mime_content_type($file_tmp); // Get the mime type of the file
if (!file_exists($target_dir)) {
mkdir($target_dir, 0777, true); // Create the directory if it doesn't exist
}
$target_file = $target_dir . basename($file_name);
if (move_uploaded_file($file_tmp, $target_file)) {
$file_url = "/assets/uploaded-file/" . basename($file_name); // URL of the uploaded file
try {
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("INSERT INTO scc_files (link, alt, file_name) VALUES (:link, :alt, :file_name)");
$stmt->bindParam(':link', $file_url);
$stmt->bindParam(':alt', $desc_txt);
$stmt->bindParam(':file_name', $file_name);
$stmt->execute();
echo "File uploaded and record saved successfully.";
} catch (PDOException $e) {
echo "Database Error: " . $e->getMessage();
}
} else {
echo "Error: Could not move the uploaded file.";
}
} else {
echo "Error: Uploaded file is missing.";
}
} else {
switch ($_FILES['file']['error']) {
case UPLOAD_ERR_NO_FILE:
echo "No file was uploaded.";
break;
default:
echo "Unknown error occurred during file upload.";
break;
}
}
}
?>
<form method="post" enctype="multipart/form-data">
<div class="upload-container">
<p class="title">Files List & Add New Files</p>
<div class="file-upload-section">
<div class="upload-icon">
<label for="file" class="file-label">
<img src="/assets/upload.svg" alt="Upload" />
<input type="file" name="file" id="file" hidden />
</label>
</div>
<div class="input-section">
<div class="file-details">
<div id="file-name-show-section" class="file-name-section">
<span id="fileName">No file selected</span>
<button type="button" onclick="removeFile()" class="remove-file-btn">&times;</button>
</div>
<label for="desc_txt" class="input-label">ALT Text:</label>
<input type="text" name="desc_txt" id="desc_txt" class="text-input" placeholder="Description (6 words max)" />
</div>
<input type="submit" name="upload_file" id="upload_file" value="Upload" class="submit-btn" />
</div>
</div>
</div>
</form>
<div class="table-container">
<table class="responsive-table">
<thead>
<tr>
<th>ID</th>
<th>File Link</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("SELECT * FROM `scc_files` ORDER BY id DESC ");
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach($content as $pageData){ ?>
<tr>
<td><?php echo $pageData['id']; ?></td>
<td><?php echo $pageData['link']; ?></td>
<td>
<div class="action-container">
<button onclick="copyToClipboard('<?php echo $pageData['link']; ?>', this)" class="action-btn">Copy</button>
<span class="copied-msg">Copied!</span>
<a href="<?php echo $home_uri_for_file_link . $pageData['link']; ?>" target="_blank" class="action-btn">View</a>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<script>
// Copy to Clipboard
function copyToClipboard(text, button) {
var input = document.createElement('textarea');
input.value = text;
document.body.appendChild(input);
input.select();
document.execCommand('copy');
document.body.removeChild(input);
// Show 'Copied!' message and hide the button temporarily
var actionContainer = button.parentNode;
var copiedMsg = actionContainer.querySelector('.copied-msg');
copiedMsg.style.display = 'inline';
button.style.display = 'none';
// Hide the 'Copied!' message after 1 second
setTimeout(function () {
copiedMsg.style.display = 'none';
button.style.display = 'inline';
}, 1000);
}
// Show File Selection
document.getElementById('file').addEventListener('change', function (event) {
const file = event.target.files[0];
const fileNameSection = document.getElementById('file-name-show-section');
const fileNameSpan = document.getElementById('fileName');
if (file) {
fileNameSection.style.display = 'flex';
fileNameSpan.textContent = 'File Selected: ' + file.name;
} else {
fileNameSection.style.display = 'none';
fileNameSpan.textContent = 'No file selected';
}
});
// Remove File
function removeFile() {
const fileInput = document.getElementById('file');
const fileNameSection = document.getElementById('file-name-show-section');
const fileNameSpan = document.getElementById('fileName');
fileInput.value = '';
fileNameSection.style.display = 'none';
fileNameSpan.textContent = 'No file selected';
}
</script>
<style>
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.upload-container, .table-container {
margin: 20px auto;
width: 90%;
max-width: 800px;
}
.title {
font-size: 24px;
text-align: center;
margin-bottom: 20px;
color: #402517;
}
/* Upload Section */
.file-upload-section {
display: flex;
flex-wrap: wrap;
/* gap: 20px; */
border: 2px dashed #402517;
padding: 20px;
border-radius: 10px;
justify-content: center;
align-items: center;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.upload-icon {
text-align: center;
}
.file-label {
background: #402517;
padding: 20px;
border-radius: 50%;
display: inline-block;
cursor: pointer;
transition: transform 0.3s ease;
}
.input-section {
display: flex;
flex-direction: column;
gap: 15px;
width: 100%;
}
.text-input {
border: 2px solid #7a7a7a;
padding: 7px;
border-radius: 5px;
width: 100%;
}
.submit-btn {
background-color: #402517;
color: #fff;
padding: 7px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
outline: none;
}
.file-name-section {
display: none; /* Initially hidden */
gap: 10px;
align-items: center;
}
.remove-file-btn {
background-color: #402517;
color: #fff;
cursor: pointer;
border: none;
outline: none;
border-radius: 50%;
padding: 0 7px;
}
.remove-file-btn:hover {
background-color: #5c3d27;
}
.copied-msg {
display: none; /* Initially hidden */
background-color: #402517;
color: #fff;
border-radius: 6px;
padding: 6px 12px;
margin-left: 10px;
}
/* Table Section */
.table-container {
overflow-x: auto;
/* margin-top: 20px; */
}
.responsive-table {
width: 100%;
border-collapse: collapse;
margin: 0 auto;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.responsive-table th, .responsive-table td {
border: 2px solid #7a7a7a;
padding: 10px;
text-align: center;
}
.responsive-table th {
background-color: #402517;
color: #fff;
}
.action-container {
display: flex;
gap: 10px;
justify-content: center;
}
.action-btn {
background-color: #402517;
color: #fff;
padding: 8px 12px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
outline: none;
border: none;
}
/* Responsive Design */
@media (max-width: 600px) {
.file-upload-section {
flex-direction: column;
}
.responsive-table {
font-size: 14px;
}
.action-btn {
font-size: 12px;
padding: 6px 8px;
}
}
</style>
<?php
require('../.hta_footer.php');
?>

View File

@@ -0,0 +1,86 @@
<?php
require('../.hta_header.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PocketBase Login</title>
</head>
<body>
<div class="my-5">
<form id="loginForm" style="display: flex; flex-direction: column; justify-content: center; align-items: center;">
<div style="display: flex; flex-direction: column; max-width: 500px; width: 400px; gap: 10px; background-color: #ffddcc; padding: 30px; border-radius: 10px;">
<h3 style="text-align: center; color: #402517; line-height: 0;">Login</h3>
<hr style="border-top: 2px solid #402517;">
<input type="text" id="userName" placeholder="Username or Email" style="padding: 10px;" />
<input type="password" id="password" placeholder="Password" style="padding: 10px;" />
<button type="submit" style="padding: 10px;">Login</button>
</div>
</form>
</div>
<script type="module">
import PocketBase from 'https://cdn.jsdelivr.net/npm/pocketbase@0.15.0';
const pb = new PocketBase('http://127.0.0.1:8090');
// Handle login form submission
document.getElementById('loginForm').addEventListener('submit', async (e) => {
e.preventDefault(); // Prevent the default form submission
const usernameOrEmail = document.getElementById('userName').value;
const password = document.getElementById('password').value;
try {
// Authenticate user
const authData = await pb.collection('users').authWithPassword(usernameOrEmail, password);
console.log('Authentication successful!');
console.log('Is Auth Valid:', pb.authStore.isValid);
console.log('Auth Token:', pb.authStore.token);
console.log('User ID:', pb.authStore.model.id);
alert('Login successful!');
} catch (error) {
console.error('Login failed:', error);
alert('Login failed. Please check your credentials.');
}
});
</script>
</body>
</html>
<!-- <script> -->
<!-- // after the above you can also access the auth data from the authStore
// // Attach event listener to the form
// document.getElementById('loginForm').addEventListener('submit', function (e) {
// e.preventDefault(); // Prevent the form from reloading the page
// let userData = {
// "identity": document.getElementById('userName').value,
// "password": document.getElementById('password').value
// };
// fetch('http://192.168.1.197:8090/api/collections/users/auth-with-password', {
// method: 'POST',
// headers: {
// 'Content-Type': 'application/json'
// },
// body: JSON.stringify(userData)
// })
// .then(res => res.json())
// .then(data => {
// console.log(data);
// })
// .catch(error => {
// console.error(error);
// });
// }); -->
<!-- </script> -->
<?php
require_once('../.hta_footer.php');
?>

View File

@@ -0,0 +1,120 @@
<?php
require('../.hta_config/env.php');
require('../.hta_header.php');
require('../.hta_admin_header.php');
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// Define the number of results per page
$results_per_page = 30;
// Get the current page number from the URL (default to page 1)
$page = isset($_GET['page']) && is_numeric($_GET['page']) ? (int) $_GET['page'] : 1;
$offset = ($page - 1) * $results_per_page;
// Get total number of records
$total_stmt = $conn->prepare("SELECT COUNT(*) AS total FROM `scc24` WHERE type != 'faculty'");
$total_stmt->execute();
$total_rows = $total_stmt->fetch(PDO::FETCH_ASSOC)['total'];
$total_pages = ceil($total_rows / $results_per_page);
// Fetch paginated records
$stmt = $conn->prepare("SELECT * FROM `scc24` WHERE type != 'faculty' ORDER BY id DESC LIMIT :limit OFFSET :offset");
$stmt->bindValue(':limit', $results_per_page, PDO::PARAM_INT);
$stmt->bindValue(':offset', $offset, PDO::PARAM_INT);
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
?>
<p style="font-size: 25px; text-align: center; margin-top: 10px;">Page Content List</p>
<div class="table-container">
<table class="responsive-table">
<thead>
<tr>
<th style="border: 2px solid #7a7a7a;">ID</th>
<th style="border: 2px solid #7a7a7a;">Type</th>
<th style="border: 2px solid #7a7a7a;">Title</th>
<th style="border: 2px solid #7a7a7a;">Action</th>
</tr>
</thead>
<tbody>
<?php foreach ($content as $pageData) { ?>
<tr>
<td style="border: 2px solid #7a7a7a;"><?php echo $pageData['id']; ?></td>
<td style="border: 2px solid #7a7a7a;"><?php echo $pageData['type']; ?></td>
<td style="border: 2px solid #7a7a7a;"><?php echo $pageData['title']; ?></td>
<td style="border: 2px solid #7a7a7a;">
<div style="display: flex; flex-direction: row; justify-content: center; color: blue;">
<a href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a> &nbsp;
<a target="_blank" href="<?php
if ($pageData['type'] === 'notice') {
echo '/notice/' . $pageData['slug'];
} elseif ($pageData['type'] === 'page') {
echo '/' . $pageData['slug'];
}
?>">View</a>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<!-- Pagination Links -->
<div style="text-align: center; margin-top: 20px; display: flex; flex-direction: row; gap: 20px; justify-content: center;">
<?php if ($page > 1): ?>
<a href="?page=1">First</a>
<a href="?page=<?php echo $page - 1; ?>">Prev</a>
<?php endif; ?>
<span>Page <?php echo $page; ?> of <?php echo $total_pages; ?></span>
<?php if ($page < $total_pages): ?>
<a href="?page=<?php echo $page + 1; ?>">Next</a>
<a href="?page=<?php echo $total_pages; ?>">Last</a>
<?php endif; ?>
</div>
<?php require('../.hta_footer.php'); ?>
<style>
.table-container {
margin: 20px auto;
width: 90%;
max-width: 900px;
}
.table-container {
overflow-x: auto;
/* margin-top: 20px; */
}
.responsive-table {
width: 100%;
border-collapse: collapse;
margin: 0 auto;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.responsive-table th, .responsive-table td {
border: 2px solid #7a7a7a;
padding: 10px;
/* text-align: center; */
}
.responsive-table th {
background-color: #402517;
color: #fff;
}
@media (max-width: 600px) {
.responsive-table {
font-size: 14px;
}
.action-btn {
font-size: 12px;
padding: 6px 8px;
}
}
</style>

1
assets/anthro.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 23 KiB

2
assets/ba.svg Normal file
View File

@@ -0,0 +1,2 @@
<svg fill="none" height="40" viewBox="0 0 24 24" width="40" xmlns="http://www.w3.org/2000/svg"><path d="m9.14715 10.845c.04699.4116.4187.7071.83024.6601.41151-.047.70711-.4187.66011-.8302zm4.19715-2.965-.2887.69221zm-10.61636-3.06057c-.09973-.40203-.50648-.6471-.90851-.54737s-.6471.50648-.54737.90851zm11.94716 7.55377c-.3733.1795-.5305.6276-.3511 1.0009.1795.3733.6276.5305 1.0009.3511zm2.5749 7.6268c0 .4142.3358.75.75.75s.75-.3358.75-.75zm-6.6125-9.3251c-.0658-.5764.086-1.37162.4728-1.86308.1791-.22767.397-.37777.6689-.43817.2782-.06179.6894-.0463 1.2764.19856l.5774-1.38442c-.7939-.33114-1.5253-.42366-2.179-.27845-.66.1466-1.1634.51848-1.52249.97481-.68981.87653-.88296 2.09726-.78436 2.96085zm2.4181-2.10269c.5774.24078.9464.74549 1.1077 1.49759.1646.7673.0919 1.7311-.1937 2.6977-.2847.9632-.762 1.865-1.3375 2.5112-.5816.653-1.1916.9713-1.7539.9713v1.5c1.1481 0 2.1331-.6417 2.8741-1.4737.7471-.8388 1.3199-1.947 1.6558-3.0838.3349-1.1334.453-2.3596.2219-3.43731-.2345-1.09289-.848-2.08819-1.997-2.5674zm-2.1774 7.67779c-.6359 0-1.3701-.2815-2.17155-.8816-.79668-.5965-1.60847-1.4707-2.38177-2.5541-1.54669-2.1671-2.87364-5.07904-3.59694-7.99487l-1.45588.36114c.76507 3.08417 2.1668 6.17223 3.8319 8.50513.8326 1.1666 1.74748 2.1674 2.70361 2.8834.95135.7124 1.99614 1.1809 3.07063 1.1809zm4.4467-2.5248c-.1436.069-.1517-.0504.0831.1238.2095.1553.4917.4711.7764.9943.5639 1.0359 1.0656 2.7547 1.0656 5.1567h1.5c0-2.598-.5408-4.5745-1.2481-5.8739-.3509-.6446-.7615-1.1565-1.2003-1.4819-.4135-.3066-1.0253-.5599-1.6265-.271z" fill="#0d6efd"/><g stroke="#0d6efd" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="m7 6.36752c.87785-.95551 5.9941-4.67807 9.5986-.22994.4367.53888.655.80832 1.0282 1.86163s.3732 1.78573.3732 3.25059v8.7502"/><path d="m18 10c0-2.27283 1.2-5.37419 4-4.96297"/></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
assets/bengali.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
assets/botany.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/chemistry.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
assets/clgprin.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

1
assets/def.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path fill-rule="evenodd" clip-rule="evenodd" d="M8.72339 2.05112C10.1673 1.55658 11.0625 1.25 12 1.25C12.9375 1.25 13.8327 1.55658 15.2766 2.05112L16.004 2.30013C17.4854 2.8072 18.6286 3.19852 19.447 3.53099C19.8592 3.69846 20.2136 3.86067 20.499 4.02641C20.7737 4.1859 21.0492 4.38484 21.2364 4.65154C21.4214 4.91516 21.5171 5.23924 21.5772 5.55122C21.6397 5.87556 21.6774 6.26464 21.7017 6.71136C21.75 7.5984 21.75 8.81361 21.75 10.3898V11.9914C21.75 18.0924 17.142 21.0175 14.4017 22.2146L14.3746 22.2264C14.0348 22.3749 13.7154 22.5144 13.3484 22.6084C12.9609 22.7076 12.5493 22.75 12 22.75C11.4507 22.75 11.0391 22.7076 10.6516 22.6084C10.2846 22.5144 9.96523 22.3749 9.62543 22.2264L9.59833 22.2146C6.85803 21.0175 2.25 18.0924 2.25 11.9914V10.3899C2.25 8.81378 2.25 7.59836 2.2983 6.71136C2.32262 6.26464 2.36031 5.87556 2.42281 5.55122C2.48293 5.23924 2.5786 4.91516 2.76363 4.65154C2.95082 4.38484 3.22634 4.1859 3.50098 4.02641C3.78637 3.86067 4.14078 3.69846 4.55303 3.53099C5.3714 3.19852 6.51462 2.8072 7.99595 2.30014L8.72339 2.05112ZM11.25 2.83792C10.7525 2.94604 10.1152 3.16015 9.08062 3.5143L8.5078 3.71037C6.99521 4.22814 5.8921 4.60605 5.11759 4.92069C4.731 5.07774 4.4509 5.20935 4.25429 5.32353C4.15722 5.3799 4.09034 5.42642 4.04567 5.46273C4.0078 5.49351 3.99336 5.51095 3.99129 5.51349C3.98936 5.51663 3.97693 5.5374 3.95943 5.58654C3.93944 5.64265 3.91729 5.72309 3.89571 5.83506C3.85204 6.06169 3.81894 6.37301 3.79608 6.79292C3.75473 7.55226 3.75048 8.58298 3.75005 9.95941L11.25 7.45943V2.83792ZM12.75 2.83792V7.45943L20.25 9.95941C20.2495 8.58298 20.2453 7.55226 20.2039 6.79292C20.1811 6.37301 20.148 6.06169 20.1043 5.83506C20.0827 5.72309 20.0606 5.64265 20.0406 5.58654C20.0231 5.53737 20.0106 5.5166 20.0087 5.51348C20.0066 5.51092 19.9922 5.49349 19.9543 5.46273C19.9097 5.42642 19.8428 5.3799 19.7457 5.32353C19.5491 5.20935 19.269 5.07774 18.8824 4.92069C18.1079 4.60605 17.0048 4.22814 15.4922 3.71037L14.9194 3.5143C13.8848 3.16015 13.2475 2.94604 12.75 2.83792ZM11.25 9.04057L3.75 11.5406V11.9914C3.75 17.1665 7.6199 19.7135 10.1988 20.84C10.5703 21.0023 10.7848 21.0941 11.0236 21.1552C11.0931 21.173 11.1672 21.1888 11.25 21.2021V9.04057ZM12.75 21.2021V9.04057L20.25 11.5406V11.9914C20.25 17.1665 16.3801 19.7135 13.8012 20.84C13.4297 21.0023 13.2152 21.0941 12.9764 21.1552C12.9069 21.173 12.8328 21.1888 12.75 21.2021Z" fill="#1975fc"></path> </g></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
assets/economics.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

1
assets/eng.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="40px" height="40px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M6 21L7.5 15M18 21L16.5 15M16.5 15L14 5C14 5 13.5 3 12 3C10.5 3 10 5 10 5L7.5 15M16.5 15H7.5" stroke="#0d6efd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> </g></svg>

After

Width:  |  Height:  |  Size: 458 B

BIN
assets/english.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

1
assets/geography.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
assets/history.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
assets/img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

1
assets/journ.svg Normal file
View File

@@ -0,0 +1 @@
<svg version="1.1" id="Journalist" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64px" height="64px" viewBox="0 0 300 300" xml:space="preserve" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <style type="text/css"> .st0{fill:#1975fc;} </style> <path class="st0" d="M189.6,123h-36.8l18.3,70.5L189.6,123z M159,209h24v14h-24V209z M260,272h32l-37.9-115.4 c-6.9-20.1-25.9-33.6-47.2-33.6h-10.3l-20.5,78H191v47h-40v-47h15l-20.3-78H134c-21.3,0-40.2,13.5-47.2,33.6l-14,42.3L51,191.6v-20 c5.4-3.1,9-8.9,9-15.6c0-9.9-8.1-18-18-18s-18,8.1-18,18c0,6.7,3.6,12.5,9,15.6V237h18v-12.9l22.5,7.6c10.7,3.6,22.4-2.1,26-12.8 L111,185h12l-30,87h155l-30-87h12L260,272z M127.1,68.5c0,25,20.3,45.3,45.3,45.3c36.3,0,66.7-23.3,76.8-55.4 c-3.2,0.9-6.5,1.3-9.9,1.3c-9.9,0-18.2-3.9-25-10.1c-8.4-7.7-17.8-26.4-41.9-26.4C147.4,23.3,127.1,43.5,127.1,68.5z M9.4,193.3 l-0.3,0.8c-2.6,7.8,1.6,16.3,9.4,19l6.5,2.2v-32.1C18.2,182.6,11.6,186.6,9.4,193.3z"></path> </g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/mathematics.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

1
assets/pell.css Normal file
View File

@@ -0,0 +1 @@
.pell{border:1px solid hsla(0,0%,4%,.1)}.pell,.pell-content{box-sizing:border-box}.pell-content{height:450px;outline:0;overflow-y:auto;padding:10px}.pell-actionbar{background-color:#fff;border-bottom:1px solid hsla(0,0%,4%,.1)}.pell-button{background-color:transparent;border:none;cursor:pointer;height:30px;outline:0;width:30px;vertical-align:bottom}.pell-button-selected{background-color:#f0f0f0}

1
assets/pell.js Normal file
View File

@@ -0,0 +1 @@
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.pell={})}(this,function(t){"use strict";var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c="defaultParagraphSeparator",l="formatBlock",a=function(t,e,n){return t.addEventListener(e,n)},s=function(t,e){return t.appendChild(e)},d=function(t){return document.createElement(t)},n=function(t){return document.queryCommandState(t)},f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;return document.execCommand(t,!1,e)},p={bold:{icon:"<b>B</b>",title:"Bold",state:function(){return n("bold")},result:function(){return f("bold")}},italic:{icon:"<i>I</i>",title:"Italic",state:function(){return n("italic")},result:function(){return f("italic")}},underline:{icon:"<u>U</u>",title:"Underline",state:function(){return n("underline")},result:function(){return f("underline")}},strikethrough:{icon:"<strike>S</strike>",title:"Strike-through",state:function(){return n("strikeThrough")},result:function(){return f("strikeThrough")}},heading1:{icon:"<b>H<sub>1</sub></b>",title:"Heading 1",result:function(){return f(l,"<h1>")}},heading2:{icon:"<b>H<sub>2</sub></b>",title:"Heading 2",result:function(){return f(l,"<h2>")}},paragraph:{icon:"&#182;",title:"Paragraph",result:function(){return f(l,"<p>")}},quote:{icon:"&#8220; &#8221;",title:"Quote",result:function(){return f(l,"<blockquote>")}},olist:{icon:"&#35;",title:"Ordered List",result:function(){return f("insertOrderedList")}},ulist:{icon:"&#8226;",title:"Unordered List",result:function(){return f("insertUnorderedList")}},code:{icon:"&lt;/&gt;",title:"Code",result:function(){return f(l,"<pre>")}},line:{icon:"&#8213;",title:"Horizontal Line",result:function(){return f("insertHorizontalRule")}},link:{icon:"&#128279;",title:"Link",result:function(){var t=window.prompt("Enter the link URL");t&&f("createLink",t)}},image:{icon:"&#128247;",title:"Image",result:function(){var t=window.prompt("Enter the image URL");t&&f("insertImage",t)}}},m={actionbar:"pell-actionbar",button:"pell-button",content:"pell-content",selected:"pell-button-selected"},r=function(n){var t=n.actions?n.actions.map(function(t){return"string"==typeof t?p[t]:p[t.name]?e({},p[t.name],t):t}):Object.keys(p).map(function(t){return p[t]}),r=e({},m,n.classes),i=n[c]||"div",o=d("div");o.className=r.actionbar,s(n.element,o);var u=n.element.content=d("div");return u.contentEditable=!0,u.className=r.content,u.oninput=function(t){var e=t.target.firstChild;e&&3===e.nodeType?f(l,"<"+i+">"):"<br>"===u.innerHTML&&(u.innerHTML=""),n.onChange(u.innerHTML)},u.onkeydown=function(t){var e;"Enter"===t.key&&"blockquote"===(e=l,document.queryCommandValue(e))&&setTimeout(function(){return f(l,"<"+i+">")},0)},s(n.element,u),t.forEach(function(t){var e=d("button");if(e.className=r.button,e.innerHTML=t.icon,e.title=t.title,e.setAttribute("type","button"),e.onclick=function(){return t.result()&&u.focus()},t.state){var n=function(){return e.classList[t.state()?"add":"remove"](r.selected)};a(u,"keyup",n),a(u,"mouseup",n),a(e,"click",n)}s(o,e)}),n.styleWithCSS&&f("styleWithCSS"),f(c,i),n.element},i={exec:f,init:r};t.exec=f,t.init=r,t.default=i,Object.defineProperty(t,"__esModule",{value:!0})});

BIN
assets/philosophy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

1
assets/phys.svg Normal file
View File

@@ -0,0 +1 @@
<svg fill="#1975fc" height="64px" width="64px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <g> <path d="M214.79,388.125l-12.478,13.239c-8.282,8.785-7.872,22.62,0.912,30.901c8.782,8.281,22.62,7.872,30.901-0.913 l17.688-18.764L214.79,388.125z"></path> </g> </g> <g> <g> <path d="M318.265,78.244h-1.203c-2.069,3.106-5.105,5.183-8.5,6.09c-0.284,8.108-2.407,15.754-5.97,22.534h16.506 C318.003,80.944,317.902,81.518,318.265,78.244z"></path> </g> </g> <g> <g> <path d="M425.938,78.245H381.25c0.191,1.707,0.078-0.195,1.298,28.624h29.079V512h28.624V92.556 C440.25,84.652,433.842,78.245,425.938,78.245z"></path> </g> </g> <g> <g> <path d="M86.061,78.244v0.001c-7.904,0-14.312,6.407-14.312,14.312V512h28.624V106.868h29.078 c1.22-28.834,1.107-26.917,1.297-28.624H86.061z"></path> </g> </g> <g> <g> <path d="M209.351,106.868c-3.565-6.785-5.688-14.435-5.969-22.549c-3.387-0.919-6.398-2.997-8.447-6.073h-1.201 c0.356,3.207,0.276,2.392-0.834,28.623H209.351z"></path> </g> </g> <g> <g> <path d="M366.559,81.095c-0.392-9.284-8.269-16.469-17.505-16.084c-9.276,0.392-16.478,8.231-16.085,17.507l1.74,41.12 l-54.184,3.939h-49.049l-54.183-3.939l1.74-41.12c0.402-9.5-7.169-17.523-16.828-17.523c-8.938,0.001-16.383,7.074-16.765,16.102 l-2.441,57.699c-0.389,9.191,6.681,16.987,15.866,17.497l48.665,2.694c0,10.84,0,95.755,0,109.414 c-15.053,20.256-17.96,24.167-32.624,43.897c-7.485,10.073-4.961,24.368,5.494,31.277l94.44,62.399 c10.082,6.661,23.639,3.877,30.29-6.187c6.655-10.072,3.885-23.634-6.187-30.289l-75.165-49.664 c11.427-15.376,4.41-5.934,26.68-35.9h14.406l13.852,36.378l-8.127,8.622l37.022,24.462l12.315-13.065 c5.747-6.097,7.504-14.943,4.521-22.773l-20.429-53.651c0-12.93,0-93.455,0-104.896l49.116-2.72 c9.185-0.509,16.256-8.306,15.866-17.497L366.559,81.095z"></path> </g> </g> <g> <g> <path d="M284.342,76.178c-8.508,3.929-18.178,6.024-28.219,6.024c-10.118,0-19.847-2.123-28.394-6.107 c-2.104,3.985-4.85,6.867-9.466,8.186c0.955,20.21,17.679,35.942,37.708,35.942c20.08,0,36.767-15.757,37.709-35.972 C289.146,82.924,286.438,80.1,284.342,76.178z"></path> </g> </g> <g> <g> <path d="M308.036,69.436c-1.774-9.57-6.136-33.18-6.136-34.059C301.899,15.838,281.404,0,256.123,0 c-24.125,0-43.876,14.426-45.634,32.723h-0.142l-6.392,36.752c-0.356,2.054,1.226,3.932,3.307,3.932h6.916 c1.244,0,2.387-0.689,2.968-1.789l6.13-11.613c8.319,6.626,19.957,10.749,32.846,10.749c12.784,0,24.339-4.055,32.644-10.585 l6.127,11.464c0.584,1.092,1.722,1.774,2.96,1.774h6.881C306.831,73.408,308.42,71.505,308.036,69.436z"></path> </g> </g> </g></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
assets/physics.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
assets/polsc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
assets/sanskrit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

1
assets/upload.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="90px" height="90px" viewBox="-2 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="#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 id="Lager_3" data-name="Lager 3" transform="translate(-2 0)"> <g id="Group_2" data-name="Group 2"> <path id="Path_4" data-name="Path 4" d="M28,14H23.98A1.979,1.979,0,0,0,22,15.98v.04A1.979,1.979,0,0,0,23.98,18H25a1,1,0,0,1,1,1v8a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V19a1,1,0,0,1,1-1H8.02A1.979,1.979,0,0,0,10,16.02v-.04A1.979,1.979,0,0,0,8.02,14H4a2,2,0,0,0-2,2V30a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V16A2,2,0,0,0,28,14Z" fill="#FFFFF" fill-rule="evenodd"></path> <path id="Path_5" data-name="Path 5" d="M11.413,9.387,14,6.754V23a1,1,0,0,0,1,1h2a1,1,0,0,0,1-1V7.057l.26.042L20.587,9.4a2.017,2.017,0,0,0,2.833,0,1.969,1.969,0,0,0,0-2.807L17.346.581a2.017,2.017,0,0,0-2.833,0l-5.934,6a1.97,1.97,0,0,0,0,2.806A2.016,2.016,0,0,0,11.413,9.387Z" fill="#FFFFF" fill-rule="evenodd"></path> </g> </g> </g></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

BIN
assets/zoology.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

59
faculty/.hta_404.php Normal file
View File

@@ -0,0 +1,59 @@
<?php
require('.hta_config/env.php');
require('./.hta_header.php');
// echo 'Notice 404+1';
$headerContent = file_get_contents('./.hta_header.php');
$requestUri = $_SERVER['REQUEST_URI'];
// echo $requestUri;
$urlParts = explode('/', $requestUri);
if($urlParts[1] === 'faculty'){
$slug = $urlParts[2];
} else{
$slug = $urlParts[1];
}
$querySlug = explode('.', $slug)[0];
// echo $querySlug;
$fileName = $slug;
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` WHERE `slug` = '".$querySlug."'");
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
if(isset($content[0]['content']) && $content[0]['content'])
$pageContent = '<div class="container mx-auto" style="">
<div class="">'.$content[0]['content'].'</div>
</div>';
else $pageContent = '
<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) {
$in_page_message = "<p class='text-danger'>Error: " . $e->getMessage() . "</p>";
}
// Render page content here
echo $pageContent;
$footerContent = file_get_contents('./.hta_footer.php');
if($urlParts[1] === 'faculty'){
$filePath = __DIR__ . '/' . $fileName;
// echo $filePath;
$totalPageContent = $headerContent . $pageContent . $footerContent;
} else{
$filePath = __DIR__ . $fileName;
$totalPageContent = $headerContent . $pageContent . $footerContent;
}
// file_put_contents($filePath, $totalPageContent);
?>

53
faculty/_home.php Normal file
View File

@@ -0,0 +1,53 @@
<?php
require('.hta_config/env.php');
require('./.hta_header.php');
$noticeType = $_GET['type'];
if($noticeType === 'notice'){
$noticeHead = 'General Notice';
} elseif($noticeType === 'tender'){
$noticeHead = 'Tender Notice';
}
?>
<div class="container">
<h2 style="text-align: center; margin: 20px 0px;"><?php echo $noticeHead ?></h2>
<table style="border-collapse: collapse; width: 100%; ">
<thead>
<tr>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: left;">Sl No.</th>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: left;">Title</th>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: left;">Action</th>
</tr>
</thead>
<tbody>
<?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` WHERE `type` = :type 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 '<tr>
<td style="border: 1px solid #6b6245; padding: 8px;">' . $serialNumber . '</td>
<td style="border: 1px solid #6b6245; padding: 8px;">' . htmlspecialchars($notice['title']) . '</td>
<td style="border: 1px solid #6b6245; padding: 8px; text-align: center;">
<a href="/notice/'.$notice['slug'].'.html">View</a>
<a href="#"></a>
</td>
</tr>';
$serialNumber++;
}
echo '';
} catch (PDOException $e) {
echo "<p class='text-danger'>Error: " . htmlspecialchars($e->getMessage()) . "</p>";
}
?>
</tbody>
</table>
</div>
<?php
require('./.hta_footer.php');
?>

45
faculty/index.php Normal file
View File

@@ -0,0 +1,45 @@
<?php
require('../.hta_config/env.php');
require('../.hta_header.php');
$noticeHead = 'Tender Notice';
// $departments = array("History","Pol science","Library","Geography","Geography","Zoology","Math","Library","Sanskrit","Math","Geography");
// var_dump($departments);
?>
<div class="container">
<h2 style="text-align: center; margin: 20px 0px;">Faculty List</h2>
<table style="border-collapse: collapse; width: 100%; ">
<thead>
<tr>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: center;">Sl No.</th>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: center;">Faculty Name</th>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: center;">Department</th>
</tr>
</thead>
<tbody>
<?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` WHERE `type` = 'faculty' ORDER BY (`date_created` = CURDATE()) DESC, `date_created` DESC");
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
$serialNumber = 1;
foreach ($content as $notice) {
echo '<tr>
<td style="border: 1px solid #6b6245; padding: 8px;">' . $serialNumber . '</td>
<td style="border: 1px solid #6b6245; padding: 8px;"><a href="/faculty/'.$notice['slug'].'.html">' . htmlspecialchars($notice['title']) . '</a></td>
<td style="border: 1px solid #6b6245; padding: 8px; text-align: center;"></td>
</tr>';
$serialNumber++;
}
echo '';
} catch (PDOException $e) {
echo "<p class='text-danger'>Error: " . htmlspecialchars($e->getMessage()) . "</p>";
}
?>
</tbody>
</table>
</div>
<?php
require('../.hta_footer.php');
?>

653
favicon.ico Normal file
View File

@@ -0,0 +1,653 @@
<!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: #.hta_header.php;">
<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">
<a href="/notice?type=notice" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66; color: #FFFFFF; text-decoration: none;">Notice</a>
<a href="/gallery.html" class="px-4 py-2 rounded-pill shadow shadow-lg shadow-danger" style="background-color: #3e5b66; color: #FFFFFF; text-decoration: none;">Gallery</a>
</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&deg;</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 &raquo; </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 &raquo; </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="/about.html">History</a></li>
<li><a class="dropdown-item" href="#">Mission</a></li>
<li><a class="dropdown-item" href="/pricipal-desk.html">Vision</a></li>
<li><a class="dropdown-item" href="">Objective</a></li>
<li><a class="dropdown-item" href="/infrastructure-and-learning-resources.html">Infrastructure & Facilities</a></li>
<li><a class="dropdown-item" href="#">Distinctiveness</a></li>
<li><a class="dropdown-item" href="/best-practices.html">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.html">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.html">Teachers' Council</a></li>
<li><a class="dropdown-item" href="/organogram.html">Organogram</a></li>
<li><a class="dropdown-item" href="/code-of-ethics-and-conduct.html">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.html">RTI</a></li>
<li><a class="dropdown-item" href="/rusa.html">RUSA</a></li>
<li><a class="dropdown-item" href="/staff.html">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 &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments.html">Humanities</a></li>
<li><a class="dropdown-item" href="/departments-of-science.html">Science</a></li>
<li><a class="dropdown-item" href="#">Commerce</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="/departments"> Departments &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="#">Humanitiess &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments/humanities/bengali.html">Bengali</a></li>
<li><a class="dropdown-item" href="/departments/humanities/economics.html">Economics</a></li>
<li><a class="dropdown-item" href="#">Education</a></li>
<li><a class="dropdown-item" href="/departments/humanities/english.html">English</a></li>
<li><a class="dropdown-item" href="#">French</a></li>
<li><a class="dropdown-item" href="/departments/humanities/geography.html">Geography</a></li>
<li><a class="dropdown-item" href="/departments/humanities/history.html">History</a></li>
<li><a class="dropdown-item" href="/departments/humanities/philosophy.html">Philosophy</a></li>
<li><a class="dropdown-item" href="/departments/humanities/political-science.html">Political Science</a></li>
<li><a class="dropdown-item" href="/departments/humanities/sanskrit.html">Sanskrit</a></li>
<li><a class="dropdown-item" href="#">Sociology</a></li>
</ul>
</li>
<li><a class="dropdown-item" href="#">Science &raquo; </a>
<ul class="submenu dropdown-menu">
<li><a class="dropdown-item" href="/departments/science/botany.html">Botany</a></li>
<li><a class="dropdown-item" href="/departments/science/chemistry.html">Chemistry</a></li>
<li><a class="dropdown-item" href="/departments/science/computer-science.html">Computer Science</a></li>
<li><a class="dropdown-item" href="/departments/science/enviromental-science.html">Environmental Science</a></li>
<li><a class="dropdown-item" href="/departments/science/mathematics.html">Mathematics</a></li>
<li><a class="dropdown-item" href="/departments/science/physics.html">Physics</a></li>
<li><a class="dropdown-item" href="/departments/science/zoology.html">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.html">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="/activities.html">Student Support Services</a></li>
<li><a class="dropdown-item" href="/students-union.html">Students' Union</a></li>
<li><a class="dropdown-item" href="/alumni-association.html">Alumni</a></li>
<li><a class="dropdown-item" href="#">E-Magazine</a></li>
<li><a class="dropdown-item" href="/students-feedback.html">Feedback Form</a></li>
<li><a class="dropdown-item" href="/student-grievance.html">Online Grievance Redressal</a></li>
<li><a class="dropdown-item" href="/anti-ragging-committee.html">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="/students-health-home.html">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.html"> 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="/welfare-programme.html"> 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>
<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>
<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">&#169; Sree Chaitanya College &nbsp;|&nbsp; </div>
<div class="text-white fw-normal"> 2024 &nbsp;|&nbsp; </div>
<div><a class="text-white fw-normal" href="#">Privacy Policy</a></div>
</div>
</div>
</footer>
</body>
</html>

View File

@@ -1,16 +1,14 @@
<?php
require('.hta_config/env.php');
require('.hta_config/var.php');
require_once('.hta_config/var.php');
$url = explode('/', $_SERVER['REQUEST_URI']);
if (strpos($url[1], "?") !== false) {
$url2 = explode('?', $url[1]);
$slug=$url2[0];
} else $slug=$url[1];
require('.hta_header.php');
if($slug=="") require('.hta_slug/_home.php');
elseif(file_exists(".hta_slug/".$slug.".html")) include ".hta_slug/".$slug.".html";
else require('.hta_404.php');
// require('.hta_config/diz_css.php');
require('.hta_footer.php');
if($slug=="") require_once('.hta_slug/_home.php');
elseif(file_exists(".hta_slug/".$slug.".php")) include ".hta_slug/".$slug.".php";
else require_once('.hta_404.php');
require_once('.hta_footer.php');

64
notice/.hta_404.php Normal file
View File

@@ -0,0 +1,64 @@
<?php
require('.hta_config/env.php');
require('./.hta_header.php');
// echo 'Notice 404+1';
$headerContent = file_get_contents('./.hta_header.php');
$requestUri = $_SERVER['REQUEST_URI'];
// echo $requestUri;
$urlParts = explode('/', $requestUri);
if($urlParts[1] === 'notice'){
$slug = $urlParts[2];
} else{
$slug = $urlParts[1];
}
$querySlug = explode('.', $slug)[0];
// echo $slug;
$fileName = $slug;
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` WHERE `slug` = '".$querySlug."'");
$stmt->execute();
$content = $stmt->fetchAll(PDO::FETCH_ASSOC);
if(isset($content[0]['content']) && $content[0]['content'])
$pageContent = '<div class="container mx-auto" style="">
<div class="" style="padding-top:20px; padding-bottom:15px; font-size:25px;"><p style="text-align: center;">'.$content[0]['title'].'</p></div>
<div class="">'.$content[0]['content'].'</div>
</div>';
else $pageContent = '
<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) {
$in_page_message = "<p class='text-danger'>Error: " . $e->getMessage() . "</p>";
}
// Render page content here
echo $pageContent;
$footerContent = file_get_contents('./.hta_footer.php');
// if($fileExtension[1] && $fileExtension[1] === 'html'){
// $filePath = __DIR__ . '/notice/' . $fileName;
// } else{
// $filePath = __DIR__ . '/notice/' . $fileName . '.html';
// }
if($urlParts[1] === 'notice'){
$filePath = __DIR__ . '/' . $fileName;
// echo $filePath;
$totalPageContent = $headerContent . $pageContent . $footerContent;
} else{
$filePath = __DIR__ . $fileName;
$totalPageContent = $headerContent . $pageContent . $footerContent;
}
// file_put_contents($filePath, $totalPageContent);
?>

52
notice/_home.php Normal file
View File

@@ -0,0 +1,52 @@
<?php
require('.hta_config/env.php');
require('./.hta_header.php');
$noticeType = $_GET['type'];
if($noticeType === 'notice'){
$noticeHead = 'General Notice';
} elseif($noticeType === 'tender'){
$noticeHead = 'Tender Notice';
}
?>
<div class="container">
<h2 style="text-align: center; margin: 20px 0px;"><?php echo $noticeHead ?></h2>
<table style="border-collapse: collapse; width: 100%; ">
<thead>
<tr>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: left;">Sl No.</th>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: left;">Title</th>
<th style="border: 1px solid #6b6245; padding: 8px; text-align: left;">Action</th>
</tr>
</thead>
<tbody>
<?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` WHERE `type` = :type 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 '<tr>
<td style="border: 1px solid #6b6245; padding: 8px;">' . $serialNumber . '</td>
<td style="border: 1px solid #6b6245; padding: 8px;">' . htmlspecialchars($notice['title']) . '</td>
<td style="border: 1px solid #6b6245; padding: 8px; text-align: center;">
<a href="/notice/'.$notice['slug'].'.html">View</a>
<a href="#"></a>
</td>
</tr>';
$serialNumber++;
}
echo '';
} catch (PDOException $e) {
echo "<p class='text-danger'>Error: " . htmlspecialchars($e->getMessage()) . "</p>";
}
?>
</tbody>
</table>
</div>
<?php
require('./.hta_footer.php');
?>

View File

@@ -1,14 +1,12 @@
<?php
require('../.hta_header.php');
require('../.hta_config/env.php');
require('../.hta_header.php');
$noticeType = $_GET['type'];
if($noticeType === 'notice'){
$noticeHead = 'General Notice';
} elseif($noticeType === 'tender'){
$noticeHead = 'Tender Notice';
}
?>
<div class="container">
<h2 style="text-align: center; margin: 20px 0px;"><?php echo $noticeHead ?></h2>
@@ -35,7 +33,7 @@
<td style="border: 1px solid #6b6245; padding: 8px;">' . $serialNumber . '</td>
<td style="border: 1px solid #6b6245; padding: 8px;">' . htmlspecialchars($notice['title']) . '</td>
<td style="border: 1px solid #6b6245; padding: 8px; text-align: center;">
<a href="/notice/'.$notice['slug'].'">View</a>
<a href="/notice/'.$notice['slug'].'.html">View</a>
<a href="#"></a>
</td>
</tr>';

File diff suppressed because one or more lines are too long

1
temp_html_file/test.txt Normal file
View File

@@ -0,0 +1 @@
Hello World. Testing!