summaryrefslogtreecommitdiffstats
path: root/index.php
blob: 495748b02d1841c19b1cbf24cc67e4631a3c09b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
	}

}

?>