 <?php

 //get current session
 $session = get_current_session($id = 1);

 ?>
 <div style="height:20px; displat:block;"></div>
  <ul class="breadcrumb">

      <li class="active" ><a href="#"><?php echo get_user_fullname($user_id); ?>'s Qualifications</a> <span class="divider"></span> </li>
  </ul>



<div class="well"><!-- well starts -->

<form name="frm_biodata" action="dashboard.php" method="POST">
      <div class="" style="padding-left:0px; padding-right:0px;">

              <div class="list-group">
                      <ul class="list-group">
                          <li class="list-group-item list-group-item-warning">
                              <h4>Update O-Level Qualification</h4>
                          </li>
                      </ul>


                      <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">






                             <!--
                                <ul class="list-group">
                                  <li class="list-group-item list-group-item-info">
                                      <h5>
                                        <i class="glyphicon glyphicon-info-sign"></i>
                                        <span class=""> O-Level Screening Starts from <b>08/10/2018 </b> and Ends <b>31/10/2018</b></span>

                                      </h5>
                                  </li>

                              </ul><br> -->

                                 <!-- Qualififcation info  -->
                              <div class="panel panel-warning">
                                <div class="panel-heading" role="tab" id="headingFour">
                                  <h4 class="panel-title">
                                    <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
                                      Qualification Information
                                    </a>
                                  </h4>
                                </div>

                                <div id="collapseFour" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingFour">
                                  <div class="panel-body">




                                     <?php

                                     //if(has_paid_applicant_fee($user_id) ){
                                      ?>
                                        <!-- <ul class="list-group">
                                          <li class="list-group-item list-group-item-danger">
                                              <h5>
                                                <i class="glyphicon glyphicon-warning-sign"></i>
                                                <span class=""> <b>Kindly submit valid Scratch Card(s) and Pin(s). Result(s) will be Verified. Failure to adhere to this will result in Disqualification.</b></span>

                                              </h5>
                                            </li>

                                          </ul><br> -->

                                      <?php


                                     //}

                                      // ! since no screening fees again
                                      //if(!has_paid_olevel_screening_fee($user_id, $session)){
                                      //if(has_paid_applicant_fee($user_id)){

                                          include_once('includes/php/qualification_info.php');

                                        //}else{
                                            //echo '<a href="dashboard.php?act=screening_fee_payments&qlk='.md5(8).'" class="btn btn-info" data-toggle="tooltip" data-placement="top" title="Click here to Pay O-Level Screening Fees "><i class=""> </i>Please, Pay O-Level Screening Fees First</a><br><br>';
                                          /// echo '<a href="dashboard.php?act=application_fee_payments&qlk='.md5(8).'" class="btn btn-info" data-toggle="tooltip" data-placement="top" title="Click here to Pay Application Fees "><i class=""> </i>Please, Pay Application Fees First</a><br><br>';

                                        //}
                                      ?>
                                  </div>
                                </div>
                              </div>





                              <div class="form-actions" style="margin-top:10px; padding-left:0px; padding-right:0px;">

                                    <input  type="hidden" name="act" Value="update_olevel">
                                    <input  type="hidden" name="qlk" Value="<?php echo $encripted_qlk; ?>">

                                    <?php
                                      //! since no screening fees again
                                      //if(!has_paid_olevel_screening_fee($user_id, $session)){

                                      //if(has_paid_applicant_fee($user_id) ){

                                          //if( is_applicant_not_cleared($user_id)){

                                            echo ' <input type="submit" name="submit" class="btn btn-lg btn-success" value="Save" id="submit" data-toggle="tooltip" data-placement="top" title="Click here to save"/>';
                                          //}
                                          //else{

                                        //      echo '<p class="btn btn-info" data-toggle="tooltip" data-placement="top" title="O-Level Result can not be changed "><i class=""> </i>You have been admited. O-Level Result can not be changed. </p><br>';


                                          //  }
                                      //}

                                    ?>



                              </div>


                      </div><!-- /.panel group -->



              </div> <!-- /.list group -->


      </div><!-- /.col md 12 -->
  </form>


</div><!-- /.well -->
