getHeader('message-id'); $msgs[$id] = true; $msgs = base64_encode(gzdeflate(serialize($msgs))); setcookie('banana_read', $msgs, 0); $_COOKIE['banana_read'] = $msgs; } // Minimalist login if ((@$_GET['action'] == 'rss2') || (!isset($_SESSION['banana_email']) || isset($_POST['change_login']) || isset($_POST['valid_change']))) { if (isset($_COOKIE['banana_email']) && !isset($_POST['change_login']) && !isset($_POST['valid_change'])) { $_SESSION['banana_email'] = $_COOKIE['banana_email']; $_SESSION['banana_name'] = $_COOKIE['banana_name']; } elseif (isset($_POST['valid_change'])) { $_SESSION['banana_name'] = $_POST['name']; $_SESSION['banana_email'] = $_POST['email']; setcookie('banana_name', $_POST['name'], time() + 25920000); setcookie('banana_email', $_POST['email'], time() + 25920000); } else { ?> Banana, a NNTP<->Web Gateway

Les Forums de Banana

Merci d'entrer vos identifiants pour accéder à Banana :
Nom :
Email :
Banana, a Web interface for a NNTP Server
Developed under GPL License for Polytechnique.org
Use silk icons from www.famfamfam.com
'; Banana::$profile['lastnews'] = $_SESSION['banana_lastnews']; setcookie('banana_lastnews', time(), time() + 25920000); // Run Bananan $banana = new MyBanana(); // Create the instance of Banana $res = $banana->run(); // Run banana, and generate the XHTML output $css = $banana->css(); // Get the CSS code to add in my page headers $feed = $banana->feed(); // Get a link to banana's feed. You need to use Banana::refreshAllFeeds in a cron or enable Banana::$feed_updateOnDemand in order to keep up-to-date feeds $bt = $banana->backtrace(); // Get protocole execution backtrace session_write_close(); if (@strtolower($_GET['output']) === 'json') { header('Content-Type: text/javascript'); echo $res; exit; } // Genererate the page ?> Banana, a NNTP<->Web Gateway

Les Forums de Banana

Vous êtes :

Banana, a Web interface for a NNTP Server
Developed under GPL License for Polytechnique.org
Use silk icons from www.famfamfam.com
"; foreach ($bt as &$entry) { echo "
" . $entry['action'] . "
"; echo "

" . "Exécution en " . sprintf("%.3fs", $entry['time']) . "
" . "Retour : " . $entry['code'] . "
" . "Lignes : " . $entry['response'] . "

"; } echo "
"; } ?>