<?php
require_once ("includes/database.php");
require_once ("includes/project.php");
$Project = new Project();
$Project->getLast(3); // Select the last 3 projects from the DB
?>
<!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>Dit is mijn persoonlijke webstek, waar ik wat meer info geef over mijn laatste projecten. Onder het motto "An Open Source Is A Better Source" zal ik ook alle broncode hier beschikbaar maken.</p>
<h4>Laatste projecten</h4>
<ul class="listLatest">
<li><a href="project/<?=$Project->getId();?>/"><?=$Project->getName(); ?></a> (<?=$Project->getLanguage(); ?>)</li>
<?php
$Project->next(); // Select the next project
?>
<li><a href="project/<?=$Project->getId();?>/"><?=$Project->getName(); ?></a> (<?=$Project->getLanguage(); ?>)</li>
<?php
$Project->next(); // Select the next project
?>
<li><a href="project/<?=$Project->getId();?>/"><?=$Project->getName(); ?></a> (<?=$Project->getLanguage(); ?>)</li>
</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>