| 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 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...
?>
<table>
<div>
<?php $__currentLoopData = $edit_attr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr style="font-size: 14px;background: silver;">
<form role="form" id="spForm" action="<?php echo e(URL::to('/update-attr/'.$pro->attr_id)); ?>" method="post" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<td style="padding-right: 5px;">
<label class=" title" for="exampleInputEmail1">SKU</label>
<input type="text" value="<?php echo e($pro->product_sku); ?>" name ="product_sku"class="form-control" id="title" placeholder="Tên danh mục">
</td>
<td style="padding-right: 5px;">
<label for="exampleInputEmail1">SIZE</label>
<input type="text" value="<?php echo e($pro->product_size); ?>" name ="product_size"class="form-control" id="slug" placeholder="Tên danh mục">
</td>
<td style="padding-right: 5px;">
<label for="exampleInputEmail1">Tên Thuộc Tính </label>
<input type="text" value="<?php echo e($pro->product_name_attr); ?>"name ="product_name_attr"class="form-control" id="slug" placeholder="Tên danh mục">
</td>
</tr>
<tr style="font-size: 14px;background: silver;">
<td style="padding-right: 5px;">
<label for="exampleInputEmail1">Giá Bán</label>
<input type="text"value="<?php echo e($pro->product_price); ?>" name ="product_price"class="form-control" id="slug" placeholder="Tên danh mục">
</td>
<td style="padding-right: 5px;">
<label for="exampleInputEmail1">Số Lượng</label>
<input type="text"value="<?php echo e($pro->product_quantity); ?>" name ="product_quantity"class="form-control" id="slug" placeholder="Tên danh mục">
</td>
<td style="padding-right: 5px;">
<label for="exampleInputEmail1">Màu sắc</label>
<input type="text"value="<?php echo e($pro->product_color); ?>" name ="product_color"class="form-control" id="slug" placeholder="Tên danh mục">
</td>
<td>
<label for="exampleInputEmail1">Hình ảnh </label>
<input type="file" value="<?php echo e($pro->product_image); ?>"name ="product_image"class="form-control" id="exampleInputEmail1" r>
</td>
<td style="padding-left: 5px;">
<button type="submit" name="add_ttr"class="btn btn-info">Cập nhật danh mục</button>
</td>
</form>
<tr>
</div>
</table>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</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/thammyviendd.com/resources/views/admin/attr/edit_attr.blade.php ENDPATH**/ ?>