403Webshell
Server IP : 54.233.248.239  /  Your IP : 172.28.1.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/a5b31cdeadd7bf9eaed2a93a61051ccfbdf76c9d.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">
    <a href="<?php echo url('oferta/'.$objOferta->slug); ?>">
        <img class="outlet-item__vinho" src="<?php echo $objOferta->thumbnail_principal; ?>" alt="<?php echo $objOferta->titulo;?> <?php echo $objOferta->sub_titulo;?>">
    </a>
        <?php if($objOferta->percentual_desconto > 0):?>
    <div class="outlet-item__desconto"><?php echo number_format($objOferta->percentual_desconto,0);?>%</div>
    <?php endif;?>
    <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(isset($canal->exibir_unidades_restantes) && $canal->exibir_unidades_restantes && $objOferta->estoque <= 70): ?>
        <div class="outlet-item__unidades outlet-item__unidades--<?php echo classe_unidades_restantes($objOferta->estoque); ?>">
            <?php echo e($objOferta->estoque); ?> unid. restantes
        </div>
    <?php endif; ?>
        <?php if (count($objOferta->produtos) == 1){ ?>
    <div class="outlet-item__categoria">
        <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;?>
    </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>
    <?php }else{
    if(count($objOferta->produtos) < 3){ ?>
    <div class="outlet-item__categoria">
            <?php foreach ($objOferta->produtos as $item): ?>
        <div style="position: relative;">
            <img src="<?php echo config('filesystems.path') . "/tipo-de-produto/{$item->produto->tipoDeProduto->thumbnail_principal}"; ?>" alt="<?php echo $item->produto->tipoDeProduto->nome;?>">
        </div>
        <p class="outlet-item__separador">+</p>
        <?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 class="outlet-item__absolute-bottom">
        <div class="flex-between">
            <div class="outlet-item__preco-velho">
                    <?php if($objOferta->preco_mercado != $objOferta->preco_oferta):?>
                R$ <?php echo number_format($objOferta->preco_mercado,2,',','.');?>
                   <?php endif;?>
            </div>
            <div class="outlet-item__preco">
                R$ <?php echo  number_format($objOferta->preco_oferta,2,',','.');?>
            </div>
        </div>
        <div class="flex-between">
            <?php if($objOferta->estoque > 0): ?>
                <input type="number" class="quantidade" value="1">
                <input type="hidden" class="quantidade_by_client" value="<?php echo e($objOferta->quantidade_maxima_por_cliente); ?>">
                <?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->oferta_reserva == 1 ? "btn-indisponivel-canal--right" : "")?> <?php echo $objOferta->estoque > 0 ? "add-cart" : ""?>">
                    <?php echo $textBtnCanal; ?>
            </button>
        </div>
    </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