      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Channellimo
            <small>Preview</small>
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Forms</a></li>
            <li class="active">Profile</li>
          </ol>
        </section>
        
        <section class="content">
           <div class="box">
             <div class="box-header">
               <h3 class="box-title"></h3>
             </div><!-- /.box-header -->
             <div class="box-body">
               <?php 
				if ($this->session->flashdata('errors')){ 
					echo "<div class='error'>";
					echo $this->session->flashdata('errors');
					echo "</div>";
				}
			  ?>
			  <?php echo validation_errors('<div class="error">', '</div>'); ?>
              <ul class="nav nav-tabs">
                <li class="active"><a data-toggle="tab" href="#home">Change Info</a></li>
                <li><a data-toggle="tab" href="#menu1">Change Password</a></li>
              </ul>
              <div class="tab-content">
                <div id="home" class="tab-pane fade in active">
                  <h3>Change Info</h3>
                  <?php echo form_open('admin/profile/changeName');?>
                    <div class="form-group col-lg-8">
                      <label for="title">Full Name</label>
                      <input type="text" class="form-control" id="fullname" name="fullname" placeholder="Enter Full Name" value="<?php echo $user->fullname;?>">
                    <?php echo form_error('fullname', '<span class="error">', '</span>'); ?> </div>

                    <div class="form-group col-lg-8">
                      <label for="title">Email</label>
                      <input type="text" class="form-control" id="email" name="email" placeholder="Enter Email" value="<?php echo $user->email;?>">
                      <?php echo form_error('email', '<span class="error">', '</span>'); ?> </div>
                    <div class="form-group col-lg-8" style="margin-bottom:15px;margin-top:15px;">
                      <input type="submit" value="Submit" class="btn btn-primary">
                      <button type="reset" class="btn btn-danger">Reset</button>
                    </div>
                  </form>
                </div>
                
                <div id="menu1" class="tab-pane fade">
                  <h3>Change Password</h3>
                  <?php echo form_open('admin/profile/changePasswd');?>
                    <div class="form-group col-lg-8">
                      <label for="title">Old Password</label>
                      <input type="password" class="form-control" id="opassword" name="opassword" placeholder="Enter Old Password">
                      <?php echo form_error('opassword', '<span class="error">', '</span>'); ?> </div>
                    <div class="form-group col-lg-8">
                      <label for="title">New Password</label>
                      <input type="password" class="form-control" id="npassword" name="npassword" placeholder="Enter New Password">
                      <?php echo form_error('npassword', '<span class="error">', '</span>'); ?> </div>
                    <div class="form-group col-lg-8">
                      <label for="title">Confirm Password</label>
                      <input type="password" class="form-control" id="cpassword" name="cpassword" placeholder="Enter Confirm Password">
                      <?php echo form_error('cpassword', '<span class="error">', '</span>'); ?> </div>
                    <div class="form-group col-lg-8" style="margin-bottom:15px;margin-top:15px;">
                      <input type="submit" value="Submit" class="btn btn-primary">
                      <button type="reset" class="btn btn-danger">Reset</button>
                    </div>
                  </form>
                </div>
                
             </div>
              
              
             </div><!-- /.box-body -->
           </div><!-- /.box -->
        </section>
       </div>
