| 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"); |
| 11 | $res = Banana::run(); |
| 12 | |
| 13 | if ($res != "") { |
| 14 | ?> |
| 15 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 16 | <html> |
| 17 | <head> |
| 18 | <meta http-equiv="Content-Type" content="text/html; |
| 19 | charset=iso-8859-1"> |
| 20 | <meta name="description" content="WebForum2/Banana"> |
| 21 | <link href="css/style.css" type="text/css" rel="stylesheet" media="screen"> |
| 22 | <link href="css/banana.css" type="text/css" rel="stylesheet" media="screen"> |
| 23 | <title> |
| 24 | Banana, a NNTP<->Web Gateway |
| 25 | </title> |
| 26 | </head> |
| 27 | <body> |
| 28 | <div class="bloc"> |
| 29 | <?php echo $res; ?> |
| 30 | <div class="foot"> |
| 31 | <em>Banana</em>, a Web interface for a NNTP Server<br /> |
| 32 | Developed under GPL License for <a href="http://www.polytechnique.org">Polytechnique.org</a> |
| 33 | Use <em>silk</em> icons from <a href="http://www.famfamfam.com/lab/icons/silk/">www.famfamfam.com</a> |
| 34 | </div> |
| 35 | </div> |
| 36 | </body> |
| 37 | </html> |
| 38 | <?php |
| 39 | } |
| 40 | |
| 41 | // vim:set et sw=4 sts=4 ts=4 |
| 42 | ?> |