Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 191 → Rev 198

/projects/index.php
6,6 → 6,8
$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++)
{
13,6 → 15,25
$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 />');
}
 
/install.sql
38,7 → 38,7
DownloadURL TEXT,
WebsiteURL TEXT,
LatestVersion TEXT,
LastUpdate DATETIME
LastUpdate DATETIME,
PRIMARY KEY(ID)
);