Al-HUWAITI Shell
Al-huwaiti


Server : nginx/1.18.0
System : Linux localhost 6.14.3-x86_64-linode168 #1 SMP PREEMPT_DYNAMIC Mon Apr 21 19:47:55 EDT 2025 x86_64
User : www-data ( 33)
PHP Version : 8.0.16
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,
Directory :  /var/www/ecommerce/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/ecommerce/storage/framework/views/9b400a7336d1f30f02e5a73fe69ef611671b2fce.php
<?php
    $routeName = Route::currentRouteName();
    $showBottomMenu = !in_array($routeName, ['register.form', 'login.form']) && (auth()->check() || str_starts_with(request()->route()?->uri, 'shop'));
    if (isset($product_detail) && $product_detail?->cat_info?->slug === 'learning') {
        $showBottomMenu = false;
    }
?>

<?php $__env->startSection('icon-menu'); ?>
    <ul class="nav justify-content-end menu">
        <?php if(auth()->guard()->check()): ?>
            <?php if($inWishProducts->count()): ?>
                <li class="nav-item dropdown header">
                    <button type="button" class="btn" style="line-height: 26px;" role="button"
                        data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i
                            class="fa fa-heart-o font-weight-bold"></i>
                        <?php if($inWishProducts->count()): ?>
                            <span class="badge badge-success font-value-serif"><?php echo $inWishProducts->count(); ?></span>
                            <span class="sr-only">unread cart</span>
                        <?php endif; ?>
                    </button>

                    <div class="dropdown-menu dropdown-menu-right shopping" aria-labelledby="navbarDropdown">
                        <div class="shopping-item">
                            <div class="dropdown-cart-header">
                                <span><?php echo e($inWishProducts->count()); ?> Items</span>
                                <a href="<?php echo e(route('wishlist')); ?>">View Wishlist</a>
                            </div>
                            <ul class="shopping-list pl-0">
                                <?php $__currentLoopData = $inWishProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                        $photo = explode(',', $data->product['photo']);
                                    ?>
                                    <li>
                                        <a href="<?php echo e(route('wishlist-delete', $data->id)); ?>" class="remove"
                                            title="Remove this item"><i class="fa fa-remove"></i></a>
                                        <a class="cart-img" href="#"><img
                                                src="<?php echo e(Helper::imagePath($photo[0])); ?>"
                                                alt="<?php echo e($photo[0]); ?>"></a>
                                        <h4><a href="<?php echo e(route('product-detail', $data->product['slug'])); ?>"
                                                target="_blank"><?php echo e($data->product['title']); ?></a></h4>
                                        <p class="quantity"><?php echo e($data->quantity); ?> x - <span
                                                class="amount"><?php echo config('shop.currency_symbol'); ?>

                                                <?php echo e(number_format($data->price, 2)); ?></span>
                                        </p>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                            <div class="bottom">
                                <div class="total">
                                    <span>Total&nbsp;</span>
                                    <span class="total-amount"><?php echo config('shop.currency_symbol') . ' ' . number_format(Helper::totalCartPrice(), 2); ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </li>
            <?php endif; ?>
        <?php endif; ?>

        <li class="nav-item dropdown header">
            <button type="button" class="btn btn-link" role="button" data-toggle="dropdown" aria-haspopup="true"
                aria-expanded="false"><?php echo svg_html('cart'); ?>

                <?php if(count($inCartProducts)): ?>
                    <span class="badge badge-success font-value-serif"><?php echo count($inCartProducts); ?></span>
                    <span class="sr-only">unread cart</span>
                <?php endif; ?>
            </button>
            <?php if(count($inCartProducts)): ?>
                <div class="dropdown-menu dropdown-menu-right shopping" aria-labelledby="navbarDropdown">
                    <div class="shopping-item">
                        <div class="dropdown-cart-header">
                            <span><?php echo e(count($inCartProducts)); ?> Items</span>
                            <a href="<?php echo e(route('cart')); ?>">View Cart</a>
                        </div>
                        <ul class="shopping-list pl-0">
                            <?php $__currentLoopData = $inCartProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php
                                    $photo = explode(',', $data->product['photo']);
                                ?>
                                <li>
                                    <a href="<?php echo e(route('cart-delete', $data->id)); ?>" class="remove"
                                        title="Remove this item"><i class="fa fa-remove"></i></a>
                                    <a class="cart-img" href="#"><img
                                            src="<?php echo e(Helper::imagePath($photo[0])); ?>"
                                            alt="<?php echo e($photo[0]); ?>"></a>
                                    <h4><a href="<?php echo e(route('product-detail', $data->product['slug'])); ?>"
                                            target="_blank"><?php echo e($data->product['title']); ?></a></h4>
                                    <p class="quantity"><?php echo e($data->quantity); ?> x - <span
                                            class="amount"><?php echo config('shop.currency_symbol'); ?>

                                            <?php echo e(number_format($data->price, 2)); ?></span>
                                    </p>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                        <div class="bottom">
                            <div class="total">
                                <span>Total&nbsp;</span>
                                <span class="total-amount"><?php echo config('shop.currency_symbol') . ' ' . number_format(Helper::totalCartPrice(), 2); ?></span>
                            </div>
                            <a href="<?php echo route('checkout'); ?>" class="btn animate">Checkout</a>
                        </div>
                    </div>
                </div>
            <?php endif; ?>
        </li>

        <li class="nav-itemx">
            <button type="button" data-selector=".categories-menu"
                class="search-toggle btn btn-link"><?php echo svg_html('search'); ?></button>
        </li>
    </ul>
<?php $__env->stopSection(); ?>

<?php if($showBottomMenu): ?>
    <div class="nav-header navbar-shadow"
        style="background: url('/frontend/svg/banner-bg.svg') white; border-bottom: 4px solid rgba(62, 61, 61, 0.04);">
<?php else: ?>
    <div class="nav-header navbar-shadow" style="background: url('/frontend/svg/banner-bg.svg') white;">
<?php endif; ?>

<nav class="navbar navbar-expand-lg" id="top">
    <div class="container">

        <div style="position: relative;">
            <a class="navbar-brand navbar-light" href="<?php echo route('website.home'); ?>">
                <img src="<?php echo asset('assets/images/etiqafinans_logo_coloured.png'); ?>">
                <span class="logo-text">EtiqaFinans</span>
                <span class="logo-sub-text">Own with ease</span></a>
        </div>

        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-toggle"
            aria-controls="navbar-toggle" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"><i class="ti-menu"> </i></span>
        </button>

        <div class="collapse navbar-collapse" id="navbar-toggle">
            <div class="d-lg-none d-flex justify-content-between px-4 py-3 align-items-center">
                <a href="javascript:;" class="close-menu"><i class="mdi mdi-close"></i></a>
            </div>
            <ul class="navbar-nav ml-auto align-items-center">
                <li class="nav-item">
                    <a class="nav-link <?php echo $routeName === 'website.home' ? 'active' : ''; ?>" href="<?php echo route('website.home'); ?>">Home</a>
                </li>

                <?php if(isset($product_detail) && $product_detail?->cat_info?->slug !== 'learning'): ?>
                    <li class="nav-item">
                        <a class="nav-link <?php echo !str_starts_with($routeName, 'website') && !in_array($routeName, ['login.form', 'register.form']) ? 'active' : ''; ?>" href="<?php echo route('home'); ?>">Shop</a>
                    </li>
                <?php elseif(!isset($product_detail)): ?>
                    <li class="nav-item">
                        <a class="nav-link <?php echo !str_starts_with($routeName, 'website') && !in_array($routeName, ['login.form', 'register.form']) ? 'active' : ''; ?>" href="<?php echo route('home'); ?>">Shop</a>
                    </li>
                <?php endif; ?>

                <li class="nav-item">
                    <a class="nav-link <?php echo $routeName === 'website.for-business' ? 'active' : ''; ?>" href="<?php echo route('website.for-business'); ?>">For Business</a>
                </li>

                <?php if(isset($product_detail) && $product_detail?->cat_info?->slug === 'learning'): ?>
                    <li class="nav-item">
                        <a class="nav-link active" href="<?php echo route('website.training-n-consultancy'); ?>">Training & Consultancy</a>
                    </li>
                <?php elseif(!isset($product_detail)): ?>
                    <li class="nav-item">
                        <a class="nav-link <?php echo in_array($routeName, ['website.for-training', 'website.training-n-consultancy']) ? 'active' : ''; ?>" href="<?php echo route('website.training-n-consultancy'); ?>">Training & Consultancy</a>
                    </li>
                <?php endif; ?>

                <li class="nav-item">
                    <a class="nav-link <?php echo $routeName === 'website.about' ? 'active' : ''; ?>" href="<?php echo route('website.about'); ?>">About Us</a>
                </li>

                <?php if(auth()->guard()->guest()): ?>
                    <li class="nav-item">
                        <a class="nav-link <?php echo $routeName === 'login.form' ? 'active' : ''; ?>" href="<?php echo route('login.form'); ?>">Sign In</a>
                    </li>
                <?php endif; ?>

                <?php if(auth()->check()): ?>
                    <?php if(auth()->user()->role === 'user'): ?>
                        <li class="nav-item dropdown">
                            <a href="#0" class="nav-link" role="button" data-toggle="dropdown"
                                aria-haspopup="true" aria-expanded="false"><?php echo svg_html('user-tick'); ?></a>
                            <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <a class="dropdown-item" href="<?php echo route('user'); ?>">My Account</a>
                                <a class="dropdown-item" href="<?php echo route('user.order.index'); ?>">My Orders</a>
                                <a class="dropdown-item" href="<?php echo route('cart'); ?>">My Cart</a>
                                <a class="dropdown-item" href="#0">Notifications</a>
                                <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="#0">Support</a>
                                <a class="dropdown-item" href="<?php echo route('shop.logout'); ?>">Logout</a>
                            </div>
                        </li>
                    <?php elseif(auth()->user()->role === 'admin'): ?>
                        <li class="nav-item dropdown">
                            <a href="#0" class="nav-link" role="button" data-toggle="dropdown"
                                aria-haspopup="true" aria-expanded="false"><?php echo svg_html('user-tick'); ?></a>
                            <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <a class="dropdown-item" href="<?php echo route('admin'); ?>">Dashboard</a>
                                <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="<?php echo route('shop.logout'); ?>">Logout</a>
                            </div>
                        </li>
                    <?php endif; ?>
                <?php endif; ?>

                <?php if(auth()->guest()): ?>
                    <li class="nav-item">
                        <a class="btn btn-etiqa-yellow text-white <?php echo $routeName === 'contact' ? 'active' : ''; ?>"
                            style="background: #FFCC4D; color: #FDFDFF; white-space: nowrap " href="<?php echo route('register.form'); ?>">Create
                            Account</a>
                    </li>
                <?php else: ?>
                    <li class="nav-item">
                        <a class="btn btn-etiqa-yellow text-white" style="background: #FFCC4D; color: #FDFDFF"
                            href="#0">Get
                            EtiqaFinans App</a>
                    </li>
                <?php endif; ?>

            </ul>
        </div>

    </div>

    <?php if(auth()->guard()->check()): ?>
        <div class="d-sm-none" style="position: absolute;  right: 46px; top: 10px;">
            <?php echo $__env->yieldContent('icon-menu'); ?>
        </div>
    <?php endif; ?>
</nav>

<?php if($showBottomMenu): ?>
    <nav class="navbar navbar-expand-lg category-menu">
        <div class="container position-relative categories-menu">
            <ul class="nav nav-nowrap">
                <li class="nav-item">
                    <a style="padding-left: 0" class="nav-link <?php echo $routeName === 'home' ? 'active' : ''; ?>"
                        href="<?php echo route('home'); ?>">All Categories</a>
                </li>
                <?php if(isset($categories)): ?>
                    <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($item->is_parent && $item->slug !== 'learning'): ?>
                            <li class="nav-item">
                                <a class="nav-link <?php echo $routeName === 'product-cat' && data_get(request()->route()->parameters, 'slug') == $item->slug ? 'active' : ''; ?>"
                                    href="<?php echo route('product-cat', ['slug' => $item->slug]); ?>"><?php echo $item->title; ?></a>
                            </li>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </ul>

            <div class="d-none d-sm-block">
                <?php echo $__env->yieldContent('icon-menu'); ?>
            </div>

            <form method="GET" action="<?php echo e(route('product.search')); ?>" class="search-box">
                <div class="form-group has-search input-material">
                    <span class="ti-search form-control-feedback"></span>
                    <input type="search" name="q" class="form-control"
                        placeholder="Search our products, or categories.">
                </div>
            </form>
        </div>
    </nav>
<?php endif; ?>

</div>

<?php $__env->startPush('scripts'); ?>
    <script>
        $(function() {
            $('.category-menu').on('click', '.search-toggle', function(e) {
                const selector = $(this).data('selector');

                $(selector).toggleClass('show').find('.search-input').focus();
                $(this).toggleClass('active');

                e.preventDefault();
            });
        })
    </script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/ecommerce/resources/views/website/partials/header.blade.php ENDPATH**/ ?>

Al-HUWAITI Shell