
<?php $__env->startSection('content'); ?>
    <!-- begin::main content -->
    <main class="main-content">

        <div class="container">

            <!-- begin::page header -->
            <div class="page-header">
                <h3>Profile</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">Dashboard</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Profile</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="profile m-b-20 p-30 d-lg-flex align-items-center justify-content-between"
                data-backround-image="<?php echo e(asset('public/admin/media/image/image1.png')); ?>">
                <div class="d-flex align-items-center">
                    <div>
                        <figure class="avatar avatar-xl m-r-20">
                            <img src="<?php echo e(!empty($myprofile->profile_pics) ? $myprofile->profile_pics : asset('public/admin/media/image/avatar.jpg')); ?>"
                                class="rounded-circle" alt="...">
                        </figure>
                    </div>
                    <div class="text-white">
                        <div>
                            <h3>
                                <?php echo e($myprofile->name); ?>

                                <a href="<?php echo e(asset('edit-profile')); ?>" data-toggle="tooltip" title="Edit Profile"
                                    class="font-size-15 text-white btn-floating m-l-5">
                                    <i class="fa fa-pencil"></i>
                                </a>
                            </h3>
                            
                        </div>
                    </div>
                </div>

            </div>

            <div class="row row-sm">

                <div class="col-md-6">
                    <?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>

                    <div class="card">
                        <div class="card-body">
                            <h6 class="card-title d-flex justify-content-between align-items-center">
                                Information

                            </h6>
                            <div class="row mb-3">
                                <div class="col-6 text-muted">Name:</div>
                                <div class="col-6"><?php echo e($myprofile->name); ?></div>
                            </div>
                            <div class="row mb-3">
                                <div class="col-6 text-muted">Phone:</div>
                                <div class="col-6"><?php echo e($myprofile->phone); ?></div>
                            </div>
                            <div class="row mb-3">
                                <div class="col-6 text-muted">Email:</div>
                                <div class="col-6"><?php echo e($myprofile->email); ?></div>
                            </div>
                            <div class="row mb-3">
                                <div class="col-6 text-muted">Company:</div>
                                <div class="col-6"><?php echo e($myprofile->institute); ?></div>
                            </div>
                        </div>
                        <div class="card-footer">
                            <a class="btn btn-xs btn-dark text-white" href="<?php echo e(asset('edit-profile')); ?>"><i
                                    class="fa fa-edit"></i>&nbsp;Edit</a>
                            <a class="btn btn-xs btn-github text-white" href="<?php echo e(asset('change-password')); ?>"><i
                                    class="fa fa-refresh"></i>&nbsp;Change Password</a>
                        </div>
                    </div>
                </div>

            </div>

        </div>

    </main>
    <!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
    <script>
        $(document).ready(function() {
            $('#customCheck').change(function() {
                $.ajax({
                    type: 'POST',
                    url: "<?php echo e(asset('two-factor-change')); ?>",
                    data: {
                        "_token": "<?php echo e(csrf_token()); ?>",
                        "twofactor": $(this).is(':checked')
                    },
                    headers: {
                        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                    },
                    success: function(data) {
                        location.reload();
                    }
                });
            });


        });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\blurb_erp\resources\views/superadmin/profile/admin-profile.blade.php ENDPATH**/ ?>