Rev 198 | Rev 201 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
169 | tom | 1 | <?php |
2 | |||
3 | require '../_taios.php'; |
||
4 | |||
5 | $page = new Taios_Page('Projects', '../'); |
||
6 | $page->drawHeader(); |
||
7 | $page->drawMiddle(); |
||
8 | |||
196 | tom | 9 | write('<p class="bold">Here you can find all the projects that are created by members of Tim32!</p><br />'); |
10 | |||
191 | tom | 11 | $ids = $page->findIDs('Projects', 'ORDER BY LastUpdate DESC'); |
12 | for ($i = 0; $i < count($ids); $i++) |
||
13 | { |
||
14 | $id = $ids[$i]; |
||
15 | $project = $page->getProject($id); |
||
16 | |||
17 | write('<h3>' . $project->title . '</h3>'); |
||
194 | tom | 18 | write('<table style="border: 0px;">'); |
193 | tom | 19 | write('<tr>'); |
194 | tom | 20 | write('<td style="border: 0px; vertial-align: top;"><img class="smiley" src="' . $project->logoURL . '" /></td>'); |
195 | tom | 21 | write('<td style="border: 0px;">'); |
22 | write('<h4>Latest Version: ' . $project->latestVersion . '</h4>'); |
||
198 | tom | 23 | write('<p>' . $page->replaceBBCode($project->description) . '</p>'); |
197 | tom | 24 | write('<p>'); |
199 | tom | 25 | if (!empty($project->websiteURL)) |
197 | tom | 26 | { |
199 | tom | 27 | write('<a href="' . $project->websiteURL . '">Website</a>'); |
197 | tom | 28 | } |
199 | tom | 29 | if (!empty($project->downloadURL)) |
197 | tom | 30 | { |
199 | tom | 31 | write(' · <a href="' . $project->downloadURL . '">Download</a>'); |
197 | tom | 32 | } |
33 | write('</p>'); |
||
195 | tom | 34 | write('</td>'); |
193 | tom | 35 | write('</tr>'); |
36 | write('</table>'); |
||
191 | tom | 37 | write('<br />'); |
38 | } |
||
169 | tom | 39 | |
40 | $page->drawFooter(); |
||
41 | |||
42 | ?> |
||
43 |