"); } echo('' . $type_text[$type] .''); if ($_GET['opta'] == $type) { echo(""); } $sep = ' | '; } unset ($sep); echo('
'); if ($_GET['optb'] == "graphs") { echo(''); } echo(' Graphs'); if ($_GET['optb'] == "graphs") { echo(''); } echo(' | '); if ($_GET['optb'] == "nographs") { echo(''); } echo(' No Graphs'); if ($_GET['optb'] == "nographs") { echo(''); } echo('
'); print_optionbar_end(); switch ($_GET['opta']) { case 'processor': case 'mempool': case 'storage': case 'temperature': case 'humidity': case 'voltage': case 'fanspeed': case 'frequency': case 'current': case 'power': include('pages/health/'.$_GET['opta'].'.inc.php'); break; default: include('pages/health/temperature.inc.php'); # FIXME perhaps an error message instead? break; } ?>