<?php
define('Admin_USER',true);
session_start();
if(!isset($_SESSION['adm1n']) || $_SESSION['adm1n']['Nbr'] == ''){
  
       header("Location: ../misc/default.php");
       exit;
       
}
require_once("../../includes/php/defines.php");
require_once("../../includes/php/classes/mainClass.php");
require_once("../../includes/php/classes/adminUtility.php");

$admin = new adminUtility();
$info = $admin->getAdminInfo($_SESSION['adm1n']['Nbr']);
?>
<section>
	<div class="container-fluid">
		<div class="container">
			<div class="col-md-12 result-heading">
				<div class="rh-form">				
					<h1>Change Your Password</h1>&nbsp;					
					<form class="a-r-form" id="Admin_Form">
                                                                             <div id="Animation">
                                                                                 <div class="blockG" id="rotateG_01"></div>
                                                                                 <div class="blockG" id="rotateG_02"></div>
                                                                                 <div class="blockG" id="rotateG_03"></div>
                                                                                 <div class="blockG" id="rotateG_04"></div>
                                                                                 <div class="blockG" id="rotateG_05"></div>
                                                                                 <div class="blockG" id="rotateG_06"></div>
                                                                                 <div class="blockG" id="rotateG_07"></div>
                                                                                 <div class="blockG" id="rotateG_08"></div>                                            
                                                                             </div>
                                                                             <div id="Result"></div>                         
						<div class="form-group">
							<label>Current Password</label>
							<input type="text" class="col-md-12" name="Current_Password" id="Current_Password">
						</div>
						<div class="form-group">
							<label>New Password</label>
							<input type="text" class="col-md-12" name="New_Password" id="New_Password">
						</div>
						<div class="form-group">
							<label>New Password Confirm</label>
							<input type="text" class="col-md-12" name="New_Password_Confirm" id="New_Password_Confirm">
						</div>					
						<div class="form-group" id="Submit_Paragraph">
							<input type="button" value="submit" onclick="processForm('Change_Password');">
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</section>