id); $nThread = intval($objPost->thread); $sTopic = substr($objPost->topic,0, 50); $sName = substr($objPost->name,0,25); $sDate = date_format($objPost->datestamp); $objPost = mysql_fetch_object($nTopics); //this is done here so comparisons can be made between current and next record. see below. if($nID==$id){ $sTopic = "$sTopic"; $sName = "$sName"; $sDate = "$sDate"; } else{ $sTopic = "$sTopic"; if(isset($$cLastIDVar) && $$cLastIDVar<$nID and $UseCookies==1){ $sTopic = $sTopic.""; } } $mod = $row % 2; if($mod==0){ echo ""; } else{ echo ""; } if($nThread!=$LastThread){ ?>thread; //this is where the comparison mentioned above is done. it determines the gif used: t or l. if($nNext==$nThread){ $gif = $forum_path."t.gif"; } else{ $gif = $forum_path."l.gif"; } } else{ $gif = $forum_path."l.gif"; } ?>
 
valign="MIDDLE" nowrap>  valign="MIDDLE" nowrap>