"._ERRPWD."
"; else echo "
"._CHGPWD."

"; echo "

" ."" ."" .""; echo ""; echo "" ."" ."" .""; echo "" .""; echo ""; echo ""; echo "
"._OLDPWD.""._NEWPWD1.""._NEWPWD2." 

"; } function savepwd($oldpwd,$pwd1,$pwd2) { global $prefix, $dbi,$id_cons_gen,$op; $aid=$_SESSION['aid']; if ($pwd1==$pwd2 and md5($oldpwd)==$_SESSION['pwd']) { $result = mysql_query("update ".$prefix."_authors set pwd='".md5($pwd1)."' WHERE aid='$aid' and pwd='".md5($oldpwd)."'", $dbi) || die("Errore di accesso ai dati!".mysql_error()); $_SESSION['pwd']=md5($pwd1); }else{ Header("Location: admin.php?op=$op&id_cons_gen=$id_cons_gen&mex=1");die(); } Header("Location: admin.php?id_cons_gen=$id_cons_gen"); } if ($oldpwd!='' and $pwd1!='') { savepwd($oldpwd,$pwd1,$pwd2); } else {//die($pwdold."!=\'\' and ".$pwd1."!=\'\'"); ele(); cambiopwd(); } echo""; include("footer.php"); ?>