Location: PHPKode > projects > RabbitBB - Online Web Storage Project > mywebdrive/index.php
<?PHP
	if (!isset($rootpath))
		$rootpath="";
	include_once($rootpath . "common.php");

	$ttem = new Template();

	$ttem->set_filenames(array("header"=>$rootpath."html/header.tpl"));
	$ttem->set_filenames(array("body"=>$rootpath."html/body.tpl"));
	$ttem->set_filenames(array("footer"=>$rootpath."html/footer.tpl"));

	$ttem->assign_var("SITE_TITLE", "Rabbitbb.com - Your personal drive");
	$ttem->assign_var("APP_ROOT", $webappcfg['APPPATH']);

	@reset($rb);
	while (list($key, $var) = each($rb))
	{
		$ttem->assign_var($key, $var);
	}

	@reset($rb);
	while (list($key, $var) = each($rb))
	{
		$ttem->assign_var($key, $var);
	}
	
	$ttem->pparse("header");
	$ttem->pparse("body");
	$ttem->pparse("footer");
?>
Return current item: RabbitBB - Online Web Storage Project