| ";
echo '         '.generate_ap_link($ap, " $text ");
echo '';
echo "$break".$ap['mac_addr'].'
 '.$ap['type'].' - channel '.$ap['channel'];
echo "
 txpow $ap[txpow]";
echo '';
echo '
 | ';
echo ' | ';
$ap['graph_type'] = 'accesspoints_numasoclients';
echo generate_ap_link($ap, "  ");
echo " \n";
$ap['graph_type'] = 'accesspoints_radioutil';
echo generate_ap_link($ap, "
  ");
echo " \n";
$ap['graph_type'] = 'accesspoints_interference';
echo generate_ap_link($ap, "
  ");
echo " \n";
echo '
 | ';
echo " ';
if ($vars['tab'] == 'accesspoint') {
    $graph_type = 'accesspoints_numasoclients';
    echo " ".format_bi($ap[numasoclients]).' Clients ';
echo "
  ".format_bi($ap[radioutil]).' % busy ';
echo "
  ".format_bi($ap[interference]).' interference index ';
echo '
 | | ";
    echo " Associated Clients";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
    $graph_type = 'accesspoints_interference';
    echo "| ";
    echo " Interference";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
    $graph_type = 'accesspoints_channel';
    echo "| ";
    echo " Channel";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
    $graph_type = 'accesspoints_txpow';
    echo "| ";
    echo " Transmit Power";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
    $graph_type = 'accesspoints_radioutil';
    echo "| ";
    echo " Radio Utilization";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
    $graph_type = 'accesspoints_nummonclients';
    echo "| ";
    echo " Monitored Clients";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
    $graph_type = 'accesspoints_nummonbssid';
    echo "| ";
    echo " Number of monitored BSSIDs";
    include 'includes/print-accesspoint-graphs.inc.php';
    echo ' | 
';
}//end if