".$hrStorageDescr." |
";
if($capacity < 1073741824){
$usedMBytes = round($usedBytes / pow(2,20), 2);
$freeMBytes = round($freeBytes / pow(2,20), 2);
$capacityMBytes = round($capacity / pow(2,20), 2);
echo "
| Used Space: |
".number_format($usedBytes)." Bytes |
".$usedMBytes." MB |
".$usedBytesPer."% |
| Free Space: |
".number_format($freeBytes)." Bytes |
".$freeMBytes." MB |
".$freeBytesPer."% |
| Capacity: |
".number_format($capacity)." Bytes |
".$capacityMBytes." MB |
|
";
} else {
$usedGBytes = round($usedBytes / pow(2,30), 2);
$freeGBytes = round($freeBytes / pow(2,30), 2);
$capacityGBytes = round($capacity / pow(2,30), 2);
echo "
| Used Space: |
".number_format($usedBytes)." Bytes |
".$usedGBytes." GB |
".$usedBytesPer."% |
| Free Space: |
".number_format($freeBytes)." Bytes |
".$freeGBytes." GB |
".$freeBytesPer."% |
| Capacity: |
".number_format($capacity)." Bytes |
".$capacityGBytes." GB |
|
";
}
echo "
| 
|