<td width="40%">' . $acad_publication->institution . '</td> <td width="5%">' . $acad_publication->qualification . '</td> <td width="5%">' . $acad_publication->year_of_publication . '</td> </tr>'; $index++; } echo '</tbody> </table>'; } ?> <h4 align="center" class="alert alert-success">Other Publications</h4> <?php $other_publication = OtherPublication::find_by_sql("SELECT * FROM otherpublications WHERE applicant_id='" . $applicant_id . "'"); if (empty($other_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>Publisher</th> </thead> <tbody> <tr> <td width="4%"> 1. </td> <td width="60%">' . $no_information . '</td> <td width="30%">' . $no_information . '</td> </tr>
<?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;