Отсутствует стартовая страница... Для добавления и редактирования страниц зайдите в Админ Центр"); if (isset($_GET ['id'])) { $id = $_GET ['id']; } else { $id = $index; } if (file_exists ("content/" . $id . ".php")) { include ("content/" . $id . ".php"); } else { include ('404.html'); exit; } if (file_exists ("templates/" . $curr_tmpl . "/index.php")) { $template_page = file_get_contents("templates/" . $curr_tmpl . "/index.php"); } else { include ("error.html"); die (""); } include ("menu.php"); $overall_output = str_replace ("%TITLE%", $page_title, $template_page); $overall_output = str_replace ("%DESC%", $page_descr, $overall_output); $overall_output = str_replace ("%KEYWORDS%", $page_keyws, $overall_output); $overall_output = str_replace ("%TEMPLATE%", $curr_tmpl, $overall_output); $overall_output = str_replace ("%MENU%", $menu_output, $overall_output); $overall_output = str_replace ("%PATH%", $path, $overall_output); $overall_output = str_replace ("%CONTENT%", $content, $overall_output); $overall_output = str_replace ("%SAPE%", $sape->return_links($n), $overall_output); $overall_output = str_replace ("%MAINLINK%", $echo->build_links(), $overall_output); $overall_output = str_replace ("%LinkFeed%", $linkfeed->return_links(), $overall_output); echo $overall_output; ?>