Memory 
          Processor 
          Storage 
 ');
}
foreach (array('fanspeed','humidity','temperature') as $item)
{
  if ($menu_sensors[$item])
  {
    echo ('  '.ucfirst($item).' ');
    unset($menu_sensors[$item]);$sep++;
  }
}
if ($sep)
{
  echo('
  ');
  $sep = 0;
}
foreach (array('current','frequency','power','voltage') as $item)
{
  if ($menu_sensors[$item])
  {
    echo ('  '.ucfirst($item).' ');
    unset($menu_sensors[$item]);$sep++;
  }
}
# Show remaining/custom sensor types if there are any in the database
#if ($menu_sensors && $sep)
#{
#  echo('
  ');
#  $sep = 0;
#}
#foreach (array_keys($menu_sensors) as $item)
#{
#  echo ('  '.ucfirst($item).' ');
#  unset($menu_sensors[$item]);$sep++;
#}
?>
         
         |