function getUsuarioRegistrado($post, $urlHome=NULL, $urlPerfil=NULL, $urlInvitado=NULL){
//echo "ACA";
$link=$this->conBD();
if (isset($_COOKIE['rem'])){
$dat=explode('|', $_COOKIE['rem']);
$query=sprintf("SELECT DECODE('%s','%s'), DECODE('%s','%s')", html_entity_decode($dat[0])...