<?php $__env->startSection('content'); ?>
<style>
    .ad-item{
        width: 100%;
        padding: 10px;
        margin-top: 10px;
        background-image: linear-gradient(#f8bbbc, #d5b2b35c);
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: space-around;
        border-radius: 10px;
        border: 1px solid rgb(247, 142, 142);
    }
    .left-box{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .right-box{
        width: 30%;
        display: flex;
        flex-direction: column;
    }
</style>
<br>
<section class="cmn-section">
    <div class="container">
        <div class="row justify-content-center">
             <div class="stat-box">
 <div class="box">
     <img src="https://i.ibb.co/J31bqRX/ads-campaign-5388308.png" height="60px" width="60px"><br>
        <h2>বিজ্ঞাপন দেখে ইনকাম করুন</h2>
        <p class="description"> 
            <?php $__empty_1 = true; $__currentLoopData = $ads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ad): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <div class="ad-item">
                <div class="left-box">
                    <h6 class="text-black"><?php echo e(__($ad->title)); ?></h6>
                    <p class="text-dark"><?php echo app('translator')->get('সময়'); ?> : <?php echo e($ad->duration); ?> সেকেন্ড</p>
                </div>
                <div class="right-box">
                    <p class="text-danger text-end text-sm"><b><?php echo e($general->cur_sym); ?><?php echo e(showAmount($ad->amount)); ?></b></p>
                    <a href="<?php echo e(route('user.ptc.show',encrypt($ad->id.'|'.auth()->user()->id))); ?>" class="btn btn-danger"><?php echo app('translator')->get('দেখুন'); ?></a>
                </div>
            </div>
            
			
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>

            <div class="col-12">
                <div class="card custom--card ptc-card">
                    <div class="card-body">
                        <h2 class="text-center text--base"><?php echo e(__($emptyMessage)); ?></h2>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </div></p>
    </div>

           

    </div>
</section>
<div class="py-5">&nbsp;</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make($activeTemplate.'layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\client2\core\resources\views/templates/smartlab/user/ptc/index.blade.php ENDPATH**/ ?>