Commit 335d3450 authored by mbriand's avatar mbriand
Browse files

Stats forum : affichage des surnoms quand c'est possible (à la place des alias)

parent e03a4f82
......@@ -398,12 +398,14 @@ elseif ( $_REQUEST["view"] == "forum" )
while ($plouf = $rs->get_row())
{
$plouf['alias_utl'] = explode(' ', $plouf['alias_utl']);
$plouf['alias_utl'] = $plouf['alias_utl'][0];
$datas[utf8_decode($plouf['alias_utl'])] = $plouf['totmesg'];
}
{
if ($plouf['surnom_utbm'] != null)
$nom = explode(' ', $plouf['surnom_utbm']);
else
$nom = explode(' ', $plouf['alias_utl']);
$datas[utf8_decode($nom)] = $plouf['totmesg'];
}
$hist = new histogram($datas, "Top 10");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment