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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/game.picotech.app/public_html/core/resources/views/includes/   drwxr-xr-x
Free 28.91 GB of 117.98 GB (24.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     cart.blade.php (6.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@php
    $user = auth()->user()->id;
    $cart = Session::has('cart_'. $user) ? Session::get('cart_'.$user) : [];
    $total = 0;
    $option_price = 0;
    $cartTotal = 0;
    
@endphp

<div class="card">
    <div class="card-body">
        <div class="table-responsive shopping-cart">
            <table class="table table-bordered">

                <thead>
                    <tr>
                        <th>{{ __('Product Name') }}</th>
                        <th>{{ __('Product Price') }}</th>
                        <th class="text-center">{{ __('Quantity') }}</th>
                        <th class="text-center">{{ __('Subtotal') }}</th>
                        <th class="text-center"><a class="btn btn-sm btn-primary"
                                href="{{ route('front.cart.clear') }}"><span>{{ __('Clear Cart') }}</span></a></th>
                    </tr>
                </thead>
                {{-- {{dd($cart)}} --}}

                <tbody id="cart_view_load" data-target="{{ route('cart.get.load') }}">
                    @foreach ($cart as $key => $item)
                        @php
                           
                            $cartTotal += ($item['main_price'] + $total + $item['attribute_price']) * $item['qty'];
                        @endphp
                        <tr>
                            <td>
                                <div class="product-item"><a class="product-thumb"
                                        href="{{ route('front.product.solo', $item['slug']) }}"><img
                                            src="{{ asset('assets/images/' . $item['photo']) }}" alt="Product"></a>
                                    <div class="product-info">
                                        <h4 class="product-title"><a href="{{ route('front.product.solo', $item['slug']) }}">
                                                {{ Str::limit($item['name'], 45) }}

                                            </a></h4>

                                        @foreach ($item['attribute'] as $optionkey => $option_name)
                
                                            <span><em>{{ $option_name['name'] }}:</em>
                                                ({{ PriceHelper::setCurrencyPrice($option_name['price']) }})</span>
                                        @endforeach
                                    </div>
                                </div>
                            </td>
                            <td class="text-center text-lg">{{ PriceHelper::setCurrencyPrice($item['main_price']) }}
                            </td>

                            <td class="text-center">
                                @if ($item['item_type'] == 'normal')
                                    <div class="qtySelector product-quantity">
                                        <span class="decreaseQtycart cartsubclick" data-id="{{ $key }}"   data-action="decrement"
                                        data-target="{{ PriceHelper::GetItemId($key) }}" style="cursor: pointer"><i
                                            class="fas fa-minus"></i></span>
                                    <input type="number" disabled data-id="{{ $key }}" class=" cartcart-amount qty qty-solo-product border-0 text-center"
                                        value="{{ $item['qty'] }}">
                                    <span class="increaseQtycart cartaddclick" data-id="{{ $key }}"
                                        data-target="{{ PriceHelper::GetItemId($key) }}"
                                        data-action="increment"
                                        data-item="{{ implode(',', $item['options_id']) }}" style="cursor: pointer"><i
                                            class="fas fa-plus"></i></span>
                                            {{-- <input type="hidden" value="{{ $product->stock }}" id="current_stock"> --}}
                                    </div>
                                @endif

                            </td>
                            <td class="text-center text-lg">
                                {{ PriceHelper::setCurrencyPrice($item['main_price'] * $item['qty']) }}</td>

                            <td class="text-center"><a id="add-viewcart-destroy" class="remove-from-cart"
                                    href="" data-id="{{ $key }}" data-toggle="tooltip"
                                    title="Remove item"><i class="icon-x"></i></a></td>
                        </tr>
                    @endforeach

                </tbody>
            </table>
        </div>
    </div>
</div>

                <input type="hidden" value="{{PriceHelper::setCurrencySign()}}" id="set_currency">
                <input type="hidden" value="{{PriceHelper::setCurrencyValue()}}" id="set_currency_val">
                <input type="hidden" value="{{$setting->currency_direction}}" id="currency_direction">
<div class="card mt-4">
    <div class="card-body">
        <div class="shopping-cart-footer">
            <div class="column d-none">
                <form class="coupon-form" method="post" id="coupon_form" action="{{ route('front.promo.submit') }}">
                    @csrf
                    <input class="form-control form-control-sm" name="code" type="text"
                        placeholder="{{ __('Coupon code') }}" required>
                    <button class="btn btn-primary btn-sm"
                        type="submit"><span>{{ __('Apply Coupon') }}</span></button>
                </form>
            </div>

            <div class="text-right text-lg column {{ Session::has('coupon') ? '' : 'd-none' }}"><span
                    class="text-muted">{{ __('Discount') }}
                    ({{ Session::has('coupon') ? Session::get('coupon')['code']['title'] : '' }}) : </span><span
                    class="text-gray-dark">{{ PriceHelper::setCurrencyPrice(Session::has('coupon') ? Session::get('coupon')['discount'] : 0) }}</span>
                    <a class="remove-from-cart btn btn-danger btn-sm "
                                    href="{{ route('front.promo.destroy') }}" data-toggle="tooltip"
                                    title="Remove item"><i class="icon-x"></i></a>
            </div>

            <div class="text-right column text-lg"><span class="text-muted">{{ __('Subtotal') }}: </span><span
                    class="text-gray-dark sub-total">{{ PriceHelper::setCurrencyPrice($cartTotal - (Session::has('coupon') ? Session::get('coupon')['discount'] : 0)) }}</span>
            </div>


        </div>
        <div class="shopping-cart-footer">
            <div class="column"><a class="btn btn-primary " href="{{ route('front.catalog') }}"><span><i
                            class="icon-arrow-left"></i> {{ __('Back to Shopping') }}</span></a></div>
            <div class="column"><a class="btn btn-primary"
                    href="{{ route('front.checkout.billing') }}"><span>{{ __('Checkout') }}</span></a></div>
        </div>
    </div>
</div>
</div>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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