in the new module
[platal.git] / htdocs / banana / 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('xorg.inc.php');
11 new_skinned_page('banana/index.tpl', AUTH_COOKIE);
12 $page->addCssLink('css/banana/style.css');
13 $page->assign('xorg_title','Polytechnique.org - Forums & PA');
14 require_once('banana.inc.php');
15
16 $res = PlatalBanana::run();
17 $page->assign_by_ref('banana', $banana);
18 $page->assign('banana_res', $res);
19 $page->run();
20 ?>