diff --git a/.hta_404.php b/.hta_404.php index e017377..cfcf037 100644 --- a/.hta_404.php +++ b/.hta_404.php @@ -21,22 +21,17 @@ $totalPageContent = $headerContent . $pageContent . $footerContent; $filePath = __DIR__ . '/' . $fileName; - if (file_put_contents($filePath, $totalPageContent)) { - // echo "

Page saved successfully at $filePath.

"; - } else { - // echo "

Failed to save the page.

"; - } + // if (file_put_contents($filePath, $totalPageContent)) { + // // echo "

Page saved successfully at $filePath.

"; + // } else { + // // echo "

Failed to save the page.

"; + // } } - - - - - 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='page' AND `slug` = :querySlug"); + $stmt = $conn->prepare("SELECT * FROM `scc24` WHERE `slug` = :querySlug"); $stmt->bindParam(':querySlug', $querySlug, PDO::PARAM_STR); $stmt->execute(); $content = $stmt->fetchAll(PDO::FETCH_ASSOC); diff --git a/.hta_footer.php b/.hta_footer.php index 2cbdc47..2de626a 100644 --- a/.hta_footer.php +++ b/.hta_footer.php @@ -36,7 +36,7 @@

REACH US

-

Strand Road, Bara Bazar, Chandannagar, Dist: Hooghly, West Bengal, Pin: 712136

+

Prafullanagar, Habra, Dist: 24Pgs(N), West Bengal, Pin: 743268

diff --git a/.hta_header.php b/.hta_header.php index f4c34ce..fe5ceb8 100644 --- a/.hta_header.php +++ b/.hta_header.php @@ -23,10 +23,12 @@
-
+
- + + +

Sree Chaitanya College

@@ -41,25 +43,19 @@
+ LIBRARY +
+ +
+
+

Sree Chaitanya College

+
(Arts and Science)
+

Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B

+

sreechaitanyacollege@rediffmail.com

-
-
(Arts and Science)
-

Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B

-

sreechaitanyacollege@rediffmail.com

-
-
College Meuseum
-
Campus 360°
+ +
@@ -192,35 +181,18 @@
@@ -262,12 +266,8 @@