
        <div class="main-content">
            <!--breadcrumb-->
            <h3 class="fmon">Profile</h3>
            <div class="my-2">
                <div class="row">
                    <div class="col-md-12 my-2 d-flex justify-content-center my-2">
                        <?php if($userdata['image'] ==""){ ?>
                        <img class="object-fit-cover" src="<?php echo base_url(); ?>/assets/images/avatars/pImg.png" alt="" width="200px">
                         <?php }else{ ?>
                            <img class="object-fit-cover" src="<?php echo $userdata['image']; ?>" alt="" style="width:200px;height:200px;">
                           <?php } ?>    
                    </div>
                </div>
                <form method="post" class="row my-2" enctype="multipart/form-data" action="<?php echo base_url().'dashboard/saveprofile' ?>">
                    <div class="col-md-6 my-2">
                        <label class="fmon fs9" for="fname">First Name</label>
                        <input class="form-control rounded-0 pInp py-2" 
                        type="text" name="firstName"
                        value="<?php echo $userdata['firstName']; ?>"
                        required placeholder="Enter Here" />
                    </div>
                    <div class="col-md-6 my-2">
                        <label class="fmon fs9" for="fname">Last Name</label>
                        <input class="form-control rounded-0 pInp py-2" type="text" 
                         value="<?php echo $userdata['lastName']; ?>"
                        name="lastName" required placeholder="Enter Here" />
                    </div>

                    <div class="col-md-6 my-2">
                        <label class="fmon fs9" for="fname">Email</label>
                        <input class="form-control rounded-0 pInp py-2" type="email" 
                        value="<?php echo $userdata['email']; ?>"
                        readonly placeholder="Enter Here" />
                    </div>

                    <div class="col-md-6 my-2">
                        <label class="fmon fs9" for="fname">Password (Fill if you change)</label>
                        <input class="form-control rounded-0 pInp py-2" type="password" placeholder="Enter Here" />
                    </div>
                    <div class="col-md-6 my-2">
                        <label class="fmon fs9" for="fname">Phone Number</label>
                        <input class="form-control rounded-0 pInp py-2"
                        value="<?php echo $userdata['phoneNumber']; ?>"
                        type="text" name="phoneNumber" required placeholder="Enter Here" />
                    </div>
                    <div class="col-md-6 my-2">
                        <label class="fmon fs9" for="fname">Image</label>
                        <input class="form-control rounded-0 pInp py-2" type="file" name="file" placeholder="Enter Here" />
                    </div>
                    <div class="col-md-12 my-2">
                        <label class="fmon fs9" for="fname">Specialist</label>
                        <input class="form-control rounded-0 pInp py-2"
                     value="<?php echo $userdata['specialist']; ?>"
                        type="text" name="specialist" required placeholder="Enter Here" />
                    </div>

                    
                    <div class="col-md-12 my-2">
                      <button type="submit" class="btn crBtn px-5 d-block mx-auto">Update</button>
                     </div>
                    
                </form>
            </div>


            <!-- orders section -->

  