<?php

$application_number = get_user_application_number($user_id);//app no


$jambno = get_user_jamb_no($user_id);//app no


//echo $user_id;
$prg = get_user_programme_applied_for($user_id);

$app_school =  strtoupper (get_school_title(get_school_id_by_programme($prg ))); //applied dept
$app_dept =  strtoupper (get_department_title(get_user_department_applied_for($user_id))); //applied dept
$app_prog = strtoupper (get_programme_title($prg ));//applied programme

$prog_type =  strtoupper (show_programme_type(get_user_programme_type_applied_for($user_id))); //show programme type


/*echo get_user_department_applied_for($user_id);
exit();*/

?>



<!-- this page returns student info on the dashboard page -->

<div style="min-height: 300px; font-size:10px">
    <div style="height:5px; display:block;"></div>
    <div class="panel panel-warning">
        <div class="panel-heading">
            <p ><span class="label label-warning">PERSONAL DATA</span>
             <?php //if($application_number != '' ){?> <span class="btn btn-warning pull-right" style="font-weight:bolder;padding-bottom:2px;">
			AN - <?php //echo $application_number ?></span><?php //} ?>
             </p>
        </div>
        <div class="panel-body">
            <div align="center" class="">
                <a href="#" class="btn-default" data-toggle="modal" data-target="#myModall">
                <img class="thumbnail img-responsive text-center" style="height:170px;"  src="../uploads/<?php if( get_user_image($user_id) != ''){echo get_user_image($user_id); }else {echo 'img.jpg'; } ?>"
                 alt="Click here to upload image" data-toggle="tooltip" title="Click here to update your profile picture" data-placement="top"></img></a><!-- passed mymodall for upload -->
            </div>
            <ul class="list-group">
                <li class="list-group-item"><label class="label label-warning">NAME:</label> <br/><strong><?php echo strtoupper (get_user_fullname($user_id)); ?></strong></li>
                <li class="list-group-item"><label class="label label-warning">JAMB  NO.:</label><br/>
                 <strong><?php  if($jambno != ''){echo $jambno;}else{ echo '<span class="label label-info" style="font-size:11px;"> PENDING </span>';} ?></strong></li>
<!-- deactivated becasue of acceptance fee payment
                   <li class="list-group-item"><label class="label label-warning">REG / APPLICATION NO.:</label><br/>
                    <strong><?php  //if($application_number != ''){echo $application_number;}else{ echo '<span class="label label-info" style="font-size:11px;"> PENDING </span>';} ?></strong></li> -->


                <!-- <li class="list-group-item"><label class="label label-warning">APPLIED SCHOOL:</label><br/>
				<strong><?php// if($app_school != ''){echo $app_school;}else{echo '<span class="label label-info" style="font-size:11px;">PENDING</span>';}  ?></strong></li>
                -->
                <!--<li class="list-group-item"><label class="label label-warning">APPLIED DEPT.: </label><br/>
				<strong><?php  //if($app_dept != ''){echo $app_dept;}else{echo '<span class="label label-info" style="font-size:11px;">NIL FOR NOW</span>';} ?></strong></li>
               -->
                <li class="list-group-item"><label class="label label-warning"> APPLIED PROGRAMME / COURSE:</label> <br/>
				<strong><?php if($app_prog != ''){echo $app_prog;}else{echo '<span class="label label-info" style="font-size:11px;">PENDING</span>';} ?> </strong></li>
                <li class="list-group-item"><label class="label label-warning"> PROGRAMME TYPE:</label> <br/>
				<strong><?php if($prog_type != ''){echo $prog_type;}else{echo '<span class="label label-info" style="font-size:11px;">PENDING</span>';}  ?></strong></li>

               <li class="list-group-item"><!-- log out --> <a class="btn btn-danger" style="width:100%;" href="dashboard.php?act=logout" data-toggle="tooltip" title="Click here to logout/exit" data-placement="top"><i class="glyphicon glyphicon-off"> </i> LOGOUT</a></li>
            </ul>
        </div>

         <h6 style="text-align:center;" > JSP V2.0 - Powered by JD Lab </h6>
    </div>


</div>
