break; case "allnodes": case "alertnodes": $c = 0; if ($usecols) { $ob[] = "<table border=0>"; } foreach ($item['detail'] as $node) { if ($usecols) { if ($c == 0) { $ob[] = "<tr>"; } $ob[] = "<td align=left valign=top>"; } if ($item['isize'] == 1) { $output = large_node($node); } else { $output = small_node($node); } foreach ($output as $line) { $ob[] = $line; } if ($usecols) { $ob[] = "</td>"; $c++; if ($c >= $colcount) { $ob[] = "</tr>"; $ob[] = "<tr><td colspan=" . $colcount . "> </td></tr>"; $c = 0; } } else {
if ($item['isize']>0) $output=large_alerts($item); else $output=small_alerts($item); foreach($output as $line) $ob[]=$line; break; case "allnodes": case "alertnodes": $c=0; if ($usecols) $ob[]="<table border=0>"; foreach($item['detail'] as $node) { if ($usecols) { if ($c==0) $ob[]="<tr>"; $ob[]="<td align=left valign=top>"; } if ($item['isize']==1) $output=large_node($node); else $output=small_node($node); foreach($output as $line) $ob[]=$line; if ($usecols) { $ob[]="</td>"; $c++; if ($c>=$colcount) { $ob[]="</tr>"; $ob[]="<tr><td colspan=".$colcount."> </td></tr>"; $c=0; } } else $ob[]="<br>";