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(' · <a href="' . $page->downloadURL . '">Download</a>'); |
} |
write('</p>'); |
write('</td>'); |
write('</tr>'); |
write('</table>'); |
write('<br />'); |
} |
|