Rev 194 | Rev 196 | 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 | |||
| 191 | tom | 9 | $ids = $page->findIDs('Projects', 'ORDER BY LastUpdate DESC'); |
| 10 | for ($i = 0; $i < count($ids); $i++) |
||
| 11 | { |
||
| 12 | $id = $ids[$i]; |
||
| 13 | $project = $page->getProject($id); |
||
| 14 | |||
| 15 | write('<h3>' . $project->title . '</h3>'); |
||
| 194 | tom | 16 | write('<table style="border: 0px;">'); |
| 193 | tom | 17 | write('<tr>'); |
| 194 | tom | 18 | write('<td style="border: 0px; vertial-align: top;"><img class="smiley" src="' . $project->logoURL . '" /></td>'); |
| 195 | tom | 19 | write('<td style="border: 0px;">'); |
| 20 | write('<h4>Latest Version: ' . $project->latestVersion . '</h4>'); |
||
| 21 | write('<p>' . $page->replaceBBCode($project->description . '</p>'); |
||
| 22 | write('</td>'); |
||
| 193 | tom | 23 | write('</tr>'); |
| 24 | write('</table>'); |
||
| 191 | tom | 25 | write('<br />'); |
| 26 | } |
||
| 169 | tom | 27 | |
| 28 | $page->drawFooter(); |
||
| 29 | |||
| 30 | ?> |
||
| 31 |