

Sree Chaitanya College
Estd: 1956
(Arts and Science)
-Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
-sreechaitanyacollege@rediffmail.com
+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
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
College Meuseum
-Campus 360°
+College Meuseum
+Campus 360°


Sree Chaitanya College
+Estd: 1956
+(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+
Sree Chaitanya College
+Estd: 1956
+
(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+College Meuseum
+Campus 360°
+Page not found (404).
+ Back to home +' . htmlspecialchars($content['title']) . '
-Content not found (404).
Error: " . htmlspecialchars($e->getMessage()) . "
"; - } + +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'); + ?> \ No newline at end of file diff --git a/.hta_slug/theme-1-footer b/.hta_slug/theme-1-footer new file mode 100644 index 0000000..0fc40e8 --- /dev/null +++ b/.hta_slug/theme-1-footer @@ -0,0 +1,656 @@ + + + + + + + + + + + + + + + +

Sree Chaitanya College
+Estd: 1956
+(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+
Sree Chaitanya College
+Estd: 1956
+
(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+College Meuseum
+Campus 360°
+Page not found (404).
+ Back to home +

Sree Chaitanya College
+Estd: 1956
+(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+
Sree Chaitanya College
+Estd: 1956
+
(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+College Meuseum
+Campus 360°
+Page not found (404).
+ Back to home +
Sree Chaitanya College
+Estd: 1956
+(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+
Sree Chaitanya College
+Estd: 1956
+
(Arts and Science)
+Prafullanagar, Habra, 24Pgs(N) Pin-743268, W.B
+sreechaitanyacollege@rediffmail.com
+College Meuseum
+Campus 360°
+Subject Combinations & Fee Structure
+'.$content[0]['title'].'
Page not found (404).
+ Back to home +Error: " . $e->getMessage() . "
"; + } + + // 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); + +?> \ No newline at end of file diff --git a/notice/_home.php b/notice/_home.php new file mode 100644 index 0000000..ed15363 --- /dev/null +++ b/notice/_home.php @@ -0,0 +1,52 @@ + +Sl No. | +Title | +Action | +
---|---|---|
' . $serialNumber . ' | +' . htmlspecialchars($notice['title']) . ' | ++ View + + | +