78cd27b3 |
1 | <?php |
2 | /******************************************************************************** |
3 | * index.php : main page (newsgroups list) |
4 | * ----------- |
5 | * |
6 | * This file is part of the banana distribution |
7 | * Copyright: See COPYING files that comes with this distribution |
8 | ********************************************************************************/ |
9 | |
10 | require_once("banana/banana.inc.php"); |
916e4a56 |
11 | $banana = new Banana(); |
12 | $res = $banana->run(); |
78cd27b3 |
13 | |
236c6b2a |
14 | if ($res != "") { |
78cd27b3 |
15 | ?> |
916e4a56 |
16 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
17 | <html xmlns="http://www.w3.org/1999/xhtml"> |
78cd27b3 |
18 | <head> |
19 | <meta http-equiv="Content-Type" content="text/html; |
916e4a56 |
20 | charset=UTF-8"> |
78cd27b3 |
21 | <meta name="description" content="WebForum2/Banana"> |
22 | <link href="css/style.css" type="text/css" rel="stylesheet" media="screen"> |
23 | <link href="css/banana.css" type="text/css" rel="stylesheet" media="screen"> |
24 | <title> |
25 | Banana, a NNTP<->Web Gateway |
26 | </title> |
27 | </head> |
28 | <body> |
29 | <div class="bloc"> |
30 | <?php echo $res; ?> |
31 | <div class="foot"> |
32 | <em>Banana</em>, a Web interface for a NNTP Server<br /> |
33 | Developed under GPL License for <a href="http://www.polytechnique.org">Polytechnique.org</a> |
aca382bb |
34 | Use <em>silk</em> icons from <a href="http://www.famfamfam.com/lab/icons/silk/">www.famfamfam.com</a> |
78cd27b3 |
35 | </div> |
36 | </div> |
37 | </body> |
38 | </html> |
236c6b2a |
39 | <?php |
40 | } |
f6df9eb2 |
41 | |
42 | // vim:set et sw=4 sts=4 ts=4 |
236c6b2a |
43 | ?> |