<?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="#" 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 col-sm-offset-3">
                	      <?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 shadow">
                            <form action="<?= base_url('change-password')?>" method="post">
                                <div class="form-group">
                                    <label for="">Password</label>
                                    <input type="password" class="form-control" name="old_password" placeholder="Password">
                                </div>
                                <div class="form-group">
                                        <label for="">New Password</label>
                                        <input type="password" class="form-control" placeholder="New Password" name="password">
                                    </div>
                                    <div class="form-group">
                                    <label for="">Confirm Password</label>
                                            <input type="password" name="confirm_password" class="form-control" placeholder="Confirm Password">
                                    </div>
                                    <div class="form-group">
                                        <button class="btn btn-primary">Change</button>
                                    </div>
                            </form>
                           
                           



                        </div>
                </div>


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


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