session_start();
ob_start();
$path="./";
include_once($path."resources/gclass.php");
include_once($path."resources/common.php");
include_once($path."settings.php");
include_once($path."resources/class.database.php");
include_once($path."settings.php");
$page="home";
if(isset($_GET["page"]))
{
$page=$_GET["page"];
}
include_once($path."resources/class.pages.php");
$obj= new pages();
$pg_obj= new pages();
$db=new Database();
$pageId=0;
include_once($path."resources/class.settings.php");
$set_obj= new settings();
if(isset($_GET["page"])&& isset($_GET["id"])) $pageId=$_GET["id"];
mysql_connect($set['db_host'],$set['db_user'],$set['db_pass']);
?>
Welcome to Rift Energy
include "includes/".$page.".php";?>