if (!$thread['open'] && !$thread['sticky'] && $forum['forumid'] != X) { $thread[threadtitle] = '<span style="text-decoration: line-through;">' . $thread[threadtitle] . '</span>'; }