<?php
foreach ($selected as $value)
 {
   $id=$value['id'];
   $grno=$value['grno'];
   $name=$value['student_name'];
   $f_name=$value['father_name'];
   //$class=$value['class_name'];
   $f_cnic=$value['father_cnic'];
 }
?>

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
                <div class="title_left">
                    
                </div>
            </div>
            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>CNIC Updation</h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

                    <form class="form-horizontal form-label-left" action="<?php echo base_url();?>report/update_cnic" method="post" id="form1">
                      


                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">GR No<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                        <input type="hidden" id="id" name="id" class="form-control" required="true" value="<?php echo @$id; ?>" >                                        
                        <input type="hidden" id="class" name="class" value="<?php echo @$class; ?>" >                                        
                        <input type="hidden" id="section" name="section" value="<?php echo @$section; ?>" >                                        
                        <input type="text" id="grno" name="grno" class="form-control" required="true" value="<?php echo @$grno; ?>" readonly>                    
                       
                        </div>
                      </div>    
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Student Name<span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                        <input type="text" id="student_name" name="student_name" class="form-control" required="true" value="<?php echo @$name; ?>" readonly>                    
                       
                        </div>
                      </div>

                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Father Name <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                        <input type="text" id="father_name" name="father_name" class="form-control" required="true" value="<?php echo @$f_name ?>" readonly>                    
                       
                        </div>
                      </div>

                      <!-- <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Class <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                        <input type="text" id="class" name="class" class="form-control" required="true" value="<?php echo @$class ?>" readonly>                    
                       
                        </div>
                      </div> -->
                      
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Father CNIC <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                        <input type="text" id="f_cnic" name="f_cnic" class="form-control" required="true" value="<?php echo @$f_cnic;?>">                    
                       
                        </div>
                      </div>
                      <div class="ln_solid"></div>
                      <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
                          <button id="send" type="submit" class="btn btn-success pull-right" >Update</button>
                        </div>
                      </div>
                    </form>


                     
                  </div>
                </div>
             
              </div>
                
             
              </div>
            
            </div>
          </div>
        </div>
      
        <!-- /page content -->
        <script src="<?php echo base_url(); ?>assets/vendors/jquery/dist/jquery.min.js"></script>
        <script type="text/javascript">
 
         $(document).ready(function(){
            
            
        });
    </script>
        