break; case "allgroups": case "alertgroups": $c = 0; if ($usecols) { $ob[] = "<table border=0>"; } foreach ($item['detail'] as $group) { if ($usecols) { if ($c == 0) { $ob[] = "<tr>"; } $ob[] = "<td align=left valign=top>"; } if ($item['isize'] == 1) { $output = large_group($group); } else { $output = small_group($group); } 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 (($usecols) && ($c<3)) $ob[]="</tr>"; if ($usecols) $ob[]="</table>"; break; case "allgroups": case "alertgroups": $c=0; if ($usecols) $ob[]="<table border=0>"; foreach($item['detail'] as $group) { if ($usecols) { if ($c==0) $ob[]="<tr>"; $ob[]="<td align=left valign=top>"; } if ($item['isize']==1) $output=large_group($group); else $output=small_group($group); 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>";