| Server IP : 103.161.17.216 / Your IP : 216.73.216.1 Web Server : nginx/1.18.0 System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/applehotel.vn/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('admin_content'); ?>
<div class="table-agile-info">
<div class="panel panel-default">
<div class="panel-heading">
Liệt kê bài viết
</div>
<div class="table-responsive">
<?php
$message = Session::get('message');
if($message){
echo '<span class="text-alert">'.$message.'</span>';
Session::put('message',null);
}
?>
<table class="table table-striped b-t b-light" id="myTable">
<thead>
<tr>
<th style="width:20px;">
<label class="i-checks m-b-none">
<input type="checkbox"><i></i>
</label>
</th>
<th>Tên bài viết</th>
<th>Hình ảnh</th>
<th>Slug</th>
<th>Mô tả bài viết</th>
<th>Từ khóa bài viết</th>
<th>Danh mục bài viết</th>
<th>Hiển thị</th>
<th style="width:30px;"></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $all_post; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><label class="i-checks m-b-none"><input type="checkbox" name="post[]"><i></i></label></td>
<td><?php echo e($post->post_title); ?></td>
<td><img src="<?php echo e(asset('public/uploads/post/'.$post->post_image)); ?>" height="100" width="100"></td>
<td><?php echo e($post->post_slug); ?></td>
<td><?php echo $post->post_desc; ?></td>
<td><?php echo e($post->post_meta_keywords); ?></td>
<td><?php echo e($post->cate_post->cate_post_name); ?></td>
<td>
<?php if($post->post_status==0): ?>
Hiển thị
<?php else: ?>
Ẩn
<?php endif; ?>
</td>
<td>
<a href="<?php echo e(URL::to('/edit-post/'.$post->post_id)); ?>" class="active styling-edit" ui-toggle-class="">
<i class="fa fa-pencil-square-o text-success text-active"></i></a>
<a onclick="return confirm('bạn có chắc muốn xóa không?')" href="<?php echo e(URL::to('/delete-post/'.$post->post_id)); ?>" class="active" ui-toggle-class=""> <i class="fa fa-times text-danger text"></i></a>
</a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /opt/lampp/htdocs/charming.vn/resources/views/admin/post/list_post.blade.php ENDPATH**/ ?>