<?php
require_once ("includes/database.php");
require_once ("includes/project.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=utf-8" />
<title>CodeBase - Project Browsing</title>
<base href="http://www.mattiasgeniar.be">
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {color: #CC0000}
-->
</style>
</head>
<body class="oneColFixCtrHdr">
<div id="container">
<div id="header">
<h1><span class="style2">C</span>ode<span class="style2">B</span>ase - Project Browsing</h1>
<!--
end #header --></div> <div id="mainContent">
<h3><a href="/">home</a> - <a href="allprojects/">projects</a> - <a href="login/">login</a></h3>
<p>Hieronder staat een lijst met verschillende projecten. Van elk project kan je de broncode en enkele screenshots bekijken.</p>
<p>Helaas zijn er van vele (vooral oudere) projecten geen backups gemaakt, en zijn ze ook al reeds offline. Hier staat enkel een overzicht van alle projecten waarvan ik nog lokale kopieen had staan.</p>
<h3>Projecten</h3>
<?php
$Project = new Project();
$Project->getAll();
$prev_year = 0;
$previous = false;
while (!$Project->EOF()) {
if ($prev_year != $Project->getYear()) {
// Display a little "title", with the year
if ($previous == true)
echo "</ul>";
// Close the previous list $previous = true;
echo "<h4>".
$Project->
getYear() .
"</h4>";
echo "<ul class=\"listLatest\">";
// }
$prev_year = $Project->getYear();
echo "<li><a href=\"project/".
$Project->
getId() .
"/\">".
$Project->
getName() .
"</a> (".
$Project->
getLanguage() .
")<br /><i>".
htmlspecialchars($Project->
getDescription()) .
"</i></li>\n";
$Project->next();
}
?>
</ul>
<!--
end #mainContent --></div><?php
require_once ("footer.php");
?>
<!--
end #container --></div><script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2065823-1";
urchinTracker();
</script>
</body>
</html>