<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:20%">溫度</th>  
	              <th style="width:20%">濕度</th>
	              <th style="width:20%">降雨率</th>
	            </tr>
	          </thead>
	          <tbody>
	          	<?php for($i=0;$i<count($locationName);$i++): ?>
		          	<tr>
		            	<td><?php echo e($locationName[$i]); ?></td>
		            	<td><?php echo e($value[$i][3][0]); ?></td>
		            	<td><?php echo e($value[$i][1][0]); ?>℃</td>
		            	<td><?php echo e($value[$i][2][0]); ?>%</td>
		            	<td><?php echo e($value[$i][0][0]); ?>%</td>
		            </tr>
	          	<?php endfor; ?>
	          </tbody>
	        </table>
	        <?php if(count($locationName) == 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 class="col-xs-12">
    			<div class="btn-group-vertical m-b-sm">
		    		<?php if($news->currentPage() != 1): ?>
		    		<button type="button" class="btn btn-white btn_news_list" data-type="<?php echo e($type); ?>" data-page="<?php echo e($news->currentPage()-1); ?>"><i class="fa fa-chevron-circle-up fa-3x"></i></button>
		    		<?php endif; ?>

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