| 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/thammyviendd.com/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('admin_content'); ?>
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
Cập nhật danh mục bài viết
</header>
<?php
$message = Session::get('message');
if($message){
echo '<span class="text-alert">'.$message.'</span>';
Session::put('message',null);
}
?>
<div class="panel-body">
<div class="position-center">
<form role="form" action="<?php echo e(URL::to('/update-category-post/'.$category_post->cate_post_id)); ?>" method="post">
<?php echo e(csrf_field()); ?>
<div class="form-group">
<label for="exampleInputEmail1">Tên danh mục</label>
<input type="text" name="cate_post_name" value="<?php echo e($category_post->cate_post_name); ?>" class="form-control" onkeyup="ChangeToSlug();" id="slug" placeholder="Tên danh mục">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Slug</label>
<input type="text" name="cate_post_slug" value="<?php echo e($category_post->cate_post_slug); ?>" class="form-control" id="convert_slug" placeholder="Slug">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Mô tả danh mục</label>
<textarea style="resize: none" rows="8" class="form-control" name="cate_post_desc" id="exampleInputPassword1" placeholder="Mô tả danh mục"><?php echo e($category_post->cate_post_desc); ?></textarea>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Hiển thị</label>
<select name="cate_post_status" class="form-control input-sm m-bot15">
<?php if($category_post->cate_post_status==0): ?>
<option selected value="0">Hiển thị</option>
<option value="1">Ẩn</option>
<?php else: ?>
<option value="0">Hiển thị</option>
<option selected value="1">Ẩn</option>
<?php endif; ?>
</select>
</div>
<button type="submit" name="update_post_cate" class="btn btn-info">Cập nhật danh mục bài viết</button>
</form>
</div>
</div>
</section>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/thammyviendd.com/resources/views/admin/category_post/edit_category.blade.php ENDPATH**/ ?>