<?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");

?>
<section>
	<div class="container-fluid">
		<div class="container">
			<div class="col-md-12 result-heading">
				<div class="rh-form">				
					<h1>Add New Administrator</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>First Name</label>
							<input type="text" class="col-md-12" name="First_Name" id="First_Name" value="">
						</div>
						<div class="form-group">
							<label>Last Name</label>
							<input type="text" class="col-md-12" name="Last_Name" id="Last_Name" value="">
						</div>
						<div class="form-group">
							<label>Title</label>
							<input type="text" class="col-md-12" name="Title" id="Title" value="">
						</div>
						<div class="form-group">
							<label>Email Address</label>
							<input type="text" class="col-md-12" name="Email" id="Email" value="">
						</div>                                                                             						
						<div class="form-group">
							<label>Password</label>
							<input type="text" class="col-md-12" name="Password" id="Password" value="">
						</div>   
						<div class="form-group">
							<label>Permission Level</label>
							<select  class="col-md-12" id="Permission" name="Permission">
								<option value="1" selected="selected">Master Administrator</option>
                                                          <option value="2" >General Administrator</option>
							</select>
						</div>                                                                             
						<div class="form-group" id="Submit_Paragraph">
							<input type="button" value="submit" onclick="processForm('Add_Admin','');">
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</section>