@section('header')
<?php 
$details = Students::getStudentsDetails(Session::get('sid'));
?>
@parent | <?php 
echo $details['name'];
?>
 | <a href="/students/logout">Logout</a>
@stop
@section('sidebar')
@stop
@section('content')
<?php 
$countOfAppliedPosts = Internships::getCountOfAppliedInternships();
if ($countOfAppliedPosts) {
    $appliedPosts = Internships::getAppliedInternships();
}
?>

<?php 
if ($errors->any()) {
    ?>
	<div class="center">
		<?php 
    echo implode('', $errors->all('<span style="color:red">:message</span>'));
    ?>
	</div>
	<?php 
}
?>
<div>