22 include_once XOOPS_ROOT_PATH.
'/mainfile.php';
25 include(
"../../../include/cp_header.php");
28 if ( file_exists(
$GLOBALS[
'xoops']->path(
'/Frameworks/moduleclasses/moduleadmin/moduleadmin.php'))){
29 include_once
$GLOBALS[
'xoops']->path(
'/Frameworks/moduleclasses/moduleadmin/moduleadmin.php');
32 redirect_header(
"../../../admin.php", 5, _AM_MODULEADMIN_MISSING,
false);
56 include_once(XOOPS_ROOT_PATH.
"/class/template.php");
64 if (!@include_once(XOOPS_TRUST_PATH.
"/modules/".
$xoopsModule->getVar(
"dirname").
"/language/" .
$xoopsConfig[
'language'] .
"/admin.php")) {
65 include_once(XOOPS_TRUST_PATH.
"/modules/".
$xoopsModule->getVar(
"dirname").
"/language/english/admin.php");
67 if (!@include_once(XOOPS_TRUST_PATH.
"/modules/".
$xoopsModule->getVar(
"dirname").
"/language/" .
$xoopsConfig[
'language'] .
"/modinfo.php")) {
68 include_once(XOOPS_TRUST_PATH.
"/modules/".
$xoopsModule->getVar(
"dirname").
"/language/english/modinfo.php");
70 if (!@include_once(XOOPS_TRUST_PATH.
"/modules/".
$xoopsModule->getVar(
"dirname").
"/language/" .
$xoopsConfig[
'language'] .
"/main.php")) {
71 include_once(XOOPS_TRUST_PATH.
"/modules/".
$xoopsModule->getVar(
"dirname").
"/language/english/main.php");