Exemple #1
0
        utilities_view_logfile();
        include_once "./include/bottom_footer.php";
        break;
    case 'view_user_log':
        include_once "./include/top_header.php";
        utilities_view_user_log();
        include_once "./include/bottom_footer.php";
        break;
    case 'clear_user_log':
        include_once "./include/top_header.php";
        utilities_clear_user_log();
        utilities_view_user_log();
        include_once "./include/bottom_footer.php";
        break;
    case 'view_tech':
        $php_info = utilities_php_modules();
        include_once "./include/top_header.php";
        utilities_view_tech($php_info);
        include_once "./include/bottom_footer.php";
        break;
    default:
        if (!api_plugin_hook_function('utilities_action', $_REQUEST['action'])) {
            include_once './include/top_header.php';
            utilities();
            include_once './include/bottom_footer.php';
        }
        break;
}
/* -----------------------
    Utilities Functions
   ----------------------- */
Exemple #2
0
function display_php() {
	global $colors, $config;

	$php_info = utilities_php_modules();

	html_start_box("<strong>" . __("PHP Module Information") . "</strong>", "100", $colors["header"], "3", "center", "");
	print "<tr>\n";
	print "<td class='textAreaNotes left'>" . $php_info . "</td>\n";
	print "</tr>\n";

	html_end_box();
}