
<?php $__env->startSection('title'); ?>
   <?php echo e(__('message.My Profile')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta-data'); ?>
<meta property="og:type" content="website"/>
<meta property="og:url" content="<?php echo e(route('user-profile')); ?>"/>
<meta property="og:title" content="<?php echo e(__('message.site_name')); ?>"/>
<meta property="og:image" content="<?php echo e(asset('public/img/').'/'.$setting->logo); ?>"/>
<meta property="og:image:width" content="250px"/>
<meta property="og:image:height" content="250px"/>
<meta property="og:site_name" content="<?php echo e(__('message.site_name')); ?>"/>
<meta property="og:description" content="<?php echo e(__('message.meta_description')); ?>"/>
<meta property="og:keyword" content="<?php echo e(__('message.meta_keyword')); ?>"/>
<link rel="shortcut icon" href="<?php echo e(asset('public/img/').'/'.$setting->favicon); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<section class="doctors-dashboard bg-color-3">
   <div class="left-panel">
      <div class="profile-box patient-profile">
         <div class="upper-box">
             <?php 
                              if(Auth::user()->profile_pic!=""){
                                  $path=url('/')."/storage/app/public/profile"."/".Auth::user()->profile_pic;
                              }
                              else{
                                  $path=asset('public/img/default_user.png');
                              }
                              ?>
           
            <figure class="profile-image"><img src="<?php echo e($path); ?>" alt=""></figure>
         
            <div class="title-box centred">
               <div class="inner">
                  <h3><?php echo e(Auth::user()->name); ?></h3>
                  <p><i class="fas fa-envelope"></i><?php echo e(Auth::user()->email); ?></p>
               </div>
            </div>
         </div>
         <div class="profile-info">
            <ul class="list clearfix">
               <li><a href="<?php echo e(route('dashboard')); ?>"><i class="fas fa-columns"></i><?php echo e(__('message.Dashboard')); ?></a></li>
               
               <li><a href="<?php echo e(route('my-family-member')); ?>"><i class="fas fa-clock"></i><?php echo e(__('message.My Family Members')); ?></a></li>
               <li><a href="<?php echo e(route('my-addresses')); ?>"><i class="fas fa-comments"></i><?php echo e(__('message.My Addresses')); ?></li>
               <li><a href="<?php echo e(route('user-profile')); ?>" class="current"><i class="fas fa-user"></i><?php echo e(__('message.My Profile')); ?></a></li>
               <li><a href="<?php echo e(route('user-change-password')); ?>"><i class="fas fa-unlock-alt"></i><?php echo e(__('message.Change Password')); ?></a></li>
               <li><a href="<?php echo e(route('user-logout')); ?>"><i class="fas fa-sign-out-alt"></i><?php echo e(__('message.Logout')); ?></a></li>
            </ul>
         </div>
      </div>
   </div>
   <div class="right-panel">
      <div class="content-container">
         <div class="outer-container">
            <div class="add-listing change-password">
               <?php if(Session::has('message')): ?>
               <div class="col-sm-12">
                  <div class="alert  <?php echo e(Session::get('alert-class', 'alert-info')); ?> alert-dismissible fade show" role="alert"><?php echo e(Session::get('message')); ?>

                     <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                     <span aria-hidden="true">&times;</span></button>
                  </div>
               </div>
               <?php endif; ?> 
               <form action="<?php echo e(route('update-profile-info')); ?>" method="post" enctype="multipart/form-data">
                  <?php echo e(csrf_field()); ?>

                  <div class="single-box">
                     <div class="title-box">
                        <h3><?php echo e(__('message.My Profile')); ?></h3>
                     </div>
                     <div class="inner-box">
                        <div class="row clearfix">
                           <div class="form-group col-lg-6 col-md-12 col-sm-12 form-group">
                     <label for="name"><?php echo e(__('message.Profile Picture')); ?><span class="reqfield">*</span></label>
                     <div id="uploaded_image" >
                        <div class="upload-btn-wrapper">
                           <button class="btn imgcatlog">
                           <input type="hidden" name="real_basic_img" id="real_basic_img" value="<?= isset($data->image)?$data->image:""?>"/>
                           <?php 
                              if(Auth::user()->profile_pic!=""){
                                  $path=url('/')."/storage/app/public/profile"."/".Auth::user()->profile_pic;
                              }
                              else{
                                  $path=asset('public/img/default_user.png');
                              }
                              ?>
                           <img src="<?php echo e($path); ?>" alt="..." class="img-thumbnail imgsize"  id="basic_img" >
                           </button>
                           <input type="hidden" name="basic_img" id="basic_img1"/>
                           
                        </div>
                        <?php if(Auth::user()->profile_pic!=""): ?>
                           <input type="file" name="upload_image" id="upload_image" class="form-control" />
                           <?php else: ?>
                            <input type="file" class="form-control" required="" name="upload_image" id="upload_image" />
                           <?php endif; ?>
                     </div>
                  </div>
                 
                  
                           <div class="col-lg-6 col-md-12 col-sm-12 form-group">
                           </div>
                           <div class="col-lg-6 col-md-12 col-sm-12 form-group">
                              <label><?php echo e(__('message.Name')); ?></label>
                              <input type="text" name="name" id="name" required="" value="<?php echo e(Auth::user()->name); ?>">
                           </div>
                           <div class="col-lg-6 col-md-12 col-sm-12 form-group">
                           </div>
                           <div class="col-lg-6 col-md-12 col-sm-12 form-group">
                              <label><?php echo e(__('message.email')); ?></label>
                              <input type="email" name="email" id="email" value="<?php echo e(Auth::user()->email); ?>" required="">
                           </div>
                           <div class="col-lg-6 col-md-12 col-sm-12 form-group">
                           </div>
                        </div>
                     </div>
                  </div>
                  <div class="btn-box">
                     <button type="submit" class="theme-btn-one"><?php echo e(__('message.Save Change')); ?><i class="icon-Arrow-Right"></i></button>
                     <a href="javascript::void(0)" onclick="resetpassword()" class="cancel-btn"><?php echo e(__('message.Cancel')); ?></a>
                  </div>
               </form>
            </div>
         </div>
      </div>
   </div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('front.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/front/myprofile.blade.php ENDPATH**/ ?>