$thread[newoldhot]='folder'; if (!$thread[open]) { $thread[newoldhot]='lock'.$thread[newoldhot]; $thread[title]="<s>".$thread['title']."</s>"; } else { $thread[title]=$thread[title]; }