Your IP : 216.73.217.79


Current Path : /var/www/cesa.co.za/php/
Upload File :
Current File : /var/www/cesa.co.za/php/retiredeng_members.php

<?php
include_once("memberauth.php");

include_once("inc_db.php");
?>
<p>Join other retired engineering practitioners. 
<a href="https://www.cesa.co.za/retired/">Add your details and CV using our form.</a></p>
<p>The following retired engineers have added their details and CV to our database:</p>
<table border="1">
<tr><td><strong>Name and Contact</strong></td><td><strong>Qualification</strong></td><td>
	<strong>Location</strong></td><td><strong>Looking for</strong></td><td>
	<strong>CV</strong></td></tr>
<?php
	$sql="SELECT distinct title, firstname, surname,  
		qualiflevel, qualification, institution, yearqual, province, location, 
		cvfile, telnum, email, fromdate, jobtype, qualiflevel, specialisation, DateCreated from UnempRetired where approved=1 order by surname, firstname, DateCreated";
	$rec=mysql_query($sql);
	if (mysql_num_rows($rec)==0) echo "<tr><td colspan=9>No records in the database</td></tr>";
	while ($row=mysql_fetch_assoc($rec)) {
?>
<tr><td><b><?php echo $row["title"]." ".$row["firstname"]." ".$row["surname"]; ?></b><br>
<?php echo $row["telnum"]."<br>".$row["email"]; ?><br><br>
<em style="font-size:8px">Added to database on <?php echo date("Y-m-d", strtotime($row["DateCreated"])); ?></em>
</td>
<td><?php echo $row["qualification"]; ?><br><em>Level: </em><?php echo $row["qualiflevel"]; ?><br>
<em>Institution: </em><?php echo $row["institution"]; ?><br><em>Year: </em><?php echo $row["yearqual"]; ?></td>
<td><?php echo $row["location"]."<br><i>Province:</i> ".$row["province"]; ?></td>
<td><em>Specialisation: </em><?php echo $row["specialisation"]; ?><br>
<em>Looking for: </em><?php echo nl2br($row["jobtype"]); ?><br>
<em>Available from: </em><?php echo $row["fromdate"]; ?></td>
<td><a href="/<?php echo $row["cvfile"]; ?>" target="_blank">Click here to download the CV</a></td>
</tr>
<?php	
	}
?>
</table>