		<div class="portlet box bg-blue-madison">
			<div class="portlet-title">
				<div class="caption font-white">
					<h4 class="modal-title font-white"><i class="fa fa-newspaper-o"></i>&nbsp;<?php echo app('translator')->get('messages.news_publish'); ?></h4>
				</div>
				<button type="button" data-dismiss="modal" style="float: right;background-repeat: no-repeat !important;    background: 0px 0px;padding: 5px;color:white;border:0px;margin-top: 7px;margin-left: 5px;"><i class="fa fa-times fa-2x"></i></button>
				<ul class="nav nav-tabs">
					<li class="active" style="margin-top: 4px;">
						<a href="#news_tab_1" data-toggle="tab">
						<?php echo app('translator')->get('messages.community_news'); ?> </a>
					</li>
					<li style="margin-top: 4px;">
						<a href="#news_tab_2" data-toggle="tab">
						<?php echo app('translator')->get('messages.latest_news'); ?> </a>
					</li>
					<li style="margin-top: 4px;">
						<a href="#news_tab_3" data-toggle="tab">
						<?php echo app('translator')->get('messages.committee_info'); ?> </a>
					</li>
					<li style="margin-top: 4px;">
						<a href="#news_tab_4" data-toggle="tab">
						<?php echo app('translator')->get('messages.community_fin'); ?> </a>
					</li>
				</ul>
			</div>
			<div class="portlet-body">
				<div class="tab-content">
					<div class="table-toolbar">
						<div class="row">
							<div class="col-md-12">
								<a id="btn_function_news_add" class="btn btn-info">消息發布</a>
							</div>
						</div>
					</div>
					<div class="tab-pane active" id="news_tab_1">
						<table class="table table-striped table-bordered table-hover data_table_news">
						<thead>
						<tr>
							<th>
								<?php echo app('translator')->get('messages.title'); ?>
							</th>						
							<th>
								<?php echo app('translator')->get('messages.publish_dept'); ?>
							</th>
							<th>
								<?php echo app('translator')->get('messages.publish_date'); ?>
							</th>
							<th>
								瀏覽人數
							</th>
							<th>
								<?php echo app('translator')->get('messages.action'); ?>
							</th>
						</tr>
						</thead>
						<tbody>
						<?php foreach($news as $one): ?>
						<?php if($one->column == '社區公告'): ?>
						<tr class="odd gradeX">
							<td>
								<?php echo e($one->title); ?>

							</td>
							<td>
								<?php echo e($one->author); ?>

							</td>
							<td>
								<?php echo e($one->created_at); ?>

							</td>
							<td>
								<?php echo e($one->visitors); ?>

							</td>
							<td>
								<a href="javascript:;" class="btn btn-sm green btn_news_view" uid="<?php echo e($one->id); ?>"> <?php echo app('translator')->get('messages.query'); ?> <i class="fa fa-eye"></i></a>
							</td>
						</tr>
						<?php endif; ?>
						<?php endforeach; ?>
						</tbody>
						</table>
					</div>
					<div class="tab-pane" id="news_tab_2">
						<table class="table table-striped table-bordered table-hover data_table_news">
						<thead>
						<tr>
							<th>
								<?php echo app('translator')->get('messages.title'); ?>
							</th>						
							<th>
								<?php echo app('translator')->get('messages.publish_dept'); ?>
							</th>
							<th>
								<?php echo app('translator')->get('messages.publish_date'); ?>
							</th>
							<th>
								瀏覽人數
							</th>
							<th>
								<?php echo app('translator')->get('messages.action'); ?>
							</th>
						</tr>
						</thead>
						<tbody>
						<?php foreach($news as $one): ?>
						<?php if($one->column == '最新消息'): ?>
						<tr class="odd gradeX">
							<td>
								<?php echo e($one->title); ?>

							</td>
							<td>
								<?php echo e($one->author); ?>

							</td>
							<td>
								<?php echo e($one->created_at); ?>

							</td>
							<td>
								<?php echo e($one->visitors); ?>

							</td>
							<td>
								<a href="javascript:;" class="btn btn-sm green btn_news_view" uid="<?php echo e($one->id); ?>"> <?php echo app('translator')->get('messages.query'); ?> <i class="fa fa-eye"></i></a>
							</td>
						</tr>
						<?php endif; ?>
						<?php endforeach; ?>
						</tbody>
						</table>
					</div>
					<div class="tab-pane" id="news_tab_3">
						<table class="table table-striped table-bordered table-hover data_table_news">
						<thead>
						<tr>
							<th style="width:40%;">
								<?php echo app('translator')->get('messages.title'); ?>
							</th>						
							<th>
								<?php echo app('translator')->get('messages.publish_dept'); ?>
							</th>
							<th>
								<?php echo app('translator')->get('messages.publish_date'); ?>
							</th>
							<th>
								瀏覽人數
							</th>
							<th>
								<?php echo app('translator')->get('messages.action'); ?>
							</th>
						</tr>
						</thead>
						<tbody>
						<?php foreach($news as $one): ?>
						<?php if($one->column == '管委會訊息'): ?>
						<tr class="odd gradeX">
							<td>
								<?php echo e($one->title); ?>

							</td>
							<td>
								<?php echo e($one->author); ?>

							</td>
							<td>
								<?php echo e($one->created_at); ?>

							</td>
							<td>
								<?php echo e($one->visitors); ?>

							</td>
							<td>
								<a href="javascript:;" class="btn btn-sm green btn_news_view" uid="<?php echo e($one->id); ?>"> <?php echo app('translator')->get('messages.query'); ?> <i class="fa fa-eye"></i></a>
							</td>
						</tr>
						<?php endif; ?>
						<?php endforeach; ?>
						</tbody>
						</table>
					</div>
					<div class="tab-pane" id="news_tab_4">
						<table class="table table-striped table-bordered table-hover data_table_news">
						<thead>
						<tr>
							<th>
								<?php echo app('translator')->get('messages.title'); ?>
							</th>						
							<th>
								<?php echo app('translator')->get('messages.publish_dept'); ?>
							</th>
							<th>
								<?php echo app('translator')->get('messages.publish_date'); ?>
							</th>
							<th>
								瀏覽人數
							</th>
							<th>
								<?php echo app('translator')->get('messages.action'); ?>
							</th>
						</tr>
						</thead>
						<tbody>
						<?php foreach($news as $one): ?>
						<?php if($one->column == '社區財報'): ?>
						<tr class="odd gradeX">
							<td>
								<?php echo e($one->title); ?>

							</td>
							<td>
								<?php echo e($one->author); ?>

							</td>
							<td>
								<?php echo e($one->created_at); ?>

							</td>
							<td>
								<?php echo e($one->visitors); ?>

							</td>
							<td>
								<a href="javascript:;" class="btn btn-sm green btn_news_view" uid="<?php echo e($one->id); ?>"> <?php echo app('translator')->get('messages.query'); ?> <i class="fa fa-eye"></i></a>
							</td>
						</tr>
						<?php endif; ?>
						<?php endforeach; ?>
						</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>

