15
.hta_404.php
|
@ -9,7 +9,9 @@
|
|||
|
||||
if ($urlParts[1] === 'notice') {
|
||||
$slug = $urlParts[2];
|
||||
} else {
|
||||
} elseif($urlParts[1] === 'departments'){
|
||||
$slug = $urlParts[2];
|
||||
} else{
|
||||
$slug = $urlParts[1];
|
||||
}
|
||||
|
||||
|
@ -21,13 +23,12 @@
|
|||
$totalPageContent = $headerContent . $pageContent . $footerContent;
|
||||
$filePath = __DIR__ . '/' . $fileName;
|
||||
|
||||
// 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>";
|
||||
// }
|
||||
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 {
|
||||
$conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass);
|
||||
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
|
|
|
@ -289,15 +289,29 @@
|
|||
</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.html">Humanities</a></li>
|
||||
<li><a class="dropdown-item" href="/departments-of-science.html">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 » </a>
|
||||
<li><a class="dropdown-item" href="#"> Programs Offered » </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>
|
||||
<li><a class="dropdown-item" href="/#">Departments » </a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="#">Humanitiess » </a>
|
||||
|
@ -325,10 +339,10 @@
|
|||
<li><a class="dropdown-item" href="/department-of-zoology.html">Zoology</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- <li><a class="dropdown-item" href="#">Commerce</a></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="#">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>
|
||||
|
@ -342,9 +356,9 @@
|
|||
<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> -->
|
||||
<li><a class="dropdown-item" href="#"> Exam Related Grievances </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</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">
|
||||
|
|
After Width: | Height: | Size: 23 KiB |
|
@ -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 |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
|
@ -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 |
After Width: | Height: | Size: 2.3 KiB |
|
@ -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 |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 2.3 KiB |
|
@ -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 |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.8 KiB |
|
@ -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 |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
|
@ -7,6 +7,7 @@
|
|||
} elseif($noticeType === 'tender'){
|
||||
$noticeHead = 'Tender Notice';
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="container">
|
||||
<h2 style="text-align: center; margin: 20px 0px;"><?php echo $noticeHead ?></h2>
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
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>
|
||||
|
|