root/releases/0.301/index.php
| Revision 11, 415 bytes (checked in by sven, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | require("includes.php"); |
| 4 | |
| 5 | if (logged_on) { |
| 6 | $body = run("content:mainindex"); |
| 7 | } else { |
| 8 | $body = run("content:mainindex:loggedout"); |
| 9 | } |
| 10 | |
| 11 | echo run("templates:draw:page", array( |
| 12 | sitename, |
| 13 | run("templates:draw", array( |
| 14 | 'body' => $body, |
| 15 | 'title' => "Main Index", |
| 16 | 'context' => 'contentholder' |
| 17 | ) |
| 18 | ) |
| 19 | ) |
| 20 | ); |
| 21 | |
| 22 | ?> |
Note: See TracBrowser for help on using the browser.
