Viewing file: 68f41dcb53c300498260acf4dd7722c8.php (4.83 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startPush('css'); ?>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('frontend')); ?>/css/usersidemenu.css">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<!--==== START MAIN ====-->
<section class="my-3">
<div class="row">
<div class="col-md-4 col-sm-12 col-xl-4 ">
<div class="wrapper">
<!--Top menu -->
<?php echo $__env->make('frontend.partials.usersidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
<div class="col-md-8 col-sm-12 col-xl-8 card p-4 ">
<div class="wrapper">
<h3 class="m-3 text-center"><?php echo e(__('account')['update_profile']); ?></h3>
<div class="d-flex flex-column">
<form method="post" action="<?php echo e(route('update.profile')); ?>" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<div class="form-group">
<label for="firstName"> <?php echo e(__('commoninput')['placeholder_first_name']); ?> <span class="text-danger"> * </span> </label>
<input type="text" class="form-control" name="firstName" placeholder="<?php echo e(__('commoninput')['your']); ?> <?php echo e(__('commoninput')['placeholder_first_name']); ?>..." value="<?php echo e(old('firstName',Auth::guard('customer')->user()->firstname)); ?>">
<?php echo $errors->first("firstName", "<span class='text-danger'>:message</span>"); ?>
</div>
<div class="form-group">
<label for="lastName"> <?php echo e(__('commoninput')['placeholder_last_name']); ?> <span class="text-danger"> * </span> </label>
<input type="text" class="form-control" name="lastName" placeholder="<?php echo e(__('commoninput')['your']); ?> <?php echo e(__('commoninput')['placeholder_last_name']); ?>..." value="<?php echo e(old('lastname',Auth::guard('customer')->user()->lastname)); ?>">
<?php echo $errors->first("lastName", "<span class='text-danger'>:message</span>"); ?>
</div>
<div class="form-group">
<label for="email"> <?php echo e(__('commoninput')['email']); ?> <span class="text-danger"> * </span> </label>
<input type="email" class="form-control" name="email" placeholder="<?php echo e(__('commoninput')['placeholder_email']); ?>..." value="<?php echo e(old('email',Auth::guard('customer')->user()->email)); ?>">
<?php echo $errors->first("email", "<span class='text-danger'>:message</span>"); ?>
</div>
<div class="form-group">
<label for="telephone"> <?php echo e(__('commoninput')['placeholder_phone']); ?> <span class="text-danger"> * </span> </label>
<input type="text" class="form-control" name="telephone" placeholder="<?php echo e(__('commoninput')['your']); ?> <?php echo e(__('commoninput')['placeholder_phone']); ?>..." value="<?php echo e(old('telephone',Auth::guard('customer')->user()->telephone)); ?>">
<?php echo $errors->first("telephone", "<span class='text-danger'>:message</span>"); ?>
</div>
<div class="form-group">
<label for="firstName"> <?php echo e(__('account')['update_profile_pic']); ?> <span class="text-danger"> * </span> </label>
<?php if(Auth::guard('customer')->user()->image != null): ?>
<img src=" <?php echo e(asset('uploads')); ?>/user/<?php echo e(Auth::guard('customer')->user()->image); ?>" alt="profile_picture" width="250">
<?php endif; ?>
</br>
<input type="file" name="profile" value="">
</div>
<div class="text-center">
<button type="submit" class="submitbtn "><?php echo e(__('reset_password')['button_reset']); ?></button>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!--==== END MAIN ====-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.app', ['class' => 'bg-white'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/smabmart/public_html/resources/views/frontend/user/dashboard.blade.php ENDPATH**/ ?>
|