<?php 
	Template::Show('login_temp_head.php'); 
	
	/* Add 4 closing div tags in the end of this page */
	
	/*       
		<!-- END Login Form -->
    </div>
    <!-- END Login Block -->
</div>
</div>
</div>

</div>

<!-- Login Container -->

<!-- END Login Container --> */

?>
        <form name="loginform" action="<?php echo url('/login');?>" method="post" class="form-horizontal form-bordered form-control-borderless">
            <div class="form-group">
                <div class="col-xs-12">
                    <div class="input-group">
                        <span class="input-group-addon"><i class="fa fa-user"></i></span>
                        <input type="text" name="email" class="form-control input-lg" placeholder="Email or Pilot ID">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12">
                    <div class="input-group">
                        <span class="input-group-addon"><i class="gi gi-asterisk"></i></span>
                        <input type="password" name="password" class="form-control input-lg" placeholder="Password">
                    </div>
                </div>
            </div>
            <div class="form-group form-actions">
                <div class="col-xs-4">
                    <label class="switch switch-primary" data-toggle="tooltip" title="Remember Me">
                        <input type="checkbox" name="remember">
                        <span></span>
                    </label>
                </div>
                <div class="col-xs-8 text-right">
                    <input type="hidden" name="redir" value="index.php/profile" />
					<input type="hidden" name="action" value="login" />
					<button type="submit" class="btn btn-md btn-default btn-alt" name="submit"><i class="gi gi-power"></i> Log In </button>
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12 text-center">
                    <a href="<?php echo url('login/forgotpassword'); ?>" id="link-reminder-login" class="text-muted"><small>Forgot password?</small></a> -
                    <a href="<?php echo SITE_URL?>/index.php/registration" id="link-register-login" class="text-muted"><small>Register</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>
        
        
        
        <!-- END Login Form -->
    </div>
    <!-- END Login Block -->
</div>
</div>
</div>

</div>

<!-- Login Container -->

<!-- END Login Container --> 