Location: PHPKode > scripts > Rolodex > rolodex/admin/admin_header.php
<?php
include("../../../mainfile.php");

include_once(SYS_ROOT_PATH."/class/sysmodule.php");
include_once(SYS_ROOT_PATH.'/include/functions.php');
include(SYS_ROOT_PATH."/include/cp_functions.php");

if ( $sysUser ) {
	$sysModule = SysModule::getByDirname("rolodex");
	if ( !$sysUser->isAdmin($sysModule->mid()) ) { 
		redirect_header(SYS_URL."/",3,_NOPERM);
		exit();
	}
} else {
	redirect_header(SYS_URL."/",3,_NOPERM);
	exit();
}

if ( file_exists("../language/".$sysConfig['language']."/global.php") ) {
	include("../language/".$sysConfig['language']."/global.php");
} else {
	include("../language/english/global.php");
}
?>
Return current item: Rolodex