Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/job-board.corals.io/resources/themes/compo/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/job-board.corals.io/resources/themes/compo/partials/featured_categories.blade.php
@php $categories = \Shop::getFeaturedCategories(); @endphp

@if(!$categories->isEmpty())
    <!-- Top Categories-->
    <section class="container p-t-30">
        <div class="text-center">
            @php \Actions::do_action('pre_display_ecommerce_featured_categories') @endphp

        </div>

        <h3 class="text-center mb-30">@lang('corals-compo::labels.partial.featured_categories')</h3>
        @php $j=0; @endphp
        @foreach($categories as $category)
            @if($j == 0)
                <div class="row">
                    @endif
                    <div class="col-md-4 col-sm-6">
                        <div class="card mb-30">
                            <a class="card-img-tiles text-center" style="border-bottom: 1px solid #e1e7ec; padding: 15px" href="{{ url('shop?category='.$category->slug) }}">
                                <div class="inner">
                                    <div class="main-img">
                                        <img src="{{ $category->thumbnail }}" alt="Category" class="mx-auto"
                                             style="max-height: 150px;width: auto;">
                                    </div>
                                </div>
                            </a>
                            <div class="card-body text-center">
                                <h4 class="card-title">
                                    <a href="{{ url('shop?category='.$category->slug) }}">{{ $category->name }}</a>
                                </h4>
                                <p class="text-muted">@lang('corals-compo::attributes.start') {{ \Payments::currency($category->starting_from_price) }}</p>
                                <a class="btn btn-outline-primary btn-sm"
                                   href="{{ url('shop?category='.$category->slug) }}">@lang('corals-compo::labels.partial.view_products')
                                </a>
                            </div>
                        </div>
                    </div>
                    @if (++$j == 3)
                </div>
                @php $j = 0; @endphp
                @endif
                @endforeach

                @if($j != 0)</div>@endif
            <div class="row">
                <div class="col text-center">
                    <a class="btn btn-outline-secondary margin-top-none" href="{{ url('shop') }}">
                        @lang('corals-compo::labels.partial.all_categories')
                    </a>
                </div>
            </div>
    </section>
@endif

Spamworldpro Mini