<div class="panel panel-default">
	<div class="panel-heading panel-heading-transparent">
		<strong>Student Profile</strong>
	</div>

	<div class="panel-body">
		<table id="user" class="table table-bordered table-striped table-condensed">
			<tbody> 
				<tr>         
					<td width="10%"><b>Name:</b></td>
					<td width="60%"><?php echo $student['title'].' '.$student['firstName'].' '.$student['secondName'].' '.$student['surName'] ;       ?></td>
				</tr>
				<tr>
					<td><b>Gender</b></td>
					<td><?php if($student['gender']==1){echo 'Male';}else{ echo 'Female';};  ?></td>
				</tr>
				<tr> 
					<td><b>Qualifications</b></td>
					<td><?php echo $student['qualification'];?></td>
				</tr>
				<tr>
					<td><b>Nationality</b></td>
					<td contenteditable="true"><?php echo $student['nationality'];?></td>
				</tr>
				<tr>
					<td><b>Phone</b>:</td>
					<td><?php echo $student['phone'] ;?></td>
				</tr>
				<tr>
					<td><b>Email</b>:</td>
					<td><a href="mailto:<?php echo $student['email'];?>"><?php echo $student['email'];?></a></td>
				</tr>
				<tr>
					<td><b>Employer</b></td>
					<td><?php  echo $student['employerName']; ?></td>
				</tr>
				<tr>
					<td><b>Employer Phone:</b></td>
					<td><?php  echo $student['employerPhone']; ?></td>
				</tr>
				<tr>
					<td><b>Employer Email:</b></td>
					<td><a href="mailto:<?php echo $student['employerEmail'];?>"><?php  echo $student['employerEmail']; ?></a></td>
				</tr>
				<tr>
					<td><b>Student Comment</b></td>
					<td><?php  echo $student['comment']; ?></td>
				</tr>
				<tr>
					<td><b>Date of Registration</b></td>
					<td> <?php echo date('d/m/Y', time());?></td>
				</tr>
				
				<tr>
					<td><b>Class Type </b> </td>
					<td><?php echo $student['classType'];?> </td>
				<!--tr>
					<td><b>Accommodation</b></td>
					<td><?php echo $student['accomodation'] == 1 ? "Yes" : "No";?></td>
				</tr>
				<tr>
					<td><b>Airport Pick up</b></td>
					<td><?php echo $student['pickAirport'] == 1 ? "Yes" : "No";?></td>
				</tr>
				<!--tr>
					<td><b>Status</b></td>
					<td><?php echo $student['userStatus']; ?></td>
				</tr-->
			</tbody>
		</table>
	</div>
</div>

<div class="panel-body">
    <div class="panel-heading panel-heading-transparent">
		<strong>Courses Applied</strong>
	</div>

<table id="user" class="table table-bordered table-striped table-condensed">
  <thead>
    <tr>
      <th>#</th>
      <th>Course name</th>
      <!--th>Schedule ID</th-->
      <th>Start Date</th>
      <th>End Date</th>
      
    </tr>
  </thead>

  <tbody>
    <?php foreach ($courses as $course ): ?>
      <tr>
        <td><?php echo $course['id'] ;?></td>
        <td><?php echo $course['courseName'] ;?></td>
        <!--td><?php echo $course['scheduleID'] ;?> </td-->
        <td><?php echo $course['startDate'] ;?></td>
        <td><?php echo $course['endDate'] ;?></td>
      </tr>
    <?php endforeach; ?>
  </tbody>
</table>

</div>
				

<!-- Section -->