Parse error: parse error, unexpected T_IF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/pragente/public_html/forum/sources/classes/bbcode/class_bbcode.php on line 360
só q tipo, a linha 360 é oq ele pede pra adicionar depois:
if(preg_match("#\[hide\](.+?)\[/hide\]#is", $t)) { $this->ipsclass->DB->query("SELECT author_id FROM forum_posts WHERE topic_id='".$topicid."'"); while($info = $this->ipsclass->DB->fetch_row()) { $allposters[] = $info['author_id']; } if($allposters != null) { if(in_array($this->ipsclass->member['id'], $allposters)) { $t = preg_replace( "#\[hide\](.+?)\[/hide\]#is", "<{HIDE2}> \\1", $t ); } else { $t = preg_replace( "#\[hide\](.+?)\[/hide\]#is", "<{HIDE1}>", $t ); } } else { $t = preg_replace( "#\[hide\](.+?)\[/hide\]#is", "<{HIDE1}>", $t ); } }
alguém pode me ajudar?