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/688b1cbed795e029ba79d650efe5a563ce8ed405.php
 <?php $__env->startSection('admin_content'); ?>
        <div class="row">
            <div class="col-lg-12">
                    <section class="panel">
                        <header class="panel-heading">
                            Thêm danh mục 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>  
                            <tr style="font-size: 14px;background: silver;">  
                                <form role="form" action="<?php echo e(url('/save-attr/'.$pro_id)); ?>"  enctype="multipart/form-data" method="post" >

                               <?php echo csrf_field(); ?>

                                <td style="padding-right: 5px;">    
                                
                                    <label  class=" title" for="exampleInputEmail1">SKU</label>
                                    <input type="text" 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" 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" 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" 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" 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" name ="product_color"class="form-control" id="slug" placeholder="Tên danh mục">
                                </td>
                                                                <td style="padding-right: 5px;"> 
                                    <label  for="exampleInputEmail1">Thông tin thêm </label>
                                    <textarea id="ckeditor2"   name ="product_sold"class="form-control" id="slug" placeholder="Tên danh mục"></textarea>
                                </td>

                                <td>
                                    <label for="exampleInputEmail1">Hình ảnh </label>
                                    <input type="file" 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">Thêm danh mục</button>
                                 </td>
                            </form>
                              <tr>
                              
                            
                             </div> 
                            </table> 
                        </div>
                    </section>

            </div>
            <div class="col-lg-12">
            <section class="panel">
                        <header class="panel-heading">
                            <?php $__currentLoopData = $product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($key==0): ?>
                            Thuộc tính sản phẩm <span style="color: blue;"><?php echo e($pro->product_name); ?> / Mã SP: <?php echo e($pro->product_id); ?>  </span>
                            <?php endif; ?>
                    
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        
                        </header>

                        <div class="panel-body">

     <table class="table table-striped b-t b-light">
        <thead>
          <tr>
            <th style="width:20px;">
              <label class="i-checks m-b-none">
                <input type="checkbox"><i></i>
              </label>
            </th>
            <th>SKU </th>
             <th>hình ảnh </th>
            <th> SIZE</th>
             <th>Tên Thuộc tính  </th>
            <th> Thông tin thêm</th>
            <th> Màu Sắt </th>
            <th> Giá bán</th>
            <th> Số lượng</th>  
               
            <th style="width:10px;"></th>
          </tr>
        </thead>
        <tbody>

            <?php $__currentLoopData = $all_attr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $attr): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <tr>
            <td><label class="i-checks m-b-none"><input type="checkbox" name="post[]"><i></i></label></td>
           
            <td><?php echo e($attr-> product_sku); ?></td>
            <td><img src="<?php echo e(url('public/uploads/product')); ?>/<?php echo e($attr ->product_image); ?>" height="100" with="150"></td>
             <td contenteditable class="edit-attr-name" data-attr_id="<?php echo e($attr->attr_id); ?>"><?php echo e($attr-> product_size); ?></td>
            <td><?php echo e($attr -> product_name_attr); ?></td>
            <td ><?php echo $attr -> product_sold; ?></td>
            <td style="color:<?php echo e($attr -> product_color); ?> " >▄</td>
            <td><?php echo e($attr -> product_price); ?></td>
             <td><?php echo e($attr -> product_quantity); ?></td>

             <td>
                    <button type="button"  data-attr_id="<?php echo e($attr->attr_id); ?>" class="btn btn-primary delete-attr"> Xóa ngay </button>
             </td>
             <td>
                   <a href="<?php echo e(URL::to('/edit-attr/'.$attr->attr_id)); ?>" class="active styling edit" ui-toggle-class=""><i class="fa fa-pencil-square-o"></i></a>
             </td>
            
            
          </tr>
       <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
      </table>
</div>
                    

</div>
</div>

<?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/attr/add_attr.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit