

<?php $__env->startSection('pagename'); ?>
 - <?php echo e(__('Dashboard')); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

    <!--   hero area start   -->
    <div class="breadcrumb-area services service-bg" style="background-image: url('<?php echo e(asset  ('assets/front/img/' . $bs->breadcrumb)); ?>');background-size:cover;">
        <div class="container">
            <div class="breadcrumb-txt">
                <div class="row">
                    <div class="col-xl-7 col-lg-8 col-sm-10">
                        <h1><?php echo e(__('Dashboard')); ?></h1>
                        <ul class="breadcumb">
                            <li><?php echo e(__('Dashboard')); ?></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="breadcrumb-area-overlay"></div>
    </div>
    <!--   hero area end    -->
 <!--====== CHECKOUT PART START ======-->
 <section class="user-dashbord">
    <div class="container">
        <div class="row">
            <?php echo $__env->make('user.inc.site_bar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div class="col-lg-9">
                <div class="row mb-5">
                    <div class="col-lg-12">
                        <div class="row">
                            <?php if($bex->is_shop == 1 && $bex->catalog_mode == 0): ?>
                            <div class="col-md-6">
                                <a class="card card-box box-1 mb-4 product" href="<?php echo e(route('user-orders')); ?>">
                                    <div class="card-info">
                                        <h4><?php echo e(__('Product Orders')); ?></h4>
                                        <p><?php echo e(App\ProductOrder::where('user_id',Auth::user()->id)->count()); ?></p>
                                    </div>
                                </a>
                            </div>
                            <?php endif; ?>

                            <?php if($bex->is_course == 1): ?>
                            <div class="col-md-6">
                                <a class="card card-box box-2 course" href="<?php echo e(route('user.course_orders')); ?>">
                                    <div class="card-info">
                                        <h4><?php echo e(__('Enrolled Courses')); ?></h4>
                                        <p><?php echo e(App\CoursePurchase::where('user_id',Auth::user()->id)->where('payment_status', 'Completed')->count()); ?></p>
                                    </div>
                                </a>
                            </div>
                            <?php endif; ?>

                            <?php if($bex->is_event == 1): ?>
                            <div class="col-md-6 mb-4">
                                <a class="card card-box box-3 event" href="<?php echo e(route('user-events')); ?>">
                                    <div class="card-info">
                                        <h4><?php echo e(__('Event Bookings')); ?></h4>
                                        <p><?php echo e(App\EventDetail::where('user_id',Auth::user()->id)->count()); ?></p>
                                    </div>
                                </a>
                            </div>
                            <?php endif; ?>

                            <?php if($bex->is_ticket == 1): ?>
                            <div class="col-md-6 mb-4">
                                <a class="card card-box box-1 support" href="<?php echo e(route('user-tickets')); ?>">
                                    <div class="card-info">
                                        <h4><?php echo e(__('Support Tickets')); ?></h4>
                                        <p><?php echo e(App\Ticket::where('user_id',Auth::user()->id)->count()); ?></p>
                                    </div>
                                </a>
                            </div>
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="col-lg-12">
                        <div class="user-profile-details">
                            <div class="account-info">
                                <div class="title">
                                    <h4><?php echo e(__('Account Information')); ?></h4>
                                </div>
                                <div class="main-info">
                                    <h5><?php echo e(convertUtf8($user->username)); ?></h5>
                                    <ul class="list">
                                        <li><span><?php echo e(__('Email')); ?>:</span></li>
                                        <li><span><?php echo e(__('Phone')); ?>:</span></li>
                                        <li><span><?php echo e(__('City')); ?>:</span></li>
                                        <li><span><?php echo e(__('State')); ?>:</span></li>
                                        <li><span><?php echo e(__('Address')); ?>:</span></li>
                                        <li><span><?php echo e(__('Country')); ?>:</span></li>
                                    </ul>
                                    <ul class="list">
                                        <li><?php echo e(convertUtf8($user->email)); ?></li>
                                        <li><?php echo e(convertUtf8($user->number)); ?></li>
                                        <li><?php echo e(convertUtf8($user->fax)); ?></li>
                                        <li><?php echo e(convertUtf8($user->city)); ?></li>
                                        <li><?php echo e(convertUtf8($user->state)); ?></li>
                                        <li><?php echo e(convertUtf8($user->address)); ?></li>
                                        <li><?php echo e(convertUtf8($user->country)); ?></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <?php if($bex->is_shop == 1): ?>
                    
                <?php endif; ?>
            </div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<script>
    $(document).ready(function() {
        $('#ordersTable').DataTable({
            responsive: true,
            ordering: false
        });
    });
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\plusagency\without-license\plusagency-3.2\core\resources\views/user/dashboard.blade.php ENDPATH**/ ?>