summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorisjusterin <erinproductions@gmail.com>2015-07-22 19:06:03 -0500
committerisjusterin <erinproductions@gmail.com>2015-07-22 19:06:03 -0500
commiteda26599175299cd1481bc93ecfc57c4840f8705 (patch)
tree5bb7fed81f5788ed955bcc1f341667466d3c6d0c /index.php
parent2e1397a1c1ee6bde877c351010e0fdaed43efd25 (diff)
downloadComicControl-3.0-master.zip
ComicControl-3.0-master.tar.gz
ComicControl-3.0-master.tar.bz2
ComicControl files to be dumped in root folderHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'index.php')
-rw-r--r--index.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..495748b
--- /dev/null
+++ b/index.php
@@ -0,0 +1,34 @@
+<?
+//header('X-Frame-Options: sameorigin');
+include('comiccontrol/dbconfig.php');
+include('comiccontrol/initialize.php');
+include('comiccontrol/functions.php');
+include('custom.php');
+
+
+//include template
+if($moduleinfo['customtemplate'] != ""){
+ include("templates/" . $moduleinfo['customtemplate']);
+}else{
+
+ switch($moduleinfo['type']){
+ case "comic":
+ include("templates/comicpage.php");
+ break;
+ case "blog":
+ include("templates/blogpage.php");
+ break;
+ case "gallery":
+ include("templates/gallerypage.php");
+ break;
+ case "page":
+ include("templates/page.php");
+ break;
+ case "archive":
+ include("templates/archive.php");
+ break;
+ }
+
+}
+
+?> \ No newline at end of file