blob: 5e5e92d4caf7e96fd20da6cea7134cabd6452669 (
plain) (
tree)
|
|
<?php
include('./includes/head.php');
$page = strtok($_SERVER['REQUEST_URI'], '/');
if (!empty($page) && $page[0] >= '0' && $page[0] <= '9') {
include("./posts/$page.php");
} else if (!empty($page)) {
include("./pages/$page.php");
} else {
include('./includes/render_index.php');
}
include('./includes/foot.php');
|