<?php $__env->startSection('title', dbTrans('admin.Profile page title')); ?>

<?php if (isset($component)) { $__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e = $component; } ?>
<?php $component = App\View\Components\Dashboard\Css::resolve(['link' => 'admin/profile/show'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.css'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Css::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e)): ?>
<?php $component = $__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e; ?>
<?php unset($__componentOriginal87153cb05046bd89775d952622994180bb7c1b1e); ?>
<?php endif; ?>

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

    <header style="background-image: url(<?php echo e($coverPath); ?>)">
        <div class="overlay overlay-black"></div>

        <section id="avatar">
            <img class=" d-inline-block mb-3" src="<?php echo e($avatarPath); ?>" alt="">
            <h5 class="d-inline-block mx-3 mb-0 first-info">
                <span class="name d-block text-white"><?php echo e($row->f_name . ' ' . $row->l_name); ?></span>
                <span class="job font-12"><?php echo e($row->job); ?></span>
            </h5>
        </section>

        <section id="banner" class="">

            <div class="float-left font-13 bg-soft-light text-white py-2 px-3 radius"><?php echo e(dbTrans('admin.Overview')); ?></div>

            <div class=" float-right">
                <?php if($isMyProfile == true): ?>
                    <a href="<?php echo e(adminUrl('profile/edit')); ?>" class="btn btn-success font-13">
                        <i class="fa-regular fa-pen-to-square mx-1"></i>
                        <?php echo e(dbTrans('admin.Edit Profile')); ?>

                    </a>
                <?php elseif(canRole(owner())): ?>
                    <a href="<?php echo e(adminUrl('admins/edit/' . $row->id)); ?>" class="btn btn-success font-13">
                        <i class="fa-regular fa-pen-to-square mx-1"></i>
                        <?php echo e(dbTrans('admin.Edit Profile')); ?>

                    </a>
                <?php endif; ?> <!-- edit link -->
            </div>

        </section><!-- section banner -->
    </header><!-- header -->


    <main id="profile">
        <div class="container-fluid">
            <div class="row">

                <div class=" col-xl-4 col-lg-6 col-md-6 col-sm-12">

                    <div id="info">
                        <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => ''.e(dbTrans('admin.Info')).'','class' => 'shadow-none'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                            <table class="table">
                                <tbody>

                                    <tr>
                                        <th><?php echo e(dbTrans('admin.Full Name')); ?> :</th>
                                        <td class="text-muted"><?php echo e($row->f_name . ' ' . $row->l_name); ?></td>
                                    </tr><!-- name -->

                                    <tr>
                                        <th><?php echo e(dbTrans('admin.Mobile')); ?> :</th>
                                        <td class="text-muted">
                                            <?php if($row->phone == null): ?>
                                                -
                                            <?php else: ?>
                                                <?php echo e($row->phone); ?>

                                            <?php endif; ?>
                                        </td>
                                    </tr><!-- name -->

                                    <tr>
                                        <th><?php echo e(dbTrans('admin.E-mail')); ?> :</th>
                                        <td class="text-muted"><?php echo e($row->email); ?></td>
                                    </tr><!-- email -->

                                    <tr>
                                        <th><?php echo e(dbTrans('admin.Location')); ?> :</th>
                                        <td class="text-muted">
                                            <?php if($row->country == null && $row->city == null): ?>
                                                -
                                            <?php else: ?>
                                                <?php echo e($row->country . ', ' . $row->city); ?>

                                            <?php endif; ?>
                                        </td>
                                    </tr><!-- location -->

                                    <tr>
                                        <th><?php echo e(dbTrans('admin.Joining Date')); ?> :</th>
                                        <td class="text-muted"><?php echo e($row->joining_date); ?></td>
                                    </tr><!-- join data -->

                                </tbody><!-- tbody -->
                            </table><!-- table -->
                         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?>
                    </div><!-- info -->


                    <?php if($portfolio != null): ?>
                        <div id="portfolio">
                            <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => ''.e(dbTrans('admin.Portfolio')).'','class' => 'social-media'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                                <?php $__currentLoopData = socialMedia(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php if($portfolio[$val['name_en']] != null): ?>
                                        <a href="<?php echo e($portfolio[$val['name_en']]); ?>"
                                            title="<?php echo e(Str::headline($val['name_en'])); ?>"
                                            style="background-color: <?php echo e($val['color']); ?>"
                                            class="text-white d-inline-block tip"
                                            target="__blank"><?php echo $val['icon']; ?></a>
                                    <?php endif; ?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?>
                        </div><!-- portfolio -->
                    <?php endif; ?>



                </div><!-- Grid 1 -->

                <div class="col-xl-8 col-lg-6 col-md-6 col-sm-12">

                    <div id="about">
                        <?php if (isset($component)) { $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09 = $component; } ?>
<?php $component = App\View\Components\PanelWithHeading::resolve(['title' => ''.e(dbTrans('admin.About')).'','class' => 'shadow-none'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('panel-with-heading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\PanelWithHeading::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                            <p class="mb-0 text-second font-14">
                                <?php if($row->about == null): ?>
                                    <?php echo e(dbTrans('admin.Not available')); ?>

                                <?php else: ?>
                                    <?php echo e($row->about); ?>

                                <?php endif; ?>
                            </p>
                         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09)): ?>
<?php $component = $__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09; ?>
<?php unset($__componentOriginal91e80a119f881aea9c6213b3256cb8b2f369ed09); ?>
<?php endif; ?>
                    </div><!-- about -->



                </div><!-- Grid 2 -->

            </div>
        </div>
    </main>

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

<?php echo $__env->make('dashboard.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\internal-real-estate\resources\views/dashboard/admin/profile/show.blade.php ENDPATH**/ ?>