if (!$ext) { $ext = "shtml"; } ob_start(); $id = $_GET[id]; if(!$id) { include("content/news.shtml"); } elseif(!@include("content/$id.$ext")) { include("content/error_404.shtml"); } $contents = ob_get_contents(); ob_end_clean(); if (!$title) { $title = "News"; } function mainarea_start($mainarea_subject) { ?>
|