diff options
author | neoraider <devnull@localhost> | 2006-01-06 14:10:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-01-06 14:10:03 +0100 |
commit | a89ac4fda6c7cab6cace4078491c29f215213ab2 (patch) | |
tree | 9f53ea434c2ffe1cb625aec798ff13f873731e7d /index.php | |
download | neon-a89ac4fda6c7cab6cace4078491c29f215213ab2.tar neon-a89ac4fda6c7cab6cace4078491c29f215213ab2.zip |
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..b6a0a66 --- /dev/null +++ b/index.php @@ -0,0 +1,17 @@ +<?PHP + include('config/config.inc.php'); + + include('code/message.inc.php'); + include('code/subst.inc.php'); + + header('Content-type: text/html;charset=UTF-8'); + + // provisional + $template = 'default'; + $title = $config['title']; + $style = $config['default_style']; + + $template_data = join('', file('templates/' . $template)); + + echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => 'Inhalt')); +?> |