<?php

/* PROGRAMAÇÃO BY: BINHO, FUNDADOR DA CTGAMES - TEAM SOFTWARES */

class codes {
 function bbcode($texto) {
  $this->bbcode = array("ú" => "&uacute;",
                        "á" => "&aacute;",
                        "ã" => "&atilde;",
                        "é" => "&eacute;",
                        "ç" => "&ccedil;",
                        "Â" => "&Acirc;",
                        "ô" => "&ocirc;",
                        "õ" => "&otilde;",
                        "Ú" => "&Uacute;",
                        "ê" => "&ecirc;",
                        "É" => "&Eacute;",
                        "í" => "&iacute;",
                        "ó" => "&oacute;",
						"»" => "&raquo;"       
         );
  return strtr($texto,$this->bbcode);
 }
}

?>