<div class="list-group">
			<ul class="list-group">
				<li class="list-group-item list-group-iteam">
					<div class="row">
						
                        
                        <div class="col-sm-12">
                        <div class="col-md-4" style="padding-top:10px; padding-left:2px; padding-right:2px;">
							<label>Reg. Number:</label>
							<input type="text" class="form-control" name="de_reg_no" readonly value="<?php echo get_user_de_number($user_id); ?>">
						</div>
						<div class="col-md-4" style="padding-top:10px; padding-left:px; padding-right:2px;">
							<label>Qualification</label>
							<input type="text" class="form-control" name="qualification" readonly value="<?php echo get_user_de_qualification($user_id); ?>">
							
						</div>
						<div class="col-md-4" style="padding-top:10px; padding-left:px; padding-right:2px;">
							<label>Qualification Grade</label>
							<input type="text" class="form-control" name="grade" readonly value="<?php echo get_user_de_grade($user_id); ?>">
							
						</div>
                        </div><!-- /.col md 12 -->
            
            
            <div class="col-sm-12">
            <hr/>
            </div>
			<!--<form action="#" name="frmUpdateOlevel" method="POST">
            -->
            
			
			<div class="col-sm-6">
				
			<?php
			
				$q = "SELECT `id`, `student_id`, `exam_type`, `exam_year`, `exam_month`, `subject1`, `grade1`, `subject2`, 
					 `grade2`, `subject3`, `grade3`, `subject4`, `grade4`, `subject5`, `grade5`, `subject6`, `grade6`, 
					 `subject7`, `grade7`, `subject8`, `grade8`, `subject9`, `grade9`, `exam_no`, `type` 
					 FROM `ug_students_olevel` WHERE student_id = '$user_id' AND type = '1'";
				$r = mysqli_query($dbc,$q);
				
				if(mysqli_num_rows($r) > 0 )
				{
					while($rec = mysqli_fetch_array($r,MYSQLI_ASSOC))
					{
			
			?>
            	<table class="table table-condensed">
        
                    <tr>
                        <td width="100%">
                        <label for="edit-olexam1">Exam Number</label>
                        <input VALUE="<?php echo $rec['exam_no']; ?>" type="text" class="form-control" name="exam_no" readonly>
                        </td>
                    </tr>
                </table>
				
                
                <table class="table table-condensed">
					<tr>
                          <td width="100%">
                              <label for="edit-olexam1">OLevel Examination Type (1) <span class="ast form-required" title="This field is required.">*</span></label>
                                <select id="edit-olexam1" name="olexam1" class="form-control" disabled>
                                   <?php echo select_exam_type($rec['exam_type']); ?>
                                </select>
                            </td>
                      </tr>
                  </table>
                  
                
						<table class="table table-condensed">
							<tr>
								<td width="50%">
									<label for="edit-eyear1">Examination Year <span class="ast" title="This field is required.">*</span></label>
							 <select id="edit-eyear1" name="eyear1" class="form-control" disabled>
								
								<option value="0">-- Please Select -- </option>
								<?php echo year($rec['exam_year']); ?>
                            </select>
								<td>
								<td width="50%">
									<label for="edit-emonth1">Month<span class="ast" title="This field is required.">*</span></label>
							<select id="edit-emonth1" name="emonth1" class="form-control" disabled>
								<option><?php echo $rec['exam_month']; ?></option>
								<option>JUN/JUL</option>
								<option>OCT/NOV</option>
								<option>NOV/DEC</option>
								<option>JUNE</option>
								<option>JULY</option>
								<option>OCTOBER</option>
								<option>NOVEMBER</option>
								<option>DECEMBER</option>
							</select>
								</td>
							</tr>
						</table>
                        
                        
                        <table class="table table-condensed">
               			<tr class="active">
									<td width="5%">S/N</td>
									<td width="65%">Subject</td>
									<td width="30%">Grade</td>
								</tr>
								<tr class="active">
									<td width="5%">1</td>
									<td width="65%">
										<select name="sub1" class="form-control" disabled>
										<option><?php echo $rec['subject1']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select value="'.$grade1.'" name="grd1" class="form-control" disabled>
											<option><?php echo $rec['grade1']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">2</td>
									<td width="65%">
										<select name="sub2" class="form-control" disabled>
										<option><?php echo $rec['subject2']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="grd2" class="form-control" disabled>
											<option><?php echo $rec['grade2']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">3</td>
									<td width="65%">
										<select name="sub3" class="form-control" disabled>
										<option><?php echo $rec['subject3']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="grd3" class="form-control" disabled>
											<option><?php echo $rec['grade3']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">4</td>
									<td width="65%">
										<select name="sub4" class="form-control" disabled>
										<option><?php echo $rec['subject4']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="grd4" class="form-control" disabled>
											<option><?php echo $rec['grade4']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">5</td>
									<td width="65%">
										<select name="sub5" class="form-control" disabled>
										<option><?php echo $rec['subject5']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="grd5" class="form-control" disabled>
										<option><?php echo $rec['grade5']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">6</td>
									<td width="65%">
										<select name="sub6" class="form-control" disabled>
										<option><?php echo $rec['subject6']; ?></option></select>
									</td>
									<td width="30%">
										<select name="grd6" class="form-control" disabled>
											<option><?php echo $rec['grade6']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">7</td>
									<td width="65%">
										<select name="sub7" class="form-control" disabled>
										<option><?php echo $rec['subject7']; ?></option></select>
									</td>
									<td width="30%">
										<select name="grd7" class="form-control" disabled>
											<option><?php echo $rec['grade7']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">8</td>
									<td width="65%">
										<select name="sub8" class="form-control" disabled>
										<option><?php echo $rec['subject8']; ?></option></select>
									</td>
									<td width="30%">
										<select name="grd8" class="form-control" disabled>
											<option><?php echo $rec['grade8']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
							</table>
                            
				 <?php 
                      }//end of while
                  }//end of if 
                    ?>
                  
							
					
						</div>
                        
                        
                        
                        
							
						<div class="col-sm-6">
		   <?php
			
				$q = "SELECT `id`, `student_id`, `exam_type`, `exam_year`, `exam_month`, `subject1`, `grade1`, `subject2`, 
					 `grade2`, `subject3`, `grade3`, `subject4`, `grade4`, `subject5`, `grade5`, `subject6`, `grade6`, 
					 `subject7`, `grade7`, `subject8`, `grade8`, `subject9`, `grade9`, `exam_no`, `type` 
					 FROM `ug_students_olevel` WHERE student_id = '$user_id' AND type = '2'";
				$r = mysqli_query($dbc,$q);
				
				if(mysqli_num_rows($r) > 0 )
				{
					while($rec2 = mysqli_fetch_array($r,MYSQLI_ASSOC))
					{
			
			?>
            	<table class="table table-condensed">
        
                    <tr>
                        <td width="100%">
                        <label for="edit-olexam2">Exam Number</label>
                        <input VALUE="<?php echo $rec2['exam_no']; ?>" type="text" class="form-control" name="exam_no2" readonly>
                        </td>
                    </tr>
                </table>
				
                
                <table class="table table-condensed">
					<tr>
                          <td width="100%">
                              <label for="edit-olexam2">OLevel Examination Type (2) <span class="form-required ast" title="This field is required.">*</span></label>
                                <select id="edit-olexam1" name="olexam1" class="form-control" disabled>
                                   <?php echo select_exam_type($rec2['exam_type']); ?>
                                </select>
                            </td>
                      </tr>
                  </table>
                  
                
						<table class="table table-condensed">
							<tr>
								<td width="50%">
									<label for="edit-eyear2">Examination Year <span class="ast" title="This field is required.">*</span></label>
							 <select id="edit-eyear2" name="eyear2" class="form-control" disabled>
								
								<option value="0">-- Please Select -- </option>
								<?php echo year($rec2['exam_year']); ?>
                            </select>
								<td>
								<td width="50%">
									<label for="edit-emonth2">Month<span class="ast" title="This field is required.">*</span></label>
							<select id="edit-emonth2" name="emonth2" class="form-control" disabled>
								<option><?php echo $rec2['exam_month']; ?></option>
								<option>JUN/JUL</option>
								<option>OCT/NOV</option>
								<option>NOV/DEC</option>
								<option>JUNE</option>
								<option>JULY</option>
								<option>OCTOBER</option>
								<option>NOVEMBER</option>
								<option>DECEMBER</option>
							</select>
								</td>
							</tr>
						</table>
                        
                        
                        <table class="table table-condensed">
               			<tr class="active">
									<td width="5%">S/N</td>
									<td width="65%">Subject</td>
									<td width="30%">Grade</td>
								</tr>
								<tr class="active">
									<td width="5%">1</td>
									<td width="65%">
										<select name="s_sub1" class="form-control" disabled>
										<option><?php echo $rec2['subject1']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select  name="s_grd2" class="form-control" disabled>
											<option><?php echo $rec2['grade1']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">2</td>
									<td width="65%">
										<select name="s_sub2" class="form-control" disabled>
										<option><?php echo $rec2['subject2']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="s_grd2" class="form-control" disabled>
											<option><?php echo $rec2['grade2']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">3</td>
									<td width="65%">
										<select name="s_sub3" class="form-control" disabled>
										<option><?php echo $rec2['subject3']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="s_grd3" class="form-control" disabled>
											<option><?php echo $rec2['grade3']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">4</td>
									<td width="65%">
										<select name="s_sub4" class="form-control" disabled>
										<option><?php echo $rec2['subject4']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="s_grd4" class="form-control" disabled>
											<option><?php echo $rec2['grade4']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">5</td>
									<td width="65%">
										<select name="s_sub5" class="form-control" disabled>
										<option><?php echo $rec2['subject5']; ?></option>
                                        </select>
									</td>
									<td width="30%">
										<select name="s_grd5" class="form-control" disabled>
										<option><?php echo $rec2['grade5']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">6</td>
									<td width="65%">
										<select name="s_sub6" class="form-control" disabled>
										<option><?php echo $rec2['subject6']; ?></option></select>
									</td>
									<td width="30%">
										<select name="s_grd6" class="form-control" disabled>
											<option><?php echo $rec2['grade6']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">7</td>
									<td width="65%">
										<select name="s_sub7" class="form-control" disabled>
										<option><?php echo $rec2['subject7']; ?></option></select>
									</td>
									<td width="30%">
										<select name="s_grd7" class="form-control" disabled>
											<option><?php echo $rec2['grade7']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
								<tr class="active">
									<td width="5%">8</td>
									<td width="65%">
										<select name="s_sub8" class="form-control" disabled>
										<option><?php echo $rec2['subject8']; ?></option></select>
									</td>
									<td width="30%">
										<select name="s_grd8" class="form-control" disabled>
											<option><?php echo $rec2['grade8']; ?></option>
											<option>A1</option>
											<option>B2</option>
											<option>B3</option>
											<option>C4</option>
											<option>C5</option>
											<option>C6</option>
											<option>D7</option>
											<option>E8</option>
											<option>F9</option>
										</select>
									</td>
								</tr>
							</table>
                            
				 <?php 
                      }//end of while
                  }//end of if 
                    ?>
                  
							</div>
			
			<!--</form>-->
			
           				  </div><!-- /.row -->
					</div>
				</li>
			</ul>
</div>