read changelog
[banana.git] / examples / index.php
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 ?>
14 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
15 <html>
16 <head>
17 <meta http-equiv="Content-Type" content="text/html;
18 charset=iso-8859-1">
19 <meta name="description" content="WebForum2/Banana">
20 <link href="css/style.css" type="text/css" rel="stylesheet" media="screen">
21 <link href="css/banana.css" type="text/css" rel="stylesheet" media="screen">
22 <title>
23 Banana, a NNTP<->Web Gateway
24 </title>
25 </head>
26 <body>
27 <div class="bloc">
28 <?php echo $res; ?>
29 <div class="foot">
30 <em>Banana</em>, a Web interface for a NNTP Server<br />
31 Developed under GPL License for <a href="http://www.polytechnique.org">Polytechnique.org</a>
32 </div>
33 </div>
34 </body>
35 </html>