Subversion Repositories ALCASAR

Rev

Rev 1750 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1750 Rev 2296
Line 61... Line 61...
61
	$textdir = direction();
61
	$textdir = direction();
62
	$scale_factor = 2;
62
	$scale_factor = 2;
63
	$strLoadbar = "";
63
	$strLoadbar = "";
64
	$uptime = "";
64
	$uptime = "";
65
	$date = exec ("/bin/date");
65
	$date = exec ("/bin/date");
66
	$cert_ca_expiration_date = exec ("sudo /usr/bin/openssl x509 -noout -in /etc/pki/tls/certs/alcasar.crt -dates|grep After|cut -d\"=\" -f2");
66
	$cert_ca_expiration_date = exec ("/usr/bin/openssl x509 -noout -in /etc/pki/tls/certs/alcasar.crt -dates|grep After|cut -d\"=\" -f2");
67
	if( $XPath->match( "/phpsysinfo/Vitals/CPULoad" ) )
67
	if( $XPath->match( "/phpsysinfo/Vitals/CPULoad" ) )
68
		$strLoadbar = "<br>" . create_bargraph( $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ), 100, $scale_factor ) . "&nbsp;" . $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ) . "%";
68
		$strLoadbar = "<br>" . create_bargraph( $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ), 100, $scale_factor ) . "&nbsp;" . $XPath->getData( "/phpsysinfo/Vitals/CPULoad" ) . "%";
69
	
69
	
70
	$_text = "<table border=\"0\" width=\"100%\" align=\"center\">\n"
70
	$_text = "<table border=\"0\" width=\"100%\" align=\"center\">\n"
71
		. "  <tr>\n"
71
		. "  <tr>\n"