<?php $__env->startSection('content'); ?>

	<div style="min-height:1000px;">&nbsp;</div>
    
    <?php $__env->startSection('scripts'); ?>
  	<script>
		$(document).ready(function(){	
			$('#offer-close').modal({
		  		keyboard: false,
		  		backdrop: false
			});
		});
    </script>
    <?php $__env->stopSection(); ?>
    <?php  
	$url = Session::get('url.intended');
	if(!empty($url))
	{
		$url = explode('/', $url);
		$url = end($url);
		$url = preg_replace("/\?type=\d+/", "", $url);
	}
	?>
    <?php if($url == 'offerings'): ?>
        <?php $__env->startSection('sub_menu'); ?>
            <div class="wrap-second-nav ">
                <div class="second-nav">
                    <?php foreach ($types as $type): ?>
                    <a href="<?php echo URL::to('offerings'); ?>?type=<?php echo $type->type_id; ?>"<?php echo (Input::get('type') == $type->type_id)?' class="active"':''; ?>><?php echo $type->type_name; ?></a>
                    <?php endforeach; ?>
                </div>
            </div>
        <?php $__env->stopSection(); ?>
    <?php endif; ?>
	<!-- Modal -->
	<div class="modal" id="offer-close" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	  <div class="modal-dialog">
	    <div class="modal-content">
	    	<div class="black-form">
				<a href="<?php echo URL::to('/'); ?>" class="banq-logo"></a>
                <?php echo Form::open(array('action' => 'SubscribeController@postIndex', 'id' => 'subscribeForm')); ?>
				<div class="lock invisible"></div>
				<p>TRADING AND OFFERINGS COMING SOON. SIGN UP FOR EARLY ACCESS.</p>
				<div class="form-group">
					<?php echo Form::email('email', null, array('id' => 'email', 'class' => 'form-control', 'required' => true, 'placeholder' => 'Email Address')); ?><span></span>
				</div>
				<button type="submit" class="btn">SIGN UP</button>
				<p class="info">We are committed to maintaining the confidentiality, integrity and security of any personal information about our users. Please refer to our <a href="#">Security and Privacy Policy</a> for more information on our standards and practices.</p>
				<?php echo Form::close(); ?>
            </div>
	    </div><!-- /.modal-content -->
	  </div><!-- /.modal-dialog -->
	</div><!-- /.modal -->
<?php $__env->stopSection(); ?>  