<div class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
  
            <!-- begin:: Content Head -->
            <div class="kt-subheader  kt-grid__item" id="kt_subheader">
              <div class="kt-container  kt-container--fluid ">
                <div class="kt-subheader__main">
                  <h3 class="kt-subheader__title"><a href="<?php echo base_url() ?>Dashboard/"><?php echo $this->lang->line('dashboard'); ?></a></h3>
                  <span class="kt-subheader__separator kt-subheader__separator--v"></span>
                  <span class="kt-subheader__desc"><?php echo $this->lang->line('main') ?></span>
                </div>
              </div>
            </div>
    <!-- Content Header (Page header) -->
<div class="row">
        <!-- left column -->
        <div class="col-md-12">
          <!-- general form elements -->
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title"><?php echo $this->lang->line('add-a-member') ?></h3>
            </div>
         
                 <?php if(isset($msg) || validation_errors() !== ''): ?>
            <div class="alert alert-warning alert-dismissible">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                <h4><i class="icon fa-warning"></i> Alert!</h4>
                <?= validation_errors();?>
                <?= isset($msg)? $msg: ''; ?>
            </div>
        <?php endif; ?>   
              
              
           <?php echo form_open_multipart(base_url(''.$thispage.'/add/')); ?>
              <div class="box-body">
            
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $this->lang->line('member') ?> <?php echo $this->lang->line('name') ?> </label>
                  <input type="text" class="form-control" id="exampleInputEmail1" placeholder="<?php echo $this->lang->line('the-name') ?> " name="name" required autofocus value="<?=$edit['name']?>">
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo $this->lang->line('the-name-of-the-member') ?>	</label>
                  <input type="text" class="form-control" id="exampleInputPassword1" placeholder=" <?php echo $this->lang->line('name') ?> " name="mosma" value="<?=$edit['mosma']?>">
                </div>
                  
                  
                      <div class="form-group">
                  <label for="exampleInputPassword1">  <?php echo $this->lang->line('password') ?>	</label>
                  <input type="text" class="form-control" id="exampleInputPassword1" placeholder="  <?php echo $this->lang->line('password') ?> " name="pass" required >
                </div>
                      <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo $this->lang->line('e-mail') ?>	</label>
                  <input type="email" class="form-control" id="exampleInputPassword1" placeholder=" <?php echo $this->lang->line('e-mail') ?> " name="email" required value="<?=$edit['email']?>">
                </div>
                  
                    <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo $this->lang->line('the-phone') ?></label>
                  <input type="text" class="form-control" id="exampleInputPassword1" placeholder=" <?php echo $this->lang->line('the-phone') ?> " name="phone" value="<?=$edit['phone']?>">
                </div>
                
                <?php $role = $this->db->get('groups')->result(); ?>
                <div class="form-group">
                  <label><?php echo $this->lang->line('select') ?> <?php echo $this->lang->line('role') ?></label>
                  <div>
                    <select name="role" required class="form-control">
                      <option><?php echo $this->lang->line('select') ?> <?php echo $this->lang->line('role') ?></option>
                      <?php foreach ($role as $row) 
                      { ?>
                      <option value="<?php echo $row->id ?>"><?php echo $row->groups ?></option>
                      <?php } ?>
                    </select>
                  </div>
                </div>  
               
              <div class="form-group">
                  <label><?php echo $this->lang->line('describe') ?></label>
                  <textarea class="form-control" rows="3" placeholder="<?php echo $this->lang->line('describe') ?>..." name="userInfo"><?=$edit['name']?></textarea>
                </div>
                  
                  
              </div>
              <!-- /.box-body -->

              <div class="box-footer">
                  <button type="submit" class="btn btn-primary" name="submit" value="pl"><?php echo $this->lang->line('addition') ?></button>
              </div>
            </form>
          </div>
          <!-- /.box -->

   
        </div>
        <!--/.col (left) -->
        <!-- right column -->
      
        <!--/.col (right) -->
      </div>
