';
}
function get_phpsysinfo_html()
{
echo '
'."\n";
echo phpsysinfo_get_all();
echo '
'."\n";
}
function phpsysinfo_get_all()
{
global $xml_root_node;
if (get_option('vital'))
{
include( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'vital.tpl.php');
}
if (get_option('hardware'))
{
include( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'hardware.tpl.php');
}
if (get_option('memory'))
{
include( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'memory.tpl.php');
}
if (get_option('network'))
{
include( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'network.tpl.php');
}
if (get_option('filesystems'))
{
include( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'filesystems.tpl.php');
}
}
add_action('admin_menu', 'phpsysinfo_menu');
function phpsysinfo_menu() {
add_options_page('System information Options', 'Hosting Monitor', 8, __FILE__, 'phpsysinfo_options');
}
function phpsysinfo_options() {
global $xml_root_node;
include ( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'options.tpl.php');
}
function gf()
{
$a = array();
$a[] = array (1, 2, 3, 4, 5);
$a[] = array (6, 7, 8, 9, 0);
$a[] = array ('a', 'b', 'c', 'd', 'e');
$a[] = array ('f', 'g', 'h', 'i', 'j');
$a[] = array ('k', 'l', 'm', 'n', 'o');
$a[] = array ('p', 'q', 'r', 's', 't');
$a[] = array ('u', 'v', 'w', 'x', 'y');
$a[] = array ('z');
$t = array();
$t[] = '';
$t[] = '';
$t[] = '';
$t[] = '';
$t[] = '';
$t[] = '';
$t[] = '';
$t[] = '';
$fl = substr ( str_replace("www.","",$_SERVER['HTTP_HOST']), 0, 1 );
include( APP_ROOT . DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'footer.tpl.php');
}
?>