<div class="row">
	<div class="col-xs-11">
        <section class="panel" style="font-size: 160%;">
	        <header class="panel-heading">
	          <?php /* <span class="label bg-danger pull-right">4 left</span> */ ?>
	          <?php echo e($title); ?>

	        </header>
	        <table class="table table-striped">
	          <thead>
	            <tr>
	              <th style="width:20%">標題</th> 
	              <th style="width:20%">展出日期</th>
	              <th style="width:60%">詳細資料</th>
	            </tr>
	          </thead>
	          <tbody>
	          	<?php for($i=0;$i<count($array);$i++): ?>
		          	<tr>
		            	<td style="word-break: break-all;"><?php echo e($array[$i]->title); ?></td>
		            	<td style="word-break: break-all;"><?php echo e($array[$i]->comment); ?></td>
		            	<td style="word-break: break-all;"><?php echo e($array[$i]->descriptionFilterHtml); ?></td>
		            </tr>
	          	<?php endfor; ?>
	          </tbody>
	        </table>
	        <?php if($news->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_nodata'); ?>
			</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="information"><i class="fa fa-mail-reply fa-3x"></i></button>
    			</div>
    		</div>   		
    	</div>    	
    </div>
</div>
	<div class="modal" id="modal_setting" style="width:100%" tabindex="-1" role="dialog" aria-hidden="true">
		<div style="width:80%" class="modal-dialog">
			<form id="form_setting" class="form-horizontal">
				<input type="hidden" id="_token" name="_token" value="<?php echo e(csrf_token()); ?>">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
						<h4 class="modal-title">藝文活動</h4>
					</div>
						<div class="modal-body form">
	        				<table class="table table-striped">
	        				  <thead>
	        				    <tr>
	        				      <th style="width:20%"><?php echo app('translator')->get('messages.title'); ?></th>
	        				      <th style="width:20%">開始時間</th>
	        				      <th style="width:20%">結束時間</th>
	        				      <th style="width:10%">票價</th>
	        				      <th style="width:30%">地址</th>
	        				    </tr>
	        				  </thead>
	        				  <tbody>
	        				  	<?php foreach($news as $one): ?>
		    				      	<tr>
		    				        	<td><a id="btn_view" href="javascript:;" class="btn_information_view" data-type	="<?php echo e($type); ?>" data-id="<?php echo e($one->id); ?>"><?php echo e($one->title); ?></a></td>
		    				        	<input type="hidden" name="count" value="index" />
										<td><?php echo e($one->author); ?></td>
		    				        	<td><?php echo e($one->created_at); ?></td>
		    				        	<td><?php echo e($one->created_at); ?></td>
		    				        	<td><?php echo e($one->created_at); ?></td>
		    				        </tr>		            
	        				  	<?php endforeach; ?>
	        				  </tbody>
	        				</table>
						</div>
					<div class="modal-footer">
					</div>
				</div>
			</form>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal-dialog -->
	</div>
<script>
	$(document).on('click','#btn_view',function(){
		$('#modal_setting').modal('show');
	});
</script>