N'utilise plus de pj.php distinct du index.php pour les piÚces jointes
[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 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 </div>
34 </div>
35 </body>
36 </html>
37 <?php
38 }
39 ?>