| Current Path : /var/www/cesa.co.za/mentanet/ |
| Current File : /var/www/cesa.co.za/mentanet/index.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"); ?>
<?php
$MilestoneNum=1;
$sql="SELECT MAX(CCMMilestoneNum) AS CCMMilestoneNum FROM CCMStudentProgress WHERE CCMStudentID=".$_SESSION["StudentID"];
// echo $sql;
$rec=mysql_query($sql);
if ($row=mysql_fetch_assoc($rec)) $MilestoneNum=$row["CCMMilestoneNum"];
mysql_free_result($rec);
?>
<div id="mainContent">
<h1> Home</h1>
<table border="0" cellpadding="0" cellspacing="0" id="Table_">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td valign="top" bgcolor="#DDD7E3"><img src="images/milestones2_05.jpg" width="11" height="26" alt="" /></td>
<td colspan="3" rowspan="3" align="center" bgcolor="#DDD7E3" style="font-size:10px; font-weight:bold">Milestone 1: 1 Aug - 31 Oct '13<br />
Milestone 5: 1 Aug - 31 Oct '14<br />
Milestone 9: 1 Aug - 31 Oct '15<br />
<?php if (($MilestoneNum==1) || ($MilestoneNum==5) || ($MilestoneNum==9)) echo '<img src="images/tick.png" width="19" height="15" align="absmiddle" /> <span style="color:red; font-weight:bold">You are here</span>'; ?></td>
<td valign="top" bgcolor="#DDD7E3"><img src="images/milestones2_07.jpg" width="10" height="26" alt="" /></td>
<td rowspan="3"><img src="images/milestones2_08.jpg" width="62" height="79" alt="" /></td>
<td valign="top" bgcolor="#FDEADB"><img src="images/milestones2_09.jpg" width="11" height="26" alt="" /></td>
<td colspan="5" rowspan="3" align="center" bgcolor="#FDEADB" style="font-size:10px; font-weight:bold">Milestone 2: 1 Nov - 31 Jan '14<br />
Milestone 6: 1 Nov - 31 Jan '15<br />
Milestone 10: 1 Nov - 31 Jan '16<br />
<?php if (($MilestoneNum==2) || ($MilestoneNum==6) || ($MilestoneNum==10)) echo '<img src="images/tick.png" width="19" height="15" align="absmiddle" /> <span style="color:red; font-weight:bold">You are here</span>'; ?></td>
<td valign="top" bgcolor="#FDEADB"><img src="images/milestones2_11.jpg" width="11" height="26" alt="" /></td>
<td colspan="2" rowspan="3" valign="bottom"><img src="images/milestones2_12.jpg" width="150" height="79" alt="" /></td>
</tr>
<tr>
<td bgcolor="#DDD7E3"> </td>
<td bgcolor="#DDD7E3"> </td>
<td bgcolor="#FDEADB"> </td>
<td bgcolor="#FDEADB"> </td>
</tr>
<tr>
<td valign="bottom" bgcolor="#DDD7E3"><img src="images/milestones2_17.jpg" width="11" height="26" alt="" /></td>
<td valign="bottom" bgcolor="#DDD7E3"><img src="images/milestones2_18.jpg" width="10" height="26" alt="" /></td>
<td valign="bottom" bgcolor="#FDEADB"><img src="images/milestones2_19.jpg" width="11" height="26" alt="" /></td>
<td valign="bottom" bgcolor="#FDEADB"><img src="images/milestones2_20.jpg" width="11" height="26" alt="" /></td>
</tr>
<tr>
<td colspan="2" valign="bottom"><img src="images/milestones2_21.jpg" width="148" height="27" alt="" /></td>
<td colspan="5"> </td>
<td colspan="5"> </td>
<td> </td>
<td colspan="2" valign="top"><img src="images/milestones2_24.jpg" width="150" height="27" alt="" /></td>
</tr>
<tr>
<td colspan="2" rowspan="3" valign="top"><img src="images/milestones2_25.jpg" width="148" height="79" alt="" /></td>
<td valign="top" bgcolor="#E3B5B5"><img src="images/milestones2_26.jpg" width="10" height="26" alt="" /></td>
<td colspan="5" rowspan="3" align="center" bgcolor="#E3B5B5" style="font-size:10px; font-weight:bold">Milestone 4: 1 May - 31 Jul '14<br />
Milestone 8: 1 May - 31 Jul '15<br />
Milestone 12: 1 May - 31 Jul '16<br />
<?php if (($MilestoneNum==4) || ($MilestoneNum==8) || ($MilestoneNum==12)) echo '<img src="images/tick.png" width="19" height="15" align="absmiddle" /> <span style="color:red; font-weight:bold">You are here</span>'; ?></td>
<td valign="top" bgcolor="#E3B5B5"><img src="images/milestones2_28.jpg" width="9" height="26" alt="" /></td>
<td rowspan="3"><img src="images/milestones2_29.jpg" width="63" height="79" alt="" /></td>
<td valign="top" bgcolor="#DFDAC6"><img src="images/milestones2_30.jpg" width="11" height="26" alt="" /></td>
<td colspan="3" rowspan="3" align="center" bgcolor="#DFDAC6" style="font-size:10px; font-weight:bold">Milestone 3: 1 Feb - 31 Apr '14<br />
Milestone 7: 1 Feb - 31 Apr '15<br />
Milestone 11: 1 Feb - 31 Apr '16<br />
<?php if (($MilestoneNum==3) || ($MilestoneNum==7) || ($MilestoneNum==11)) echo '<img src="images/tick.png" width="19" height="15" align="absmiddle" /> <span style="color:red; font-weight:bold">You are here</span>'; ?></td>
<td valign="top" bgcolor="#DFDAC6"><img src="images/milestones2_32.jpg" width="9" height="26" alt="" /></td>
</tr>
<tr>
<td bgcolor="#E3B5B5"> </td>
<td bgcolor="#E3B5B5"> </td>
<td bgcolor="#DFDAC6"> </td>
<td bgcolor="#DFDAC6"> </td>
</tr>
<tr>
<td valign="bottom" bgcolor="#E3B5B5"><img src="images/milestones2_37.jpg" width="10" height="26" alt="" /></td>
<td valign="bottom" bgcolor="#E3B5B5"><img src="images/milestones2_38.jpg" width="9" height="26" alt="" /></td>
<td valign="bottom" bgcolor="#DFDAC6"><img src="images/milestones2_39.jpg" width="11" height="26" alt="" /></td>
<td valign="bottom" bgcolor="#DFDAC6"><img src="images/milestones2_40.jpg" width="9" height="26" alt="" /></td>
</tr>
<tr>
<td><img src="images/spacer.gif" width="11" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="137" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="10" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="34" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="10" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="62" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="11" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="66" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="9" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="63" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="11" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="31" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="11" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="141" height="1" alt="" /></td>
<td><img src="images/spacer.gif" width="9" height="1" alt="" /></td>
</tr>
</table>
<table id="Table_02" width="687"border="0" cellpadding="0" cellspacing="0"> <tr>
<td><img src="images/Milestones_26.jpg" width="49" height="128" alt="" /></td>
<td><img src="images/Milestones_27.jpg" width="148" height="128" alt="" /></td>
<td><img src="images/Milestones_28.jpg" width="120" height="128" alt="" /></td>
<td><img src="images/Milestones_29.jpg" width="27" height="128" alt="" /></td>
<td><img src="images/Milestones_30.jpg" width="119" height="128" alt="" /></td>
<td><img src="images/Milestones_31.jpg" width="147" height="128" alt="" /></td>
<td><img src="images/Milestones_32.jpg" width="77" height="128" alt="" /></td>
</tr>
</table>
<p> </p>
</div>
<?php include("inc_footer.php"); ?>
<!-- end #container --></div>
</body>
</html>