// Online/Offline user status $show_online_status = TRUE; if ($show_online_status) { $search_profile[] .= "@(.*?)@i"; $replace_profile[] .= "$1 ".$locale['offline'] : "green'>".$locale['online']).""; }