code
could you send me the zip or post the table code down here?
I did some coding myself. Probably not the most effective code for osticket (didn't read all the classes available, so did some extra work probably), but it's working.
Collspan is 8 for me, for others probably any other number:
<tr><td colspan="8">
<?
$query="SELECT staff_name, response, created FROM ost_ticket_response WHERE ticket_id='$row' ORDER BY created DESC LIMIT 0,1";
$result = db_query($query);
$ar=mysql_fetch_array($result);
$query2="SELECT message, name, ost_ticket_message.created AS created_ticket FROM ost_ticket_message, ost_ticket WHERE ost_ticket_message.ticket_id='$row' AND ost_ticket_message.ticket_id=ost_ticket.ticket_id ORDER BY ost_ticket_message.created DESC LIMIT 0,1";
$result2 = db_query($query2);
$ar2=mysql_fetch_array($result2);
$query3="SELECT note, created, source FROM ost_ticket_note WHERE ticket_id='$row' ORDER BY created DESC LIMIT 0,1";
$result3 = db_query($query3);
$ar3=mysql_fetch_array($result3);
if ($ar>=$ar2 && $ar>=$ar3){?>
<p>Reply: <?echo $ar;?>, <?=Format:($ar)?><br /><?
echo $ar;?></p><?
} else if ($ar2>=$ar && $ar2>=$ar3){?>
<p>Message: <b style="color"><?echo $ar2?></b>, <?=Format:($ar2)?><br /><?
echo $ar2;?></p><?
} else if ($ar3>=$ar && $ar3>=$ar2){?>
<p>Internal note: <?echo $ar3?>, <?=Format:($ar3)?><br /><?
echo $ar3;?></p><?
}?>
</td></tr>