Note: This project is no longer actively maintained, but the code is available if you want it.

\n"; } $ProjectID = ''; $ProjectName = GetVar('Project'); if ($ProjectName != '') { $ProjectIDs = array_keys(GetTableData("SELECT ID FROM Projects where `Title`='$ProjectName' AND `visible`='true'")); if (count($ProjectIDs) != 1) $ProjectID = ''; else $ProjectID = $ProjectIDs[0]; } else $ProjectID = GetVar('ProjectID', $ProjectID); if ($ProjectID != '') { $ProjectInfo = GetTableData("SELECT * FROM Projects WHERE `ID`='$ProjectID' AND `visible`='true'"); $ProjectInfo = $ProjectInfo[$ProjectID]; echo "

" . $ProjectInfo['Title'] . "

\n"; # echo "

" . $ProjectInfo[Description] . "

\n"; $InfoFile = $ProjectInfo['URI'] . "/project.info"; if (file_exists($InfoFile)) { echo ReplaceStrings(file_get_contents($InfoFile), $ProjectInfo['URI'], $ProjectInfo['Title']); } if ($ProjectInfo['maintained'] != 'true') NotMaintained(); } else { $ProjectsInfo = GetTableData("SELECT * FROM Projects WHERE `visible`='true' ORDER BY `maintained` DESC,`Updated` DESC"); foreach ($ProjectsInfo as $Key => $ProjectInfo) { echo "

" . $ProjectInfo['Title'] . "

\n"; echo "

" . ReplaceStrings($ProjectInfo['Description'], $ProjectInfo['URI'], $ProjectInfo['Title']) . "

\n"; if ($ProjectInfo['maintained'] != 'true') NotMaintained(); } } include_once("Footer.php"); ?>