403Webshell
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/huyhoangvn.com/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/huyhoangvn.com/storage/framework/views/ac07a34aef2f80cf7d2469be46b22eb0a17491cd.php
 <?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...
    
    ?>
                            <div class="position-center">
                            <?php $__currentLoopData = $edit_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <form role="form" id="spForm" action="<?php echo e(URL::to('/update-product/'.$pro->product_id)); ?>" method="post" enctype="multipart/form-data">
                                    <?php echo e(csrf_field()); ?>

                                <div class="form-group">
                                    <label for="exampleInputEmail1">Tên danh sản phẩm </label>
                                    <input type="text" name ="product_name"class="form-control"  id="title" onkeyup="ChangeToSlug();"  minlength="2" placeholder="Tên danh mục" value="<?php echo e($pro->product_name); ?>" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">Giá Sản Phẩm</label>
                                    <input type="text" data-role="text"  name="product_price" value="<?php echo e($pro->product_price); ?>" class="form-control">
                                </div>
                                 <div class="form-group">
                                    <label for="exampleInputEmail1">Slug</label>
                                    <input type="text" name ="slug_product"class="form-control" id="slug" placeholder="Tên danh mục" minlength="2" value="<?php echo e($pro->slug_product); ?>"required>
                                </div>

                                <div class="form-group">
                                    <label for="exampleInputPassword1">từ khóa danh mục</label>
                                    <textarea style="resize:none;" rows= "5"class="form-control" name="product_keywords" placeholder="Mô tả danh mục"><?php echo e($pro->meta_keywords); ?></textarea> 
                                    
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Hình ảnh sản phẩm</label>
                                    <input type="file" name ="product_image"class="form-control" id="exampleInputEmail1">
                                    <img src="<?php echo e(URL::to('public/uploads/product/'.$pro ->product_image)); ?>" height="100" with="150">
                                </div>
                                 
                                <div class="form-group">
                                    <label for="exampleInputPassword1">Mô tả SP</label>
                                    <textarea id="ckeditor1"style="resize:none;" rows= "5"class="form-control" name="product_desc" placeholder="Mô tả SP" ><?php echo e($pro->product_desc); ?></textarea> 

                                </div>
                                
                                <div class="form-group">
                                    <label for="exampleInputPassword1">Thông tin sản phẩm </label>
                                    <textarea id="ckeditor3"style="resize:none;"  rows= "5"class="form-control" name="product_info" placeholder="thông tinh sản phẩm " required ><?php echo e($pro->product_info); ?></textarea> 
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">nội dung sản phẩm </label>
                                    <textarea id="ckeditor2" style="resize:none;" rows= "5"class="form-control" name="product_content" placeholder="Mô tả nội dung SP"><?php echo e($pro->product_content); ?></textarea> 
                                </div>
                                 


                                <div class="form-group">
                                    <label for="exampleInputPassword1">Thêm Tags</label>
                                    <input type="text" data-role="tagsinput"  name="product_tag" value="<?php echo e($pro->product_tag); ?>" class="form-control">
                                </div>



                                <div class="form-group">
                                <label for="exampleInputEmail1">Danh mục sản phẩm</label>
                                <select name="product_cate" class="form-control input-sm m-bot15">
                                <?php $__currentLoopData = $cate; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($cat->cate_id); ?>"> <?php echo e($cat->cate_name); ?>  </option>
                                <?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cate_pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                <?php if($cat->cate_id==$cate_pro->cate_id): ?>
                                <option  <?php if($cate_pro->category_id==$pro->category_id) echo"selected"; ?> value="<?php echo e($cate_pro->category_id); ?>">---<?php echo e($cate_pro->category_name); ?>---  </option>
                                <?php endif; ?>

                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                 </select>
                                </div>
                                <div class="form-group">
                                <label for="exampleInputEmail1">Thương hiệu</label>
                                <select name="product_brand" class="form-control input-sm m-bot15">

                                <?php $__currentLoopData = $brand_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($brand->brand_id==$pro->brand_id): ?>
                               <option selected value="<?php echo e($brand ->brand_id); ?>"> <?php echo e($brand->brand_name); ?> </option>
                               <?php else: ?>
                                <option value="<?php echo e($brand ->brand_id); ?>"> <?php echo e($brand->brand_name); ?> </option>
                                <?php endif; ?>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                 </select>
                                </div>
                                
                           <div class="form-group">
                                <label for="exampleInputEmail1">Hiển Thị</label>
                                <?php $__currentLoopData = $edit_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <select name="product_status" class="form-control input-sm m-bot15" >
                                <option value="1">hiện</option>
                                <option value="0">ẩn </option>
                                 </select>
                                </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <button type="submit" name="add_product"class="btn btn-info">Cập nhật sản phẩm</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/huyhoangvn.com/resources/views/admin/product/edit_product.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit