<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
if(Get::has('read')) {
$_SESSION['watch_last'] = Get::get('read');
- header("Location: panel.php");
+ redirect("panel.php");
}
$page->assign('now',date('YmdHis'));
$page->assign('today', date('Y-m-d'));
if (Session::has('core_rss_hash')) {
- $page->assign('xorg_rss', Array("title" => "Polytechnique.org :: Carnet", "href" => "/carnet/rss.php/".Session::get('forlife')."/".Session::get('core_rss_hash').".xml"));
+ $page->assign('xorg_rss',
+ array("title" => "Polytechnique.org :: Carnet",
+ "href" => "/carnet/rss/".Session::get('forlife')."/".Session::get('core_rss_hash')."/rss.xml"));
}
$page->run();