<?php $this->load->view('common_front/header');?>

	<!-- Banners -->
<div class="sec1 ">
   <div class="container-fluid">
           <div class="row">
               <div class="col-sm-8">
                <p>My Profile</p>
               </div>
               <div class="col-sm-4 text-right">
                   <div class="row">
                       <div class="col-xs-10">
                          <?php  $user=$this->session->userdata('apne_log_user');?>
                                <span><b><?= $user['first_name']?> <?= $user['last_name']?></b> </span> <br>
                           <span><a href="<?= base_url('user_logout')?>" class="btn btn-xs btn-success">Logout</a></span>
                       </div>
                       <div class="col-xs-2 ">
                          <div class="profile-img">
                            <img src="<?= base_url('public/front/')?>images/sushila.jpg" alt="">
                          </div>
                       </div>
                   </div>
               </div>
          
       </div>
   </div>
</div>

<div class="clearfix"></div>
<div class="botton_nav">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <ul>
                    <li><a href="<?= base_url('user_profile')?>"><i class="fa fa-user"></i> My Profile</a></li>
                    <li><a href="<?= base_url('my-child')?>"><i class="fa fa-file"></i><span> My Child</span> </a></li>
                    <li><a href="<?= base_url('my-donate-history')?>"> <i class="fa fa-folder-open"></i> <span>My Donate History</span></a></li>
                    <li> <a href="<?= base_url('program-update')?>"> <i class="fa fa-rocket"></i> <span>Program Update</span>  </a>  </li>
                    <li> <a href="<?= base_url('change-password')?>"> <i class="fa fa-tags"></i> <span>Change Password</span> </a></li>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="main-content">
    <div class="form">
        <div class="container">
            <div class="row">
                <div class="col-sm-6">
                	<?php 
                    if($this->session->flashdata('msg')!=''){
                        echo '<div class="alert alert-success alert-dismissible">
                              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
                              <strong>'.$this->session->flashdata('msg').'</strong> 
                            </div>';
                    }
                    if($this->session->flashdata('err')!=''){
                        echo '<div class="alert alert-danger alert-dismissible">
                              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
                              <strong>'.$this->session->flashdata('err').'</strong> 
                            </div>';
                    }
                ?>
                        <div class="my-profile-div">
                            <p>Your's profile Details</p>
                            <hr>
                            <p class="my-profile-para ">First Name: <span><?= $user['first_name']?> </span></p>
                            <p class="my-profile-para">Last Name: <span> <?= $user['first_name']?></span></p>
                            <p class="my-profile-para">Email: <span><?= $user['first_name']?></span></p>
                            <p class="my-profile-para">Mobile: <span><?= $user['phone']?></span></p>
                            <p class="my-profile-para">Address: <span><?= $user['address']?></span></p>
                            <p class="my-profile-para">Nationality: <span><?= $user['nationality']?></span></p>
                            <br>
                            <a href="<?= base_url('edit-profile')?>" class="btn btn-sm btn-primary"><i class="fa fa-edit"></i> Edit Profile</a>

                        </div>
                </div>

                <!-- right image upload section -->
                <div class="col-sm-6">
                        <div class="my-profile-div">
                            <p>Upload Your Profile Photo</p>
                            <hr>
                        <div class="profile-images">
                            <img src="<?= base_url('public/front/')?>images/sushila.jpg" alt="" >
                        </div>
                        <div class="profile-upload-div text-center">
                            <input type="file">
                        </div>


                        </div>
                </div>
            </div>
        </div>
    </div>
    </div>


<!-- Footer  -->

<div class="latest-news-ngo" style="background: #ccc">

        <div class="container">
        
        
        
        
        <div class="row">
        
        <div class="col-md-3 col-sm-3 first">
        
        <div class="row">
        
        <div class="col-md-12 for">FOR THE LAST</div>
        <div class="col-md-12 count"><span>65+</span> YEARS</div>
        
        
        
        </div>
        
        </div>
        
        <div class="col-md-3 col-sm-3  second">
        
        <div class="row">
        
        <div class="col-md-12 for">IMPACTING</div>
        <div class="col-md-12 count"><span>OVER 26 LAKH</span> CHILDREN</div>
        
        
        
        </div>
        
        </div>
        
        <div class="col-md-3 col-sm-3  therd">
        
        <div class="row">
        
        <div class="col-md-12 for">TRANSFORMING</div>
        <div class="col-md-12 count"><span>6252</span> COMMUNITIES</div>
        
        
        
        </div>
        
        </div>
        
        <div class="col-md-3 col-sm-3  forth">
        
        <div class="row">
        
        <div class="col-md-12 for">IN</div>
        <div class="col-md-12 count"><span>25</span> STATES</div>
        
        
        
        </div>
        
        </div>
        
        
        
        </div>
        
        
        </div>
        
        
        </div>


<?php $this->load->view('common_front/footer');?>