!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/resources/views/seller/inventory/   drwxr-xr-x
Free 13.12 GB of 57.97 GB (22.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     index.blade.php (4.06 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.app')
@section('head')
@include('layouts.partials.headersection',['title'=>'Inventory'])
@endsection
@section('content')
<div class="row">
  <div class="col-12 mt-2">
    <div class="card">
      <div class="card-body">
        @php
        $url=domain_info('full_domain');
        @endphp
        <div class="float-left">
         
           <a href="{{ route('seller.inventory.index') }}" class="btn  btn-outline-primary @if($status == '') active @endif">{{ __('Total') }} ({{ $total }})</a>
           <a href="?status=in" class="btn  btn-outline-success @if($status=='in') active @endif">{{ __('In Stock') }}({{ $in_stock }})</a>
           <a href="?status=out" class="btn  btn-outline-danger @if($status=='out') active @endif">{{ __('Stock Out') }} ({{ $out_stock }})</a>
          
        </div>

        <div class="float-right">
          <form>
            <div class="input-group mb-2">

              <input type="text" id="src" class="form-control " placeholder="#ABC-123" required="" name="src" autocomplete="off" value="{{ $src ?? '' }}">

              <div class="input-group-append">                                            
                <button class="btn btn-primary" type="submit"><i class="fas fa-search"></i></button>
              </div>
            </div>
          </form>
        </div>
        <div class="table-responsive">
          <table class="table">
            <thead>
              <tr>
                <th class="am-title">{{ __('Product') }}</th>
                <th class="am-title">{{ __('SKU') }}</th>
                <th class="am-title">{{ __('Stock Manage') }}</th>
                <th class="am-title">{{ __('Status') }}</th>

                <th class="text-right">{{ __('Edit Quantity Available') }}</th>
              </tr>
            </thead>
            <tbody>

              @foreach($posts as $row)
              <form class="basicform" method="post" action="{{ route('seller.inventory.update',base64_encode($row->id)) }}">
                @csrf
                @method('PUT')
              <tr>
              <td>
                <div>
                  <a href="{{ route('seller.product.edit',$row->term_id) }}"  class="d-flex">
                    <img class="product-img" src="{{ asset($row->term->preview->media->url ?? 'uploads/default.png') }}" alt="">
                    <div class="product-flex">
                      <span>
                        {{ Str::limit($row->term->title,20) }}
                      </span>
                     
                    </div>
                  </a>
                </div>
              </td>
              <td>{{ $row->sku }}</td>
              <td>@if($row->stock_manage==1) <span class="badge badge-success">{{ __('Yes') }}</span> @elseif($row->stock_manage==0) <span class="badge badge-danger">{{ __('No') }}</span>  @endif</td>
              
              <td>
                <select class="form-control" name="stock_status">
                  <option  @if($row->stock_status== 1) selected="" @endif value="1">{{ __('In Stock') }}</option>
                  <option  @if($row->stock_status== 0) selected="" @endif value="0">{{ __('Out Of Stock') }}</option>
                </select>
                
                

              </td>
              
              <td>
                
                <div class="edit-product-quantity float-right">
                  @if($row->stock_manage==1)
                  <input type="number" name="stock_qty" class="form-control" min="0" required value="{{ $row->stock_qty }}" placeholder="Quantity">
                  @endif
                  <button class="btn btn-primary basicbtn float-right" type="submit">{{ __('Save') }}</button>
                  </form>
                </div>
                
              </td>
            </tr>
          </form>
            @endforeach


            </tbody>

         </table>
         {{ $posts->appends(array('status'=>$status))->links('vendor.pagination.bootstrap-4') }}
       </div>
       
     </div>
   </div>
 </div>
</div>
@endsection

@push('js')
<script src="{{ asset('assets/js/form.js') }}"></script>

@endpush

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0056 ]--