

<?php $__env->startSection('content'); ?>
<div class="row justify-content-center mb-4">
    <div class="col-md-12">
        <ul class="nav nav-tabs" id="settingTab" role="tablist">
            <li class="nav-item" role="presentation">
                <a class="nav-link <?php echo e(request()->routeIs('setting.setting.profile-setting') ? 'active' : ''); ?>" 
                    href="<?php echo e(route('setting.setting.profile-setting')); ?>" role="tab" 
                    aria-selected="true"
                >
                    <?php echo app('translator')->get('Profile'); ?>
                </a>
            </li> 
                        <li class="nav-item" role="presentation">
                <a class="nav-link <?php echo e(request()->routeIs('setting.setting.change-password') ? 'active' : ''); ?>" 
                    href="<?php echo e(route('setting.setting.change-password')); ?>" 
                    aria-selected="false" 
                >
                    <?php echo app('translator')->get('Change Password'); ?>
                </a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link <?php echo e(request()->routeIs('twofactor.twofactor') ? 'active' : ''); ?>" 
                    href="<?php echo e(route('twofactor.twofactor')); ?>" 
                    aria-selected="false" 
                >
                    <?php echo app('translator')->get('2FA Security'); ?>
                </a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link <?php echo e(request()->routeIs('setting.setting.api-key') ? 'active' : ''); ?>" 
                    href="<?php echo e(route('setting.setting.api-key')); ?>" 
                    aria-selected="false"
                >
                    <?php echo app('translator')->get('Api Key'); ?> 
                </a>
            </li>
                         <li class="nav-item" role="presentation">
                <a class="nav-link <?php echo e(request()->routeIs('setting.setting.ip-allow') ? 'active' : ''); ?>" 
                    href="<?php echo e(route('setting.setting.ip-allow')); ?>" 
                    aria-selected="false"
                >
                   <?php echo app('translator')->get('IP Allow'); ?>
                </a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link <?php echo e(request()->routeIs('setting.setting.help') ? 'active' : ''); ?>" 
                    href="<?php echo e(route('setting.setting.help')); ?>" role="tab" 
                    aria-selected="false"
                >
                    <?php echo app('translator')->get('Support Account'); ?>
                </a>
            </li>
        </ul>
    </div>
</div>

<style>
    .nav-tabs .nav-link{
        border: none !important;
        font-weight: 700;
        color: #7e7e7e;
    }
    .nav-tabs .nav-link.active{
        color: #002046;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
        background: transparent;
    }
</style> 



<div class="row justify-content-center gy-4">
    
    <div class="col-12">
        <div class="page-heading mb-4">
            <h3 class="mb-2"><?php echo e(__($pageTitle)); ?></h3>
         <p>
    <?php echo app('translator')->get('Easily update and manage your profile to keep your account details current. Personalize your experience and adjust your preferences effortlessly.'); ?>
</p>
        </div>
        <hr>
    </div>

    <div class="col-xl-5 col-lg-6">
        <div class="card">
            <div class="card-body">
                <h4 class="mb-2 text-center"><?php echo e(auth()->user()->full_name); ?></h4>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item d-flex justify-content-between align-items-center flex-wrap gap-1">
                        <span class="fw--bold"><i class="las la-user base--color"></i> <?php echo app('translator')->get('Username'); ?></span> 
                        <span><?php echo e(auth()->user()->full_name); ?></span>
                    </li>
                    <li class="list-group-item d-flex justify-content-between align-items-center flex-wrap gap-1">
                        <span class="fw--bold"><i class="las la-envelope base--color"></i> <?php echo app('translator')->get('Email'); ?></span> 
                        <span>[<?php echo e(auth()->user()->email); ?>]</span>
                    </li>
                    <li class="list-group-item d-flex justify-content-between align-items-center flex-wrap gap-1">
                        <span class="fw--bold"><i class="las la-phone base--color"></i> <?php echo app('translator')->get('Mobile'); ?></span>
                        <span>[<?php echo e(auth()->user()->mobile); ?>]</span>
                    </li>
                    
                    <li class="list-group-item d-flex justify-content-between align-items-center flex-wrap gap-1">
                        <span class="fw--bold"><i class="las la-globe base--color"></i> <?php echo app('translator')->get('Traffic'); ?></span>
                         <?php if(auth()->user()->traffic == 'A'): ?>
                        <span class="badge badge--success">Active</span>
                        <?php else: ?> 
                        <span class="badge badge--danger">Inactive</span>
                        <?php endif; ?>
                    </li>
                  <li class="list-group-item d-flex justify-content-between align-items-center flex-wrap gap-1">
                        <span class="fw--bold"><i class="las la-user-tie base--color"></i> <?php echo app('translator')->get('Status'); ?></span>
                        <?php if(auth()->user()->status == 'A'): ?>
                        <span class="badge badge--success">Active</span>
                        <?php else: ?> 
                        <span class="badge badge--danger">Inactive</span>
                        <?php endif; ?>
                    </li>
                </ul>
            </div>
        </div> 
    </div>
    <div class="col-xl-7 col-lg-6">
        <div class="card style--two">
            <div class="card-header d-flex flex-wrap align-items-center justify-content-center">
                <h5 class="card-title"><?php echo app('translator')->get('Profile Setting'); ?></h5>
            </div>
            <div class="card-body p-4">
                <form class="register" action="<?php echo e(route('profile.update')); ?>" method="post" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-md-6">
                            <div class="form-group">
                                <label class="col-form-label"><?php echo app('translator')->get('Name'); ?></label>
                                <input type="text" class="form--control" name="name"
                                value="<?php echo e(auth()->user()->full_name); ?>" required>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                            <label class="col-form-label"><?php echo app('translator')->get('Address'); ?></label>
                            <input type="text" class="form--control" name="address"
                            value="<?php echo e(auth()->user()->address); ?>">
                        </div>
                        </div>
                            <div class="form-group">
                                <button type="submit" class="btn btn--base w-100"><?php echo app('translator')->get('Submit'); ?></button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main-app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/paysafebd23/ovimanager.store/resources/views/profile-setting.blade.php ENDPATH**/ ?>