
<?php $__env->startSection('title'); ?>
    <title><?php echo e(__('user.Dashboard')); ?></title>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('user-dashboard'); ?>
<div class="row">
    <div class="col-12 col-xl-9 ms-auto">
        <div class="wsus__dashboard_main_content">
            <div class="wsus__manage_dashboard">
                <h4 class="heading"><?php echo e(__('user.Dashboard')); ?></h4>
                <div class="row">
                    <div class="col-xl-4 col-sm-6 col-md-4">
                        <div class="wsus__manage_single">
                            <i class="far fa-list"></i>
                            <span><?php echo e($publishProperty); ?></span>
                            <p><?php echo e(__('user.Published Property')); ?></p>
                        </div>
                    </div>
                    <div class="col-xl-4 col-sm-6 col-md-4">
                        <div class="wsus__manage_single green">
                          <i class="fab fa-buromobelexperte"></i>
                            <span><?php echo e($expiredProperty); ?></span>
                            <p><?php echo e(__('user.Expired Property')); ?></p>
                        </div>
                    </div>
                    <div class="col-xl-4 col-sm-6 col-md-4">
                        <div class="wsus__manage_single sky">
                            <i class="far fa-list"></i>
                            <span><?php echo e($myReviews); ?></span>
                            <p><?php echo e(__('user.My Reviews')); ?></p>
                        </div>
                    </div>
                    <div class="col-xl-4 col-sm-6 col-md-4">
                      <div class="wsus__manage_single blue">
                          <i class="far fa-list"></i>
                          <span><?php echo e($clientReviews); ?></span>
                          <p><?php echo e(__('user.Client Reviews')); ?></p>
                      </div>
                    </div>
                    <div class="col-xl-4 col-sm-6 col-md-4">
                        <div class="wsus__manage_single orange">
                            <i class="far fa-list"></i>
                            <span><?php echo e($wishlists->count()); ?></span>
                            <p><?php echo e(__('user.Wishlists')); ?></p>
                        </div>
                    </div>
                    <div class="col-xl-4 col-sm-6 col-md-4">
                        <div class="wsus__manage_single purple">
                            <i class="far fa-list"></i>
                            <span><?php echo e($orders->count()); ?></span>
                            <p><?php echo e(__('user.Orders')); ?></p>
                        </div>
                    </div>
                    <?php if($activeOrder): ?>
                    <div class="col-xl-12">
                        <?php
                            $package=$activeOrder->package;
                        ?>
                      <div class="wsus__package_details">
                        <h5 class="sub_heading"><?php echo e(__('user.Active Order')); ?> <a class="common_btn" href="<?php echo e(route('user.purchase.renew', $package->id )); ?>"><?php echo e(__('Renew Package')); ?></a></h5>
                        <div class="table-responsive">
                            <table class="table">
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Package Name')); ?></td>
                                    <td width="50%"><?php echo e($package->package_name); ?></td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Price')); ?></td>
                                    <td width="50%"><?php echo e($currency); ?><?php echo e($package->price); ?></td>
                                </tr>

                                 <tr>
                                    <td width="50%"><?php echo e(__('user.Expired Date')); ?></td>
                                    <td width="50%">
                                        <?php if($activeOrder->expired_day==-1): ?>
                                            <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($activeOrder->expired_date); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_property==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_property); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Aminity')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_aminities==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_aminities); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Nearest Place')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_nearest_place==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_nearest_place); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Photo')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_photo==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_photo); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>

                                <tr>
                                    <td width="50%"><?php echo e(__('user.Featured Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->is_featured==1): ?>
                                        <?php echo e(__('user.Available')); ?>

                                        <?php else: ?>
                                        <?php echo e(__('user.Not Available')); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Featured Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_feature_property==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_feature_property); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>

                                <tr>
                                    <td width="50%"><?php echo e(__('user.Top Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->is_top==1): ?>
                                        <?php echo e(__('user.Available')); ?>

                                        <?php else: ?>
                                        <?php echo e(__('user.Not Available')); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Top Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_top_property==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_top_property); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Urgent Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->is_urgent==1): ?>
                                        <?php echo e(__('user.Available')); ?>

                                        <?php else: ?>
                                        <?php echo e(__('user.Not Available')); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="50%"><?php echo e(__('user.Urgent Property')); ?></td>
                                    <td width="50%">
                                        <?php if($package->number_of_urgent_property==-1): ?>
                                        <?php echo e(__('user.Unlimited')); ?>

                                        <?php else: ?>
                                            <?php echo e($package->number_of_urgent_property); ?>

                                        <?php endif; ?>
                                    </td>
                                </tr>

                            </table>
                        </div>
                      </div>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\topland\script_content\main_files\resources\views/user/dashboard.blade.php ENDPATH**/ ?>