<?php

$application_number = get_user_application_number($user_id);//application no
$matric_no = get_user_mat_no($user_id); //matric no
$dept =  strtoupper (get_department_title(get_user_department_id($user_id))); // dept
$sch =  strtoupper (get_school_title(get_user_school_id($user_id))); // dept
$prog = strtoupper (get_programme_title(get_user_programme_id($user_id)));//programme
$prog_type =  strtoupper (show_programme_type(get_user_programme_type_id($user_id))); //show programme type


?>


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

<div style="min-height: 300px; font-size:11px">
    <div style="height:5px; display:block;"></div>
    <div class="panel panel-success">
        <div class="panel-heading">
            <p ><span class="label label-success">PERSONAL DATA</span>
             <?php if($matric_no != '' ){?> <span class="btn btn-success pull-right" style="font-weight:bolder;padding-bottom:2px;">
			 <?php echo strtoupper($matric_no); ?></span><?php } ?>
             </p>
        </div>
        <div class="panel-body">
            <div align="center" class="">

            <!-- image panel -->
                 <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"><strong>NAME: </strong><?php echo strtoupper (get_user_fullname($user_id)); ?></li>
                <li class="list-group-item"><strong>MATRIC No.: </strong><?php echo  strtoupper (get_user_mat_no($user_id)); ?></li>
                <li class="list-group-item"><strong> LEVEL: </strong> <?php echo get_user_level($user_id); ?></li>
                <!-- <li class="list-group-item"><strong>SCHOOL: </strong> <?php //echo strtoupper (get_school_title(get_user_school_id($user_id))); ?></li> -->
                <li class="list-group-item"><strong> PROGRAMME: </strong> <?php echo strtoupper (get_programme_title(get_user_programme_id($user_id))); ?></li>
               	<!-- <li class="list-group-item"><strong> PROGRAMME TYPE: </strong> <?php //echo strtoupper (show_programme_type(get_user_programme_type_id($user_id))); ?></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>
            <h6 style="text-align:center;" > JSP V2.0 - Powered by JD Lab </h6>
        </div>

    </div>
</div>
