<?php
require_once "../init_public.php";
require_once GYRO_ROOT."/model/PublicSEOPage.php";

$page = new PublicSEOPage;
$page->init($_GET);
$page->siteHead();

$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();
?>
