firstrow(); if(isset($thread_list)){ $thread_list->firstrow(); } echo $msg_list->numrows(); echo "-->\n"; while (is_array($message)){ if(($x%2)==0){ $bgcolor=$TableBodyColor1; $fcolor=$TableBodyFontColor1; } else{ $bgcolor=$TableBodyColor2; $fcolor=$TableBodyFontColor2; } $t_id=$message["id"]; $t_thread=$message["thread"]; $t_subject=chop($message["subject"]); $t_author=chop($message["author"]); $t_datestamp = date_format($message["datestamp"]); if( $$phcollapse != 0 && !$read ){ $t_latest=date_format($thread_list->field("latest", $x)); $t_maxid=$thread_list->field("maxid"); } $message = $msg_list->getrow(); if($t_thread!=$t_id){ $img = ' '; if(is_array($message)){ if($t_thread==$message["thread"]){ $img=' '; } } } else{ $img=""; $loc=0; } if($id==$t_id && $read=true){ $t_subject = "$t_subject"; $t_author = "$t_author"; $t_datestamp = "$t_datestamp"; } else{ $t_subject="$t_subject"; } $color=bgcolor($bgcolor); echo "\n"; echo ' '."\n"; echo ' '."\n"; if( $$phcollapse != 0 && !$read ){ echo ' \n"; $x++; $loc++; } // end while ?>
>  width="150">  width="100"> width="100">
'.$img.' '.$t_subject." "; if( $$phcollapse != 0 && !$read){ $t_count=$thread_list->field("tcount"); $thread_list->getrow(); echo "($t_count) "; } if($old_message<$t_id && $UseCookies){ ?>\n"; echo ' '.$t_author.' '.$t_datestamp.' '.$t_latest.' '; if($old_message<$t_maxid && $UseCookies){ ?>\n"; } echo "