summaryrefslogtreecommitdiff
path: root/htdocs/index.php
blob: 240554d0bd913873b9f76b648adc585b7fbfb19d (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php
include_once("config.php");

include_once($UTIL_DIR . "/guestbook.php");
header("Content-Type: text/html; charset=UTF-8");

include_once($UTIL_DIR . "/login.php");
if($page == "admin") checklogin();

include_once($MODULES_DIR . "/pages.php");

$pages = new Pages($DATA_DIR . "/pages.xml");
?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ExecutionRoom.com - Official DIE website</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="MSSmartTagsPreventParsing" content="true"/>
<meta http-equiv="Content-Type" content="text/html"/>
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" />
<link rel="author" title="Bent Bisballe Nyeng" href="http://www.aasimon.org"/>
<link href="/favicon.ico" rel="shortcut icon"/>
<link rel="stylesheet" type="text/css" href="style.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="handheld.css" media="handheld"/>
<link rel="stylesheet" type="text/css" href="admin.css" media="screen"/>
<script type="text/javascript" src="external.js"></script>
</head>
<body>
<div style="display: none;">
<img alt="preload" src="gfx/biography_hover.jpg"/>
<img alt="preload" src="gfx/contact_hover.jpg"/>
<img alt="preload" src="gfx/discography_hover.jpg"/>
<img alt="preload" src="gfx/downloads_hover.jpg"/>
<img alt="preload" src="gfx/gallery_hover.jpg"/>
<img alt="preload" src="gfx/guestbook_hover.jpg"/>
<img alt="preload" src="gfx/live_hover.jpg"/>
<img alt="preload" src="gfx/members_hover.jpg"/>
<img alt="preload" src="gfx/news_hover.jpg"/>
<img alt="preload" src="gfx/shop_hover.jpg"/>
</div>
<?php if(strstr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) echo "<center><table><tr><td>"; ?>
<div class="page">
  <div class="menu" <?php if(strstr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) 
		 echo "style=\"width: 848px;\"";
		 ?>>
    <a href="?page=news" class="menu_entry_news"></a>
    <a href="?page=news" class="menutitle">News</a>

    <a href="?page=shop" class="menu_entry_shop"></a>
    <a href="?page=shop" class="menutitle">Shop</a>

    <a href="?page=downloads" class="menu_entry_downloads"></a>
    <a href="?page=downloads" class="menutitle">Downloads</a>

    <a href="?page=biography" class="menu_entry_biography"></a>
    <a href="?page=biography" class="menutitle">Biography</a>

    <a href="?page=live" class="menu_entry_live"></a>
    <a href="?page=live" class="menutitle">Live Shows</a>

    <a href="?page=discography" class="menu_entry_discography"></a>
    <a href="?page=discography" class="menutitle">Discography</a>

    <a href="?page=guestbook" class="menu_entry_guestbook"></a>
    <a href="?page=guestbook" class="menutitle">Guestbook</a>

    <a href="?page=members" class="menu_entry_members"></a>
    <a href="?page=members" class="menutitle">Members</a>

    <a href="?page=gallery" class="menu_entry_gallery"></a>
    <a href="?page=gallery" class="menutitle">Gallery</a>

    <a href="?page=contact" class="menu_entry_contact"></a>
    <a href="?page=contact" class="menutitle">Contact</a>
  </div>
  <div class="wrapper" <?php if(strstr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) 
		 echo "style=\"width: 848px; margin-top: -102px;\"";
		 ?>>
  <div class="content" <?php if(strstr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) 
		 echo "style=\"width: 599px;\"";
		 ?>>
<?php
include_once("config.php");

if($page == "admin") {
	include($PAGE_DIR."/admin.php");
} else {
	if($page) $p = $pages->getPage($page);
	else $p = $pages->getPage($DEFAULT_PAGE);
	if($p) $p->show();
}

/*
switch($page) {
case "news":        include($PAGE_DIR."/news.php"); break;
case "shop":        include($PAGE_DIR."/shop.php"); break;
case "downloads":   include($PAGE_DIR."/downloads.php"); break;
case "biography":   include($PAGE_DIR."/biography.php"); break;
case "live":        include($PAGE_DIR."/live.php");  break;
case "discography": include($PAGE_DIR."/discography.php");  break;
case "members":     include($PAGE_DIR."/members.php");  break;
case "guestbook":   include($PAGE_DIR."/guestbook.php");  break;
case "gallery":     include($PAGE_DIR."/gallery.php");  break;
case "contact":     include($PAGE_DIR."/contact.php");  break;

// Hidden pages
case "lyrics":      include($PAGE_DIR."/lyrics.php"); break;
case "links":       include($PAGE_DIR."/links.php"); break;
case "admin":       include($PAGE_DIR."/admin.php"); break;
case "rss":         include($PAGE_DIR."/rss.php");  break;

// Paypal result pages
case "thanx":       include($PAGE_DIR."/thanx.php"); break;
case "cancel":      include($PAGE_DIR."/cancel.php"); break;

// Default
default:            include($PAGE_DIR."/news.php");    break;
}
*/
?>
  </div>
  <div class="column" <?php if(strstr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) 
		 echo "style=\"width: 249px;\"";
		 ?>>
<?php
$p = $pages->getPage("column");
if($p) $p->show();
?>
  </div>
  </div>
  <div class="footer">
<?php
$p = $pages->getPage("footer");
if($p) $p->show();
?>
  </div>
</div>
<?php if(strstr($_SERVER['HTTP_USER_AGENT'], "MSIE 6.0")) echo "</td></tr></table></center>"; ?>
<div>
<a href="?page=admin" class="forum_link"></a>
<a href="?page=admin" class="forum_link_text">Admin</a>
</div>
</body>
</html>