diff --git a/index.php b/index.php index 6d5ebad3..e351bfa4 100755 --- a/index.php +++ b/index.php @@ -1,51 +1,3 @@ -<<<<<<< HEAD - - - - - -
-
- - Zöff -
- -
-
-
- -
-
- - Settings - Skip -
-
-
-
- -
-
-
-
-
- - - - - - - - - - - -======= assign('CHANNEL_NAME', htmlspecialchars(urldecode($_GET['q']))); + } + else { + // This is not a channel + header("Location: index.php"); + exit; + } + + // Display the template $template->display('chan.tpl'); -} ->>>>>>> Fixed template for the frontpage +} \ No newline at end of file diff --git a/static/css/settings.png b/static/css/gfx/settings.png similarity index 100% rename from static/css/settings.png rename to static/css/gfx/settings.png diff --git a/static/css/skip.png b/static/css/gfx/skip.png similarity index 100% rename from static/css/skip.png rename to static/css/gfx/skip.png diff --git a/templates/chan.tpl b/templates/chan.tpl index 023e3350..07ccd90c 100755 --- a/templates/chan.tpl +++ b/templates/chan.tpl @@ -5,50 +5,28 @@
-
Zöff
-
- - - ";} ?> - -
- -
-
-
Active Channels
- ".htmlspecialchars(urldecode($channel))."";} ?> + Zöff +
+ [[+$CHANNEL_NAME]]
-
-
-Zöff -
- -
- -
-
-
-
-
- - Settings - Skip -
-
-
-
+ +
+
+
+
+
+ + Settings + Skip +
+
+
+
+
+
- - - - - - - - +[[+include file="footer.tpl"]] diff --git a/templates/footer.tpl b/templates/footer.tpl new file mode 100755 index 00000000..f31356e8 --- /dev/null +++ b/templates/footer.tpl @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/templates/index.tpl b/templates/index.tpl index a6db354b..c0fac65c 100755 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -61,6 +61,7 @@
+<<<<<<< HEAD @@ -72,5 +73,8 @@ >>>>>>> Fixed template for the frontpage +======= +[[+include file="footer.tpl"]] +>>>>>>> Fixed stuff