Ejemplo n.º 1
0
						</tr>
					';
        $qual_counter++;
    }
}
?>
	            </tbody>
            </table>
                
            <?php 
if ($personal_details['student_status'] == "PGA") {
    ?>
		             
		            	<h4 align="center" class="alert alert-success">Academic Publications</h4>
		    <?php 
    $academic_publication = Publication::find_by_sql("SELECT * FROM academic_publications WHERE applicant_id='" . $applicant_id . "'");
    if (empty($academic_publication)) {
        $no_information = 'No Information Supplied';
        echo '
					<table class="table table-bordered table-hover">
		            	<thead>
		                	<th>S/N</th>
		                    <th>Title Of Publication</th>
		                    <th>Institution</th>
		                    <th>Qualification</th>
		                    <th>Year</th>
		                </thead>
						<tbody>
							<tr>
								<td width="4%"> 1. </td>
								<td width="20%">' . $no_information . '</td>
Ejemplo n.º 2
0
<?php

$database = new MySQLDatabase();
$session = new Session();
$academic_publications = Publication::find_by_sql("SELECT * FROM academic_publications WHERE applicant_id=" . $session->applicant_id);
$other_publications = OtherPublication::find_by_sql("SELECT * FROM otherpublications WHERE applicant_id=" . $session->applicant_id);
?>
<form action="" method="POST" class="publications" >

	<!-- Beginning of Publications -->
	<table class="table table-hover">
	  <caption><h3>Academic Publications</h3></caption>
	  <caption><h4>Thesis, Projects and Publications</h4></caption>
	  <thead>
		<tr>
		  <th>S/N</th>
		  <th>Title</th>
		  <th>Institution</th>
		  <th>Qualifications</th>
		  <th>Date</th>
		</tr>
	  </thead>
      
	  <tbody id="thesis_projects_publication">
      <?php 
if (!empty($academic_publications)) {
    $index = 1;
    foreach ($academic_publications as $academic) {
        $publication_title = 'publication_title_' . $index;
        $publication_inst = 'publication_institution_' . $index;
        $publication_qualification = 'publication_qualification_' . $index;