permission("enti") && isset($_POST["codice"])) { if (isset($_SESSION["ente-new-img"])) { unset($_SESSION["ente-new-img"]); if (!empty($_SESSION["exitisting-logo"])) { ?> $("#img-foto").attr('src','/documenti/enti/getInfo()["logo"] ?>'); $("#img-foto").show(); $("#no-foto").hide(); $("#img-foto").hide(); $("#no-foto").show(); $("#remove-foto").val('S'); $("#img-foto").hide(); $("#no-foto").show(); $("#rmv-foto").slideUp();