| 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/tipsysaigon.vn/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 thương hiệu sản phẩm
</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...
?>
<?php $__currentLoopData = $edit_brand_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key =>$brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="position-center">
<form role="form" action="<?php echo e(URL::to('/update-brand-product/'.$brand->brand_id)); ?>" method="post" enctype="multipart/form-data">
<?php echo e(csrf_field()); ?>
<div class="form-group">
<label for="exampleInputEmail1">Tên danh thương hiệu</label>
<input type="text" value="<?php echo e($brand->brand_name); ?>" name ="brand_product_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($brand->slug_brand_product); ?>"name ="slug_brand_product"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($brand->meta_keywords); ?>" name ="brand_product_keywords"class="form-control" id="exampleInputEmail1" placeholder="Tên danh mục">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Mô tả thương hiệuc</label>
<textarea style="resize:none;" rows= "5"class="form-control" name="brand_product_desc" ><?php echo e($brand->brand_desc); ?></textarea>
</div>
<div class="form-group">
<label for="exampleInputEmail1">Hình ảnh thương hiệu kích thước 400x400</label>
<input type="file" name ="brand_image"class="form-control" id="exampleInputEmail1" >
<img src="<?php echo e(URL::to('public/uploads/product/'.$brand->brand_image)); ?>" height="100" with="150">
</div>
<button type="submit" name="update_brand_product"class="btn btn-info">Cập nhật thương hiệu</button>
</form>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<!-- </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/tipsysaigon.vn/resources/views/admin/brand/edit_brand_product.blade.php ENDPATH**/ ?>