blob: 16b051c6608ce0055a55465a72d08c5882d27368 (
plain) (
blame)
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
|
<?php
include('includes/db.php');
include('includes/functions.php');
include('includes/update.php');
ob_start();
$filename = 'pages/' . basename($_GET['area']) . '.php';
if (!file_exists($filename))
{
$filename = 'pages/comic.php';
}
include($filename);
$doc = ob_get_contents();
ob_end_clean();
include('includes/header.php');
echo($doc);
include('includes/footer.php');
?>
|