blob: 1167f1aa324638f288491b46454f2f2b3251a70d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?PHP
include('config/config.inc.php');
include('code/message.inc.php');
include('code/util.inc.php');
include('code/content.inc.php');
header('Content-type: text/html;charset=UTF-8');
// provisional
$template = 'default';
$title = $config['title'];
$style = $config['default_style'];
$page = $config['home'];
$template_data = join('', file('templates/' . $template));
echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => GetPage($page)));
?>
|