Your IP : 216.73.217.79


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

<?php
include("inc_functions.php");

if (!isset($_SESSION["StudentID"]) || empty($_SESSION["StudentID"])) header("Location: http://www.cesa.co.za/mentanet/login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MentaNet</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if IE 5]>
<style type="text/css"> 
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
</head>

<body class="twoColFixLtHdr">

<div id="container">
<?php include("inc_header.php"); ?>
<?php include("inc_sidebar.php"); ?>
  <div id="mainContent">
  <h2>Convenors</h2>
  <table border=0>
  <tr>
<?php
$sql = "SELECT * FROM CCEFacilitators ORDER BY FacilitatorName";
$rec = mysql_query($sql);
$iCol=0;
while ($row = mysql_fetch_assoc($rec)) {
?>
	<td valign="top" width="50%">
<?php
	if (!empty($row["Photograph"])) echo "<img src='/cceadmin/facilitators/".urlencode($row["Photograph"])."' width='100' align='left' hspace='5'>";
?>	    
    <span style="font-size:14px; color:#357ad6; font-weight:bold"><?php echo $row["FacilitatorName"]; ?></span><?php if (!empty($row["Qualifications"])) echo " (".$row["Qualifications"].")"; ?><br />
Phone: <?php echo $row["PhoneNumber"]; ?><br />
Cell: <?php echo $row["MobileNumber"]; ?><br />
<a href="modcontact.php?facilitator=<?php echo $row["FacilitatorID"]; ?>">Send a Message</a><br />
<?php
	if (!empty($row["CVFile"])) echo "<a href='/cceadmin/facilitators/".$row["CVFile"]."' target='_blank'>Download CV</a>";
?>	    
</td>
<?php
	$iCol++;
	if ($iCol % 2 == 0) echo "</tr><tr>";
}
?>  
</tr></table>  
  <h2>Subject Experts</h2>
  <table border=0>
  <tr>
<?php
$sql = "SELECT * FROM CCESubjectExperts ORDER BY ExpertName";
$rec = mysql_query($sql);
while ($row = mysql_fetch_assoc($rec)) {
?>
	<td valign="top" width="50%">
<?php
	if (!empty($row["Photograph"])) echo "<img src='/cceadmin/experts/".urlencode($row["Photograph"])."' width='100' align='left' hspace='5'>";
?>	    
    <span style="font-size:14px; color:#357ad6; font-weight:bold"><?php echo $row["ExpertName"]; ?></span><?php if (!empty($row["Qualifications"])) echo " (".$row["Qualifications"].")"; ?><br />
Phone: <?php echo $row["PhoneNumber"]; ?><br />
Cell: <?php echo $row["MobileNumber"]; ?><br />
Fax: <?php echo $row["FaxNumber"]; ?><br />
<a href="modcontact.php?expert=<?php echo $row["ExpertID"]; ?>">Send a Message</a><br />
<?php
	if (!empty($row["CVFile"])) echo "<a href='/cceadmin/experts/".urlencode($row["CVFile"])."' target='_blank'>Download CV</a>";
?>	    
</td>
<?php
	$iCol++;
	if ($iCol % 2 == 0) echo "</tr><tr>";
}
?>  
</tr></table>  
  </div>
<?php include("inc_footer.php"); ?>
<!-- end #container --></div>
</body>
</html>