/* Decoded by unphp.net */ =1){echo myalertuser("warning","Essa revenda possui revendedore(s)!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}}${${"GLOBALS"}["jvjegmj"]}="select * from usuario where id_usuario = '".${${"GLOBALS"}["wenvzbslrtih"]}."' ";${${"GLOBALS"}["sthbbawnuu"]}=$conn->prepare(${${"GLOBALS"}["sthbbawnuu"]});$SQLusuario->execute();$mafgflafxi="email";if($SQLusuario->rowCount()==0){echo myalertuser("error","Usuário não encontrado!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}${"GLOBALS"}["tbcfwqhkfso"]="subrevenda";${${"GLOBALS"}["ficxejgjv"]}=$SQLusuario->fetch();if(${${"GLOBALS"}["ficxejgjv"]}["id_mestre"]<>$_SESSION["usuarioID"]){${"GLOBALS"}["ummempjw"]="diretorio";echo myalertuser("error","Erro, sem permissão!",${${"GLOBALS"}["ummempjw"]});exit;}if(strlen(${${"GLOBALS"}["rpopdoesggy"]})<5){echo myalertuser("warning","Informe mais de 5 caracteres!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}${"GLOBALS"}["lixtsyxi"]="SQLupdate";if(strlen(${${"GLOBALS"}["kwywqqqqec"]})<5){$lpxzxxvqzr="diretorio";echo myalertuser("warning","Informe mais de 5 caracteres na senha!",${$lpxzxxvqzr});exit;}if(filter_var(${${"GLOBALS"}["lwpwhsfoyap"]},FILTER_VALIDATE_EMAIL)){$giygoslb="email";$ynjupfjj="email";${$giygoslb}=${$ynjupfjj};}else{echo myalertuser("error","Email inválido!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}${${"GLOBALS"}["ocjsclqlh"]}="update usuario set subrevenda='".${${"GLOBALS"}["tbcfwqhkfso"]}."', valorrevenda='".${${"GLOBALS"}["yioqwc"]}."', nome='".${${"GLOBALS"}["rqrzmltf"]}."', senha='".${${"GLOBALS"}["kwywqqqqec"]}."', email='".${$mafgflafxi}."', celular='".${${"GLOBALS"}["tdqckrtifux"]}."', permitir_demo='".$_POST["acesso"]."' where id_usuario = '".${$hdplde}."'";${${"GLOBALS"}["ocjsclqlh"]}=$conn->prepare(${${"GLOBALS"}["lixtsyxi"]});$SQLupdate->execute();echo myalertuser("success","Dados alterados com sucesso!",${${"GLOBALS"}["qbgobyrzqn"]});exit;} ?>