<?php

require_once "../init_public.php";
require_once DFN_ROOT."/user/public/BlogPage.php";
$page = new PublicPage;
$page->init($_GET);
$page->siteHead();
$db = new myDB;
$sql = "SELECT sec_id FROM Sections, Content WHERE cnt_section=sec_path AND cnt_id='$page->id'";
$db->query($sql);
$db->next_record();
$id = $db->f('sec_id');

include_once SITE_ROOT . "/cmgr/layout_". $id .".php";

$page->siteFoot();
?>
