예제 #1
0
<?php

require 'Header.php';
if ($_SESSION["username"]) {
    echo "<meta http-equiv=\"refresh\" content=\"0;url=Browse.php\">";
}
?>
<html>
    <head>
        <title>FORGOT PASSWORD</title>
    </head>
    <body>
<?php 
if (isset($_POST['submit'])) {
    forgot_pass($_POST['email']);
}
?>
<div class='sform' >
            <form method="POST" action="" enctype="multipart/form-data">
                <br/>Registered Email:
                <input type='text' name='email' class="tb"  maxlength='100'/><br/>
                <br/> <br/>
                <sbutton>
                <input type="image" src="images/Submit.png" name="submit" value="Submit"/>
                </sbutton>
                </form>
                
            
        </div>
        
    </body>
예제 #2
0
파일: index.php 프로젝트: EZDM/omeyocan
     // Check if the AuthMod wants us to redirect
     if ($auth_register_link != "") {
         // Redirect
         header("location: {$auth_register_link}");
     } else {
         include_once "./sources/register.php";
         register_user();
         //$print->dump_buffer();
     }
     exit;
     break;
     // awe, how sad, the user forgot their little password
 // awe, how sad, the user forgot their little password
 case "forgotmoipass":
     include_once "./sources/forgotpass.php";
     forgot_pass();
     $print->dump_buffer();
     exit;
     break;
     // Dispay a small information popup window that contains help info
 // Dispay a small information popup window that contains help info
 case "help":
     $_GET['help_file'] = "./help/main";
     include_once "./help/mini.php";
     exit;
     break;
     // Perform a user action (ignore, ops, view ip, kick, mute)
 // Perform a user action (ignore, ops, view ip, kick, mute)
 case "usr_action":
     include_once "./sources/usr_action_box.php";
     usr_action_window();