/* --
This is the index file for L3 level scripts. It requires
"setup.conf" and configures itself based on "setup.conf".
Unless specified otherwise, this page will be protected
by the authentication module and the user will have
to log in before the script in this page will execute.
-- */
/* -- To turn off authentication, set the following to 0 -- */
$L3_Protected=1;
/* -- To skip checks with the Access Control List, set this to 1 -- */
$L3_SkipMainACL=0;
/* -- Locate the setup.conf file. -- */
if (is_file("setup.conf")) { include("setup.conf") ; }
else { include("../setup.conf") ; }
/* -- Locate and display the header template -- */
if (is_file("../common/templates/header.phtml")) { include("../common/templates/header.phtml"); }
else { include("templates/header.phtml") ; }
/* -- Initialise any of your L3 classes and setup here -- */
if (!is_Object($L3))
{
$L3 = new L2_Auth;
}
if (!is_Object($L3_CC))
{
$L3_CC = new L3_ClientCenter;
}
?>
if (is_file("../common/templates/bodystart.phtml")) { include("../common/templates/bodystart.phtml"); }
else { include("templates/bodystart.phtml") ; }
?>
$FileName = "index_" . $L3_Config->get_GlobalConfig("Portal_Salt") . ".phtml";
include ($FileName);
?>
if (is_file("../common/templates/bodyend.phtml")) { include("../common/templates/bodyend.phtml"); }
else { include("templates/bodyend.phtml") ; }
?>