Subversion Repositories taios

Rev

Rev 196 | Rev 198 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

require '../_taios.php';

$page = new Taios_Page('Projects', '../');
$page->drawHeader();
$page->drawMiddle();

write('<p class="bold">Here you can find all the projects that are created by members of Tim32!</p><br />');

$ids = $page->findIDs('Projects', 'ORDER BY LastUpdate DESC');
for ($i = 0; $i < count($ids); $i++)
{
    $id = $ids[$i];
    $project = $page->getProject($id);
   
    write('<h3>' . $project->title . '</h3>');
    write('<table style="border: 0px;">');
    write('<tr>');
    write('<td style="border: 0px; vertial-align: top;"><img class="smiley" src="' . $project->logoURL . '" /></td>');
    write('<td style="border: 0px;">');
    write('<h4>Latest Version: ' . $project->latestVersion . '</h4>');
    write('<p>' . $page->replaceBBCode($project->description . '</p>');
    write('<p>');
    if (!empty($page->websiteURL))
    {
        write('<a href="' . $page->websiteURL . '">Website</a>');
    }
        if (!empty($page->downloadURL))
    {
        write(' &middot; <a href="' . $page->downloadURL . '">Download</a>');
    }
    write('</p>');
    write('</td>');
    write('</tr>');
    write('</table>');
    write('<br />');
}

$page->drawFooter();

?>