$row->class = 'm_r';
$row->id = 'mr'.$t;
-
+ $col = 0;
if (sizeof($index_order)){
foreach ($index_order as $index_order_part) {
switch ($index_order_part) {
"<input type=checkbox name=\"msg[$t]\" value=\"".$msg['ID']."\"$checked>",
'center',
$hlt_color );
+ ++$col;
break;
case 2: /* from */
echo html_tag( 'td',
$fontstr_end . $flag_end . $bold_end . $italic_end,
'left',
$hlt_color );
+ ++$col;
break;
case 3: /* date */
echo html_tag( 'td',
'center',
$hlt_color,
'nowrap' );
+ ++$col;
break;
case 4: /* subject */
$td_str = $bold;
}
$td_str .= ">$flag$subject$flag_end</a>$bold_end";
echo html_tag( 'td', $td_str, 'left', $hlt_color );
+ ++$col;
break;
case 5: /* flags */
$stuff = false;
'center',
$hlt_color,
'nowrap' );
+ ++$col;
break;
case 6: /* size */
$fontstr_end . $bold_end,
'right',
$hlt_color );
+ ++$col;
break;
}
}
}
- echo "</tr>\n";
+ echo '</tr>'."\n".'<tr><td colspan="'.$col.'" BGCOLOR="'.
+ $color[3].'"></td></tr>'."\n";
}
function getThreadMessages($imapConnection, $start_msg, $show_num, $num_msgs) {