| 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="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
Loại Bài Viết
</header>
<div class="panel-body">
<?php
$message = Session::get('message');if ($message) {
echo '<span class="text-alert">',$message,'</span>';
Session::put('message',null);
// code...
}
// code...
?>
<div class="position-center">
<form role="form" action="<?php echo e(URL::to('/update-categorypost/'.$edit_categorypost->categorypost_id)); ?>" method="post" enctype="multipart/form-data">
<?php echo e(csrf_field()); ?>
<div class="form-group">
<label for="exampleInputEmail1">Loại Bài Viết</label>
<input type="text" value="<?php echo e($edit_categorypost->categorypost_name); ?>" name ="categorypost_name"class="form-control" id="title" onkeyup="ChangeToSlug();" placeholder="Tên danh mục">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Slug</label>
<input type="text" value="<?php echo e($edit_categorypost->categorypost_slug); ?>" name ="categorypost_slug"class="form-control" id="slug" placeholder="Tên danh mục">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Keywords </label>
<input type="text" value="<?php echo e($edit_categorypost->meta_keywords); ?>" name ="categorypost_keywords"class="form-control" id="exampleInputEmail1" placeholder="Tên danh mục">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Chủng loại bài viết</label>
<select name="cate_post_id" class="form-control input-sm m-bot15">
<?php $__currentLoopData = $catepost; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option <?php echo e($categorypost->cate_post_id==$cate->cate_post_id ? 'selected' : ''); ?> value="<?php echo e($cate->cate_post_id); ?>"><?php echo e($cate->cate_post_name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Mô tả danh mục</label>
<textarea style="resize:none;" rows= "5"class="form-control" name="categorypost_desc" ><?php echo e($edit_categorypost->categorypost_desc); ?></textarea>
</div>
<div class="form-group">
<label for="exampleInputEmail1">Hình ảnh sản phẩm</label>
<input type="file" name ="categorypost_image"class="form-control" id="exampleInputEmail1">
<img src="<?php echo e(URL::to('public/uploads/post/'.$edit_categorypost ->categorypost_image)); ?>" height="100" with="150">
</div>
<button type="submit" name="update_categorypost"class="btn btn-info">Cập nhật danh mục</button>
</form>
</div>
</div>
</section>
</div>
<div class="col-lg-12">
<?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/edit_category_post.blade.php ENDPATH**/ ?>