$thread[lastreplydate]=vbdate($dateformat,$thread[lastpost]); $thread[lastreplytime]=vbdate($timeformat,$thread[lastpost]); $thread[gotonew]=''; $thread[newoldhot]='folder'; if (!$thread[open]) { $thread[newoldhot]='lock'.$thread[newoldhot]; }