<?php 
/**
 * iCrew v4 Premium - Virtual Airline Crew Center
 * Copyright (c) 2017 iCrewSystems
 * 
 * This CrewCenter & and it's Modules (which are distinguished, and limited to unless specified)
 * are protected by copyright under Indian Copyright Act, 1957, with the 2012 amendments
 * No part of the website design or layout may be reproduced or transmitted in any form or by any other 
 * means electronic or mechanical to include photocopying, recording, reproducing, or electronic storage.
 * Any such act represents a copyright violation and theft of intellectual property owned by iCrewSystems. 
 * 
 * @author: Leonard Selvaraja
 * @copyright: Copyright (c) 2017, iCrewSystems
 * @link http://www.icrewsystems.com
 * @service name: iCrewSystems Virtual Airline Premium Services (with additions) 
 * Caution : NO SUPPORT WILL BE PROVIDED IF ANY MODULE / TEMPLATE IS FOUND TO BE TAMPERED WITH.
 * 
 */
?>
<!-- Login Full Background -->
	<?php
	$ref_pics = file_get_contents('http://icrew.ariaairways.org/iCrew/images/backgrounds.txt'); //Take the contents from the file to the variable
		$login_form_pictures = explode(',',$ref_pics); //Split it by ','
	?>
	<img src="<?php echo $login_form_pictures[array_rand($login_form_pictures)]; ?>" alt="Login Full Background" class="full-bg animation-pulseSlow">
<!-- END Login Full Background -->

<!-- Login Container -->
<div id="login-container" class="animation-fadeIn">
   <!-- Login Title -->
    <div class="login-title text-center">
		        <h1><img src="http://icrew.ariaairways.org/iCrew/images/ics_logo.png" style="height: 80%; width: 80%;"><br>
       			</h1>
    		</div>
    <!-- END Login Title -->
    <div class="block push-bit">
        
		<form class="form-horizontal form-bordered form-control-borderless" action="<?php echo url('/registration/intial');?>" method="post">
    		<div class="form-group">
        		<div class="col-xs-12">
        			<p class="alert alert-success">
        				Welcome to Aria Airways Registration Portal. To continue with your registration process, please verify your e-mail first.
        			</p>
            		<div class="input-group">
                		<span class="input-group-addon"><i class="gi gi-envelope"></i></span>
                		<input type="text" name="email" class="form-control input-lg" placeholder="Email">
            		</div>
        		</div>
    		</div>
    		<div class="form-group form-actions">
        		<div class="col-xs-12 text-right">
            		<input type="hidden" name="action" value="launchapplication" />
   					<input class="btn btn-sm btn-primary" type="submit" name="submit" value="Launch Application" />
        		</div>
    		</div>
    		<div class="form-group">
        		<div class="col-xs-12 text-center">
            		<small>Already have an account?</small> <a href="<?php echo url('/login'); ?>" id="link-reminder"><small>Login</small></a>
        		</div>
        		<div class="col-xs-12 text-center">
                    <small><?php echo SITE_NAME?> &copy; <?php echo date("Y"); ?>. All Rights Reserved.</small>
                </div>
    		</div>
		</form>
	</div>
</div>