Создание страниц при помощи SSI.php
<?php
//Load SSI
require(dirname(__FILE__) . '/SSI.php');
//Page title
$context['page_title'] = 'Заголовок страницы';
$context['page_title_html_safe'] = 'Заголовок страницы';
// Set up linktree
$context['linktree'][] = array(
'url' => $_SERVER['PHP_SELF'],
'name' => 'пункт меню linktree ',
);
// Initialize the template
template_init();
// Load headers
template_header();
// Load template function
template_main();
// Load footer
template_footer();
// Set up the main template
function template_main()
{
echo 'Привет МИР!!!!!!!!!!!';
}
?>