<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"><a href="<?=base_url('user/')?>"><?php echo $this->lang->line('the-students') ?></a></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('the-students') ?> <?php echo  $this->lang->line('adjustment') ?> </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.'/edit/'.$edit['id'])); ?>
       <div class="box-body">
          
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo  $this->lang->line('customer') ?> <?php echo  $this->lang->line('name') ?>  </label>
                  <input type="text" class="form-control" id="exampleInputEmail1" placeholder="<?php echo  $this->lang->line('enter') ?> <?php echo  $this->lang->line('name') ?>" name="username" required autofocus value="<?=$edit['username']?>">
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1"><?php echo  $this->lang->line('civil-no') ?>		</label>
                  <input type="number" class="form-control" id="exampleInputPassword1"  name="cid_user" value="<?=$edit['cid_user']?>" >
                </div>
                  
                  
                  
                     <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo  $this->lang->line('e-mail') ?>	</label>
                  <input type="text" class="form-control" id="exampleInputPassword1" name="email"  value="<?=$edit['email']?>">
                </div>
                  
                  
                     <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo  $this->lang->line('students') ?> <?php echo  $this->lang->line('mobile') ?>	</label>
                  <input type="text" class="form-control" id="exampleInputPassword1"  name="phone"  value="<?=$edit['phone']?>">
                </div>
                  
                     <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo  $this->lang->line('guardian') ?> <?php echo  $this->lang->line('mobile') ?></label>
                  <input type="text" class="form-control" id="exampleInputPassword1" name="phone_father"  value="<?=$edit['phone_father']?>">
                </div>
                  
                     <div class="form-group">
                  <label for="exampleInputPassword1"> <?php echo  $this->lang->line('nationality') ?>  		</label>
                  <input type="text" class="form-control" id="exampleInputPassword1" name="city"  value="<?=$edit['city']?>">
                </div>
                  
                  
              <div class="form-group">
                  <label for="exampleInputPassword1"><?php echo $this->lang->line('nationality') ?>     </label>
                <select name=country class="form-control">
        <?php foreach ($nationality as $key => $value) { ?>
                <?php if($this->session->userdata('language') == 'english'){ ?><option value="<?php echo $value->english; ?>"<?php if($edit['country'] ==  $value->english){ echo 'selected';}?>><?php   echo $value->english ;?></option> <?php } else{ ?>
                <option  value="<?php echo $value->arabic; ?>"<?php if($edit['country'] ==  $value->arabic){ echo 'selected';}?>><?php echo $value->arabic ;?></option>
                <?php  } }?>
        </select>
          </div>
                   <div class="form-group">
                  <label > <?php echo $this->lang->line('region') ?></label>
        <select name=city class="form-control">
        <?php foreach ($region as $key => $value) { ?>
                <?php if($this->session->userdata('language') == 'english'){ ?><option value="<?php echo $value->english ;?>"><?php   echo $value->english ;?></option> <?php } else{ ?>
                <option value="<?php echo $value->arabic ;?>"><?php echo $value->arabic ;?></option>
                <?php  } }?>
        </select>
          </div>
                     <div class="form-group">
                  <label><?php echo $this->lang->line('block') ?></label>
                  <input class="form-control" rows="3"name="blocks" value="<?=$edit['blocks']?>">
                </div>   <div class="form-group">
                  <label><?php echo $this->lang->line('street') ?></label>
                  <input class="form-control" rows="3"  name="street" value="<?=$edit['street']?>">
                </div>   <div class="form-group">
                  <label><?php echo $this->lang->line('jadah') ?></label>
                  <input class="form-control" rows="3"  name="jadah" value="<?=$edit['jadah']?>">
                </div>   <div class="form-group">
                  <label><?php echo $this->lang->line('floor') ?></label>
                  <input class="form-control" rows="3" name="floor" value="<?=$edit['floor']?>">
                </div>
           <div class="form-group">
                  <label><?php echo $this->lang->line('door-number') ?></label>
                  <input class="form-control" rows="3" name="door_no" value="<?=$edit['door_no']?>">
                </div>   <div class="form-group">
                  <label><?php echo $this->lang->line('address-link') ?></label>
                  <textarea class="form-control" rows="3" name="address_link"><?=$edit['address_link']?></textarea>
                </div>                  
                             <div class="form-group">
                  <label><?php echo  $this->lang->line('title') ?></label>
                  <textarea class="form-control" rows="3" placeholder="" name="title"><?=$edit['title']?></textarea>
                </div>
                  
                      <div class="form-group">
                  <label><?php echo  $this->lang->line('date-of-birth') ?> </label>

	                 <input type="text" class="form-control datepicker_single"  id="datepicker" placeholder=" <?php echo  $this->lang->line('the-recipient') ?>" data-date-format="dd/mm/yyyy"  name="age"  value="<?=$edit['age']?>">

	                 </div>
                 <div class="form-group">
                      <label><?php echo  $this->lang->line('sex') ?></label>
                  <div class="radio">
                
                      <input type="radio" name="sex"  value="male" <?php if($edit['sex']=='male'){echo 'checked'; }?>>
                <label>    <?php echo  $this->lang->line('male') ?>
                    </label>
                  </div>
                  <div class="radio">
                  
                      <input type="radio" name="sex"  value="female" <?php if($edit['sex']=='female'){echo 'checked';}?>>
                <label>   <?php echo  $this->lang->line('female') ?>
                    </label>
                  </div>
                </div>   
                    <div class="form-group">
                  <label><?php echo  $this->lang->line('note') ?></label>
                  <textarea class="form-control" rows="3" placeholder="<?php echo  $this->lang->line('describe') ?>..." name="note"><?=$edit['note']?></textarea>
                </div>
                    
               <div class="form-group">
                  <label for="exampleInputFile"> <?php echo  $this->lang->line('customer-image') ?></label>
                  <input type="file" id="exampleInputFile" name="imageuser[]" multiple>

                </div>
              </div>
            
              <!-- /.box-body -->

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

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