function handler_ev(&$page, $action = 'list', $eid = null, $pound = null)
{
$page->changeTpl('login.tpl');
+
+ // donne la derniere date de session
+ $page->assign('lastlogin', strftime("%Y%m%d%H%M%S",S::i('lastlogin')));
$res = XDB::query('SELECT date, naissance FROM auth_user_md5
WHERE user_id={?}', S::v('uid'));
// Liens apparaissant de façon aléatoire
$pub_rnd = array(
'nl/show' => 'Afficher la dernière newsletter' ,
- 'http://www.polytechnique.net' => 'Vers les autres sites polytechniciens' ,
+ 'http://www.polytechnique.net/login' => 'Vers les autres sites polytechniciens' ,
"trombi/{$_SESSION["promo"]}" => "Voir le trombi de ma promo" ,
'banana' => 'Un petit tour du côté des forums !!'
) ;
if($aid == 'update') {
$nl->_title = Post::v('title');
+ $nl->_title_mail= Post::v('title_mail');
$nl->_date = Post::v('date');
$nl->_head = Post::v('head');
$nl->_shortname = strlen(Post::v('shortname')) ? Post::v('shortname') : null;