403Webshell
Server IP : 54.94.228.101  /  Your IP : 172.28.20.13
Web Server : Apache
System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/vinumday2_0/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/vinumday2_0/storage/framework/views/f7a491762b3ff1a1faeadf6b3f87ab14daf29b6c.php
    <?php if (isset($listaOfertas) && count($listaOfertas) > 0) { ?>
    <?php $ofertas_esgotadas = 0; ?>
        <?php foreach ($listaOfertas as $objOferta) { ?>
        <?php
            if($objOferta->estoque <= 0 && $ofertas_esgotadas == $canal->qtde_ofertas_encerradas && empty($objOferta->oferta_reserva)){
                continue;
            }
        ?>
            <div class="outlet-item premium <?php echo e(($objOferta->grupo_tipo_produto == 'vestuario' ? "outlet-item--{$objOferta->grupo_tipo_produto}": '')); ?>">
                <div class="outlet-item__img <?php echo e(($objOferta->grupo_tipo_produto == 'vestuario' ? $objOferta->grupo_tipo_produto: '')); ?>">
                    <a href="<?php echo url('oferta/'.$objOferta->slug); ?>">
                        <img class="outlet-item__vinho <?php echo $objOferta->resolucao_imagem;?><?php echo e(($objOferta->grupo_tipo_produto == 'vestuario' ? " {$objOferta->grupo_tipo_produto}": '')); ?>" src="<?php echo $objOferta->thumbnail_principal; ?>" alt="<?php echo $objOferta->titulo;?> <?php echo $objOferta->sub_titulo;?>">
                    </a>
                </div>
                <?php if($objOferta->percentual_desconto > 0):?>
                <div class="outlet-item__desconto premium"><?php echo number_format($objOferta->percentual_desconto,0);?>%</div>
                <?php endif;?>
                <div class="outlet-item__texto">
                    <div class="flex-between">
                        <div class="outlet-item__left">
                            <h2 class="outlet-item__title"><a href="<?php echo url('oferta/'.$objOferta->slug); ?>"><?php echo $objOferta->titulo;?> <?php echo $objOferta->sub_titulo;?></a></h2>
                            <?php if (count($objOferta->produtos) == 1){ ?>
                                <div class="flex-between">
                                    <div class="outlet-item__categoria">
                                        <?php if($objOferta->nome_tipo_produto == 'MasterClass'): ?>
                                            <i class="fa fa-graduation-cap" style="font-size: 20px; margin-right: 5px"></i>
                                            <?php echo e($objOferta->nome_tipo_produto); ?>

                                        <?php else: ?>
                                            <img class="mr-5" src="<?php echo config('filesystems.path') . "/tipo-de-produto/{$objOferta->thumbnail_tipo_produto}"; ?>" alt="<?php echo $objOferta->nome_tipo_produto;?>">
                                                <?php echo $objOferta->nome_tipo_produto;?>
                                        <?php endif; ?>
                                    </div>
                                    <div class="outlet-item__pais">
                                        <?php if($objOferta->nome_tipo_produto != 'MasterClass'): ?>
                                            <img class="mr-5" src="<?php echo url('uploads/pais/'.$objOferta->thumbnail_pais); ?>" alt="<?php echo $objOferta->nome_pais;?>">
                                                <?php echo $objOferta->nome_pais;?>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            <?php }else{ ?>
                                <div class="flex-between">
                                    <?php if(count($objOferta->produtos) < 3){ ?>
                                        <div class="outlet-item__categoria">
                                            <?php foreach ($objOferta->produtos as $item): ?>
                                                <?php if($item->produto->tipoDeProduto->nome == 'MasterClass'): ?>
                                                    <i class="fa fa-graduation-cap" style="font-size: 20px; margin-right: 5px"></i>
                                                    <p class="outlet-item__separador">+</p>
                                                <?php else: ?>
                                                    <img src="<?php echo config('filesystems.path') . "/tipo-de-produto/{$item->produto->tipoDeProduto->thumbnail_principal}"; ?>" alt="<?php echo $item->produto->tipoDeProduto->nome;?>">
                                                    <p class="outlet-item__separador">+</p>
                                                <?php endif; ?>
                                            <?php endforeach ?>
                                        </div>
                                        <div class="outlet-item__pais">
                                            <?php foreach ($objOferta->produtos as $item): ?>
                                                <?php if($item->produto->tipoDeProduto->nome != 'MasterClass'): ?>
                                                    <img src="<?php echo url('uploads/pais/'.$item->produto->paisDeOrigem->thumbnail_principal); ?>" alt="<?php echo $item->produto->paisDeOrigem->nome;?>">
                                                    <p class="outlet-item__separador">+</p>
                                                <?php endif; ?>
                                            <?php endforeach ?>
                                        </div>
                                    <?php } ?>
                                </div>
                            <?php } ?>
                        </div>
                        <div class="outlet-item__acao">
                            <?php if(count($objOferta->produtos) == 1 && $objOferta->grupo_tipo_produto == 'vestuario'): ?>
                                <?php if(!app('mobile-detect')->isMobile()) : ?>
                                    <div class="flex-between">
                                        <?php if($objOferta->preco_mercado != $objOferta->preco_oferta):?>
                                        <div class="outlet-item__preco-velho">
                                            R$ <?php echo number_format($objOferta->preco_mercado,2,',','.');?>
                                        </div>
                                        <?php endif;?>
                                        <div class="outlet-item__preco">
                                            R$ <?php echo  number_format($objOferta->preco_oferta,2,',','.');?>
                                            <input type="hidden" class="quantidade_by_client" value="<?php echo $objOferta->quantidade_maxima_por_cliente;?>">
                                        </div>
                                    </div>
                                    <div class="flex-between justify-end">
                                        <?php if($objOferta->estoque > 0): ?>
                                        <input type="number" class="quantidade" value="1">
                                        <?php if(count($objOferta->produtos) == 1 && $objOferta->grupo_tipo_produto == 'vestuario'): ?>
                                        <select class="variacao" name="variacao" id="variacao" style="margin-left: 10px; padding-right: 40px;">
                                            <?php $__currentLoopData = $objOferta->produtos[0]->produto->tipo->variacoes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $variacao): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($variacao->id); ?>"><?php echo e($variacao->nome); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <?php endif; ?>
                                        <?php endif; ?>
                                        <?php
                                        $classBtnCanal = "comprar";
                                        $textBtnCanal  = "Comprar";
                                        if($objOferta->estoque <= 0 && empty($objOferta->oferta_reserva)){
                                            $classBtnCanal = "esgotado";
                                            $textBtnCanal  = "Oferta Esgotada";
                                        }elseif($objOferta->oferta_reserva == 1 && $objOferta->estoque <= 0){
                                            $classBtnCanal = "indisponivel";
                                            $textBtnCanal  = "Indisponível no momento";
                                        }
                                        ?>
                                        <button data-oferta="<?php echo $objOferta->id; ?>" class="btn-<?php echo $classBtnCanal; ?>-canal <?php echo $objOferta->estoque > 0 ? "add-cart" : ""?>">
                                            <?php echo $textBtnCanal; ?>
                                        </button>
                                    </div>
                                <?php else: ?>
                                    <div class="outlet-item__absolute-bottom--variacao outlet-item__absolute-bottom--variacao-quantidade">
                                        <div class="flex-between">
                                            <div class="outlet-item__quantidade">
                                                <input type="number" class="quantidade" value="1" max="99" min="1">
                                            </div>
                                            <div class="outlet-item__variacao">
                                                <select class="variacao" name="variacao" id="variacao">
                                                    <?php $__currentLoopData = $objOferta->produtos[0]->produto->tipo->variacoes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $variacao): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <option value="<?php echo e($variacao->id); ?>"><?php echo e($variacao->nome); ?></option>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                               </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="outlet-item__absolute-bottom outlet-item__absolute-bottom--variacao-preco">
                                        <div class="flex-between">
                                            <p>
                                                <span class="outlet-item__preco-velho">
                                                    <?php if($objOferta->preco_mercado != $objOferta->preco_oferta && $objOferta->tipo != 'S'):?>
                                                        R$ <?php echo number_format($objOferta->preco_mercado, 2, ',', '.'); ?>
                                                    <?php endif;?>
                                                </span>
                                                <span class="outlet-item__preco">
                                                    R$ <?php echo number_format($objOferta->preco_oferta, 2, ',', '.'); ?>
                                                    <input type="hidden" class="quantidade_by_client" value="<?php echo $objOferta->quantidade_maxima_por_cliente; ?>">
                                                </span>
                                            </p>
                                            <?php
                                            $classBtnCanal = "comprar";
                                            $textBtnCanal  = "Comprar";
                                            if($objOferta->estoque <= 0 && empty($objOferta->oferta_reserva)){
                                                $classBtnCanal = "esgotado";
                                                $textBtnCanal  = "Oferta Esgotada";
                                            }elseif($objOferta->oferta_reserva == 1 && $objOferta->estoque <= 0){
                                                $classBtnCanal = "indisponivel";
                                                $textBtnCanal  = "Indisponível no momento";
                                            }
                                            ?>
                                            <button data-oferta="<?php echo $objOferta->id; ?>" class="btn-<?php echo $classBtnCanal; ?>-canal <?php echo $objOferta->estoque > 0 ? "add-cart" : ""?>">
                                                <?php echo $textBtnCanal; ?>
                                            </button>
                                        </div>
                                    </div>
                                <?php endif; ?>
                            <?php else: ?>
                                 <div class="flex-between">
                                    <?php if($objOferta->preco_mercado != $objOferta->preco_oferta):?>
                                    <div class="outlet-item__preco-velho">
                                        R$ <?php echo number_format($objOferta->preco_mercado,2,',','.');?>
                                    </div>
                                    <?php endif;?>
                                    <div class="outlet-item__preco">
                                        R$ <?php echo  number_format($objOferta->preco_oferta,2,',','.');?>
                                        <input type="hidden" class="quantidade_by_client" value="<?php echo $objOferta->quantidade_maxima_por_cliente;?>">
                                    </div>
                                </div>
                                <div class="flex-between justify-end">
                                    <?php if($objOferta->estoque > 0): ?>
                                    <input type="number" class="quantidade" value="1">
                                    <?php if(count($objOferta->produtos) == 1 && $objOferta->grupo_tipo_produto == 'vestuario'): ?>
                                    <select class="variacao" name="variacao" id="variacao" style="margin-left: 10px;">
                                        <?php $__currentLoopData = $objOferta->produtos[0]->produto->tipo->variacoes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $variacao): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($variacao->id); ?>"><?php echo e($variacao->nome); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                    <?php endif; ?>
                                    <?php endif; ?>
                                    <?php
                                    $classBtnCanal = "comprar";
                                    $textBtnCanal  = "Comprar";
                                    if($objOferta->estoque <= 0 && empty($objOferta->oferta_reserva)){
                                        $classBtnCanal = "esgotado";
                                        $textBtnCanal  = "Oferta Esgotada";
                                    }elseif($objOferta->oferta_reserva == 1 && $objOferta->estoque <= 0){
                                        $classBtnCanal = "indisponivel";
                                        $textBtnCanal  = "Indisponível no momento";
                                    }
                                    ?>
                                    <button data-oferta="<?php echo $objOferta->id; ?>" class="btn-<?php echo $classBtnCanal; ?>-canal <?php echo $objOferta->estoque > 0 ? "add-cart" : ""?>">
                                        <?php echo $textBtnCanal; ?>
                                    </button>
                                </div>
                            <?php endif; ?>
                        </div>
                    </div>
                    <hr class="hr">
                    <p class="outlet-item__description"><?php echo $objOferta->resumo_texto;?></p>
                </div>
            </div>
        <?php if($objOferta->estoque <= 0 && empty($objOferta->oferta_reserva)){ $ofertas_esgotadas++; } ?>
        <?php } // endforeach ?>
    <?php }else{ // else first if ?>
        <div class="outlet-result">
            <p>Nehum produto encontrado!</p>
        </div>
    <?php } // endif ?>

Youez - 2016 - github.com/yon3zu
LinuXploit