Serverfarms » "; // $auth = TRUE; $menu_options = array('basic' => 'Basic'); if (!$_GET['opta']) { $_GET['opta'] = 'basic'; } $sep = ''; foreach ($menu_options as $option => $text) { if ($_GET['type'] == $option) { echo "
'; } echo ' | '; } unset($sep); echo ' Graphs: '; $graph_types = array( 'bits' => 'Bits', 'pkts' => 'Packets', 'conns' => 'Connections', ); foreach ($graph_types as $type => $descr) { echo "$type_sep"; if ($_GET['opte'] == $type) { echo " '; } $type_sep = ' | '; } print_optionbar_end(); echo "" . $tunnel['local_addr'] . " » " . $tunnel['peer_addr'] . " | "); echo ''.$vserver['classmap'].' | '; // echo("" . $rserver['farm_id'] . " | "); echo "".$vserver['serverstate'].' | '; echo '
'; $graph_type = 'vserver_'.$_GET['opte']; $graph_array['height'] = '100'; $graph_array['width'] = '215'; $graph_array['to'] = $config['time']['now']; $graph_array['id'] = $vserver['classmap_id']; $graph_array['type'] = $graph_type; include 'includes/print-graphrow.inc.php'; echo ' |