JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "a89897d441405032915eac35317ebe67.php"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/a89897d441405032915eac35317ebe67.php
File size: 7.08 KB
MIME-type: text/x-php
Charset: utf-8

<?php $__env->startPush('title', get_phrase('Subscriber')); ?>

<?php $__env->startSection('content'); ?>
    <!-- Mani section header and breadcrumb -->
    <div class="ol-card radius-8px print-d-none">
        <div class="ol-card-body my-3 py-4 px-20px">
            <div class="d-flex align-items-center justify-content-between gap-3 flex-wrap flex-md-nowrap">
                <h4 class="title fs-16px">
                    <i class="fi-rr-settings-sliders me-2"></i>
                    <span><?php echo e(get_phrase('Subscribers')); ?></span>
                </h4>
            </div>
        </div>
    </div>


    <div class="row">
        <div class="col-xl-12">
            <div class="ol-card p-4">
                <div class="ol-card-body">

                    <div class="row print-d-none mb-3 mt-3 row-gap-3">
                        <div class="col-md-6 pt-2 pt-md-0">
                            <div class="custom-dropdown">
                                <button class="dropdown-header btn ol-btn-light">
                                    <?php echo e(get_phrase('Export')); ?>

                                    <i class="fi-rr-file-export ms-2"></i>
                                </button>
                                <ul class="dropdown-list">
                                    <li>
                                        <a class="dropdown-item" href="#" onclick="downloadPDF('.print-table', 'newsletter-subscribers')"><i class="fi-rr-file-pdf"></i> <?php echo e(get_phrase('PDF')); ?></a>
                                    </li>
                                    <li>
                                        <a class="dropdown-item" href="#" onclick="window.print();"><i class="fi-rr-print"></i> <?php echo e(get_phrase('Print')); ?></a>
                                    </li>
                                </ul>
                            </div>
                        </div>

                        <div class="col-md-6">
                            <form action="<?php echo e(route('admin.subscribed_user')); ?>" method="get">
                                <div class="row row-gap-3">
                                    <div class="col-md-9">
                                        <div class="search-input">
                                            <input type="text" name="search" value="<?php echo e(request('search')); ?>"
                                                placeholder="<?php echo e(get_phrase('Search Email')); ?>" class="ol-form-control form-control" />

                                        </div>
                                    </div>
                                    <div class="col-md-3">
                                        <button type="submit" class="btn ol-btn-primary w-100" id="submit-button"><?php echo e(get_phrase('Search')); ?></button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>

                    <?php if(count($subscribers) > 0): ?>
                        <div class="table-responsive">
                            <table id="basic-datatable" class="table eTable print-table">
                                <thead>
                                    <tr>
                                        <th>#</th>
                                        <th><?php echo e(get_phrase('Email')); ?></th>
                                        <th><?php echo e(get_phrase('User status')); ?></th>
                                        <th class="print-d-none"><?php echo e(get_phrase('Actions')); ?></th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $__currentLoopData = $subscribers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $subscriber): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php
                                            $user_details = App\Models\User::where('email', $subscriber->email)->first();
                                        ?>
                                        <tr>
                                            <td><?php echo e($key + 1); ?></td>

                                            <td><?php echo e($subscriber->email); ?></td>
                                            <td>
                                                <?php if($user_details): ?>
                                                    <span class="badge bg-success"><?php echo e(get_phrase('Registered User')); ?></span>
                                                <?php else: ?>
                                                    <span class="badge bg-warning"><?php echo e(get_phrase('Not Registered')); ?></span>
                                                <?php endif; ?>
                                            </td>

                                            <td class="print-d-none">
                                                <div class="adminTable-action">
                                                    <button type="button" class="btn ol-btn-light ol-icon-btn" data-bs-toggle="tooltip" title="<?php echo e(get_phrase('Delete')); ?>"
                                                        onclick="confirmModal('<?php echo e(route('admin.subscribed_user.delete', $subscriber->id)); ?>')">
                                                        <i class="fi-rr-trash"></i>
                                                    </button>
                                                </div>
                                            </td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>
                        </div>
                    <?php else: ?>
                        <?php echo $__env->make('admin.no_data', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php endif; ?>
                </div>
                <?php if(count($subscribers) > 0): ?>
                    <div
                        class="admin-tInfo-pagi d-flex justify-content-between justify-content-center align-items-center flex-wrap gr-15">
                        <p class="admin-tInfo">
                            <?php echo e(get_phrase('Showing') . ' ' . count($subscribers) . ' ' . get_phrase('of') . ' ' . $subscribers->total() . ' ' . get_phrase('data')); ?>

                        </p>
                        <?php echo e($subscribers->links()); ?>

                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?><?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/yvrgircc/public_html/ariseskilltech.com/resources/views/admin/newsletter/subscribers.blade.php ENDPATH**/ ?>