<div class="row">
	<div class="col-xs-11">
        <section class="panel" style="font-size: 160%;">
	        <header class="panel-heading">
	          <?php echo app('translator')->get('messages.neighberhood_calendar'); ?>
	        </header>
	        <table class="table table-striped">
	          <thead>
	            <tr>
	            	<th><?php echo app('translator')->get('messages.time'); ?></th>
	              	<th><?php echo app('translator')->get('messages.event'); ?></th>
	              	<th><?php echo app('translator')->get('messages.publish_dept'); ?></th>
	              	<th><?php echo app('translator')->get('messages.location'); ?></th>
	            </tr>
	          </thead>
	          <tbody>
	          	<?php foreach($events as $one): ?>
		          	<tr>
		          		<td><?php echo e($one->start); ?></td>
		          		<td><?php echo e($one->title); ?></td>
		          		<td><?php echo e($one->author); ?></td>
		          		<td><?php echo e($one->location); ?></td>		
		            </tr>
	          	<?php endforeach; ?>
	          </tbody>
	        </table>
	        <?php if($events->count() == 0): ?>
			<div class="alert alert-info" style="margin: 30px;text-align: center;">
				<button type="button" class="close" data-dismiss="alert"><i class="fa fa-times"></i></button>
				<?php echo app('translator')->get('messages.sor_noadd_neighber_cal'); ?>
			</div>
	        <?php endif; ?>
	      </section>
    </div>

    <div class="col-xs-1">
    	<div class="row">
    		<div class="col-xs-12">
    			<div class="btn-group-vertical m-b-sm">
    				<button type="button" class="btn btn-white btn_link" data-link="calendar"><i class="fa fa-mail-reply fa-3x"></i></button>
    			</div>
    		</div>
    		<div class="col-xs-12">
    			<div class="btn-group-vertical m-b-sm">
		    		<?php if($events->currentPage() != 1): ?>
		    		<button type="button" class="btn btn-white btn_cal_list" data-id="<?php echo e($cal->id); ?>" data-page="<?php echo e($events->currentPage()-1); ?>"><i class="fa fa-chevron-circle-up fa-3x"></i></button>
		    		<?php endif; ?>

		    		<?php if($events->hasMorePages() ): ?>
			        <button type="button" class="btn btn-white btn_cal_list" data-id="<?php echo e($cal->id); ?>" data-page="<?php echo e($events->currentPage()+1); ?>"><i class="fa fa-chevron-circle-down fa-3x"></i></button>
			        <?php endif; ?>
			    </div>
    		</div>
    		
    	</div>
    	
    </div>
</div>