Your IP : 216.73.217.79


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

<p>This facility has been replaced by: <a href="https://www.cesa.co.za/unemployed-engineering-practitioners/">https://www.cesa.co.za/unemployed-engineering-practitioners/</a></p><?php
																																													die();

																																													include_once($_SERVER["DOCUMENT_ROOT"] . "/php/memberauth.php");

																																													include_once($_SERVER["DOCUMENT_ROOT"] . "/php/inc_db.php");
																																													?>
<p>The following unemployed graduates have added their details and CV to our database (note that entries that are more than 3 months old are not displayed):</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 UnempGraduates where approved=1 order by surname, firstname, DateCreated";
	//  AND DateCreated>='".date("Y-m-d", strtotime("-3 months"))."'
	$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>