PATH:
home
/
rwabteecom
/
project_11
/
storage
/
framework
/
views
/
Editing: 87a36e8aee0faf13ce96ee8ea29a049f.php
<?php $__env->startSection('body'); ?> <form id="photo-upload-form" class="d-none"> <input type="file" accept="image/png, image/jpeg" name="profileImage" /> </form> <div class="profile-page py-4"> <div class="container text-center col-12 col-lg-10 col-xl-8 mx-auto"> <div class="section-con mb-4 text-start"> <div class="p-4 d-flex justify-content-center justify-content-md-start align-items-center flex-wrap flex-column flex-md-row update-profile-img"> <div class="mx-auto mx-md-0 mb-3 me-md-4 mb-md-0 text-center profileimg-con"> <img src="<?php echo e($user->profileImage); ?>" class="img-fluid" id="userprofileImage" alt="profile"> </div> <div class="text-center text-md-start"> <h5 class="mb-1"><?php echo e($user->name); ?></h5> <p><?php echo e($user->email); ?></p> <div class="d-flex align-items-center flex-wrap"> <button class="form-label main-btn mb-0 me-3 px-4" id="profile-img-select"> <?php echo e(__('Select an image')); ?> </button> </div> </div> </div> <form id="update-profile-data" class="p-4"> <?php echo csrf_field(); ?> <div class="mb-4"> <label class="input-label"> <?php echo e(__('User Name')); ?> </label> <input class="px-3 formInput" type="text" value="<?php echo e($user->name); ?>" name="name" placeholder=" <?php echo e(__('User Name')); ?>" required> </div> <div class="my-4"> <label class="input-label"> <?php echo e(__('User Email')); ?> </label> <input class="px-3 formInput" type="email" value="<?php echo e($user->email); ?>" name="email" placeholder="<?php echo e(__('User Email')); ?>"> </div> <button class="main-btn profile-btn px-4"> <?php echo e(__('Update Info.')); ?> </button> </form> </div> <form id="update-profile-password" class="py-4 px-3 px-sm-4 section-con mb-4 text-start"> <?php echo csrf_field(); ?> <h5 class="section-title mb-4"><?php echo e(__('Update Password')); ?></h5> <div class="my-4"> <label class="input-label"> <?php echo e(__('Current password')); ?> </label> <input class="px-3 formInput" type="password" name="current_password" placeholder="<?php echo e(__('Current password')); ?>" required> </div> <div class="my-4"> <label class="input-label"> <?php echo e(__('New Password')); ?> </label> <input class="px-3 formInput" type="password" name="password" placeholder=" <?php echo e(__('New Password')); ?>" required> </div> <div class="my-4"> <label class="input-label"> <?php echo e(__('New Password Confirmation')); ?> </label> <input class="px-3 formInput" type="password" name="password_confirmation" placeholder="<?php echo e(__('New Password Confirmation')); ?>" required> </div> <button class="main-btn profile-btn px-4"> <?php echo e(__('Update Info.')); ?> </button> </form> <div class="py-4 px-3 px-sm-4 section-con mb-4 text-start subscription-con"> <div class="section-title mb-4 d-flex align-items-center justify-content-between flex-wrap"> <h5 class="mb-2"><?php echo e(__('Your Subscription')); ?></h5> <a href="<?php echo e(route('plan')); ?>" class="plan-btn mb-2"><?php echo e(__('Change Plan')); ?></a> </div> <?php $__currentLoopData = auth()->user()->plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="subscription-box p-4 mt-2"> <h4><?php echo e($plan->title); ?></h4> <h5 class="mb-0"><?php echo e(__('Expires on:')); ?> <span><?php echo e(Carbon\Carbon::parse($plan->plan_end_at)->format('d M,Y')); ?></span></h5> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <?php echo $__env->make('dashboard.partials.profile-scripts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php if(Session::get('error')): ?> <script> Toastify({ text: "<?php echo e(Session::get('error')); ?>", duration: 3000, close: true, className: "add-success", style: { background: "#dc3545", } }).showToast(); </script> <?php endif; ?> <?php if(Session::get('success')): ?> <script> Toastify({ text: "<?php echo e(Session::get('success')); ?>", duration: 3000, close: true, className: "add-success", style: { background: "#28a745", } }).showToast(); </script> <?php endif; ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('dashboard.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rwabtee/project/resources/views/dashboard/pages/profile.blade.php ENDPATH**/ ?>
SAVE
CANCEL