/**
* Main.php
*
* This is an example of the main page of a website. Here
* users will be able to login. However, like on most sites
* the login form doesn't just have to be on the main page,
* but re-appear on subsequent pages, depending on whether
* the user has logged in or not.
*
* Written by: Jpmaster77 a.k.a. The Grandmaster of C++ (GMC)
* Last Updated: August 26, 2004
*/
include("include/session.php");
?>
/**
* Forgot Password form has been submitted and no errors
* were found with the form (the username is in the database)
*/
if(isset($_SESSION['forgotpass'])){
/**
* New password was generated for user and sent to user's
* email address.
*/
if($_SESSION['forgotpass']){
echo "
Nuova Password Generata
";
echo "
La tua nuova password è stata generata "
."e spedita all'email indicata nel tuo profilo. "
."Main.
";
}
/**
* Email could not be sent, therefore password was not
* edited in the database.
*/
else{
echo "
Generazione Nuova Password Fallita
";
echo "
Si è verificato un errore nella spedizione "
."dell'email con la nuova password, la tua password non è cambiata. "
."Torna alla pagina di accesso.
";
}
unset($_SESSION['forgotpass']);
}
else{
/**
* Forgot password form is displayed, if error found
* it is displayed.
*/
?>
Hai dimenticato la tua password?
Una nuova password verrà generata e spedita all'indirizzo email indicato nel tuo profilo, devi solo inserire il tuo Nome Utente.