| 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/dr.dinhphuongdong.com/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ê Chủng Loại Bài Viết
<a class="btn btn-success" href="<?php echo e(URL::to('/add-category-post')); ?>">Thêm Chủng Loại Bài Viết</a>
</div>
<div class="row w3-res-tb">
<div class="col-sm-5 m-b-xs">
<select class="input-sm form-control w-sm inline v-middle">
<option value="0">Bulk action</option>
<option value="1">Delete selected</option>
<option value="2">Bulk edit</option>
<option value="3">Export</option>
</select>
<button class="btn btn-sm btn-default">Apply</button>
</div>
<div class="col-sm-4">
</div>
<div class="col-sm-3">
<div class="input-group">
<input type="text" class="input-sm form-control" placeholder="Search">
<span class="input-group-btn">
<button class="btn btn-sm btn-default" type="button">Go!</button>
</span>
</div>
</div>
</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">
<thead>
<tr>
<th style="width:20px;">
<label class="i-checks m-b-none">
<input type="checkbox"><i></i>
</label>
</th>
<th>Chủng Loại Bài Viết</th>
<th>Mô tả danh mục</th>
<th>Slug</th>
<th>Hiển thị</th>
<th style="width:30px;"></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $category_post; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cate_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($cate_post->cate_post_name); ?></td>
<td><?php echo e($cate_post->cate_post_desc); ?></td>
<td><?php echo e($cate_post->cate_post_slug); ?></td>
<td>
<?php if($cate_post->cate_post_status==0): ?>
Hiển thị
<?php else: ?>
Ẩn
<?php endif; ?>
</td>
<td>
<a href="<?php echo e(URL::to('/edit-category-post/'.$cate_post->cate_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 là muốn xóa bài viết này ko?')" href="<?php echo e(URL::to('/delete-category-post/'.$cate_post->cate_post_id)); ?>" class="active styling-edit" ui-toggle-class="">
<i class="fa fa-times text-danger text"></i>
</a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<footer class="panel-footer">
<div class="row">
<div class="col-sm-5 text-center">
<small class="text-muted inline m-t-sm m-b-sm">showing 20-30 of 50 items</small>
</div>
<div class="col-sm-7 text-right text-center-xs">
<ul class="pagination pagination-sm m-t-none m-b-none">
<?php echo $category_post->links(); ?>
</ul>
</div>
</div>
</footer>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/dr.dinhphuongdong.com/resources/views/admin/category_post/list_category.blade.php ENDPATH**/ ?>