<div class="content-header">
	<div class="header-section">
		<h1>
			<i class="gi gi-notes_2"></i>Profile Activation<br><small>Membership Department | <?php echo SITE_NAME; ?> &copy; <?php echo date("Y"); ?></small>
		</h1>
	</div>
</div>
<div class="row">
	
<div class="col-md-12">
	<div class="block">
		<div class="block-title">
			<h2>Pilot Profile <strong>Activation</strong></h2>
		</div>
		
		<h3>FAQ's about activating your profile</h3>
		<div id="faq1" class="panel-group">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h4 class="panel-title"><i class="fa fa-angle-right"></i> <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#faq1" href="#faq1_q1" aria-expanded="false">I have not received a key in my email</a></h4>
				</div>
				<div id="faq1_q1" class="panel-collapse collapse" aria-expanded="false" style="height: 0px;">
					<div class="panel-body">
						<p>
							You will only get your authentication key if you have requested it! To file a request, press the "Request Key" button on the form below! Please make sure you also check the spam folders of your email.
						</p>
					</div>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">
					<h4 class="panel-title"><i class="fa fa-angle-right"></i> <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#faq1" href="#faq2" aria-expanded="false">I dont have access to the email ID mentioned here</a></h4>
				</div>
				<div id="faq2" class="panel-collapse collapse" aria-expanded="false" style="height: 0px;">
					<div class="panel-body">
						<p>
							It is important that all Crew members of <?php echo SITE_NAME; ?> have registered with their active email ID, please change your current email ID to your active one by submitting a ticket to us, to proceed click <a href="https://icrew.skydream-airlines.com/index.php/ticketsystem">here</a>
						</p>
					</div>
				</div>
			</div>
			<div class="panel panel-default">
				<div class="panel-heading">
					<h4 class="panel-title"><i class="fa fa-angle-right"></i> <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#faq1" href="#faq3" aria-expanded="false">How long will this activate my profile for?</a></h4>
				</div>
				<div id="faq3" class="panel-collapse collapse" aria-expanded="false" style="height: 0px;">
					<div class="panel-body">
						<p>
							Your pilot profile will be kept active for a period of 48 hours from the time of being activated, failing to file a PIREP within the 48 hour window will result in your account being marked inactive again.
						</p>
					</div>
				</div>
			</div>
		</div>
		
		<form action="<?php echo url('/activate/verify'); ?>" method="GET" class="form-horizontal form-bordered">
			<div class="form-group">
				<div class="col-md-12">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-envelope"></i></span>
						<input type="text" id="email" name="email" class="form-control" value="<?php echo Auth::$userinfo->email; ?>" disabled>
					</div>
				</div>
				<div class="col-md-12">
					<div class="input-group">
						<span class="input-group-addon"><i class="fa fa-user"></i></span>
						<input type="text" id="auth_key" name="auth_key" class="form-control" placeholder="Your Authentication key">
					</div>
				</div>
			</div>
			<div class="form-group form-actions">
				<div class="col-xs-12">
					<button type="submit" class="btn btn-sm btn-success">Verify & Activate</button>
					<a class="btn btn-sm btn-warning" href="<?php echo url('activate/send_auth_key'); ?>">Request Key</a>
				</div>
			</div>
		</form>
	</div>
</div>
</div>
