<?PHP

/* ====================
Seditio - Website engine
Copyrigh Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=page.php
Version=101
Updated=2006-mar-15
Type=Core
Author=Neocrome
Description=Pages loader
[END_SED]
==================== */

define('SED_CODE', TRUE);
define('SED_PAGE', TRUE);
$location = 'Pages';
$z = 'page';

require('system/functions.php');
require('system/templates.php');
require('datas/config.php');
require('system/common.php');

sed_dieifdisabled($cfg['disable_page']);

switch($m)
	{
	case 'add':
	require('system/core/page/page.add.inc.php');
	break;

	case 'edit':
	require('system/core/page/page.edit.inc.php');
	break;

	default:
	require('system/core/page/page.inc.php');
	break;
	}

?>
