insanelyBlog/includes/main/page.php

16 lines
337 B
PHP
Raw Permalink Normal View History

<?php
if (!isset($seo[1])) redirect();
$page = new page($seo[1]);
if (theme_component('page'))
include theme_component('page');
else
if ($page->readable())
{
addTitle($page->data['pageTitle']);
echo "<h1>".htmlspecialchars($page->data['pageTitle'])."</h1>";
echo entry_show_all($page->data['pageContent']);
2016-06-18 10:07:35 +02:00
}