"; __("Last Login: "); echo format_date('the %3$d-%2$d-%1$d at %4$d:%5$d',$mem->user["lastlogin"]); printf(" "._('from: %1$s ')."
",$mem->user["lastip"]); echo "

"; if ($mem->user["lastfail"]) { printf(_("%1\$d login failed since last login")."
",$mem->user["lastfail"]); } $mem->resetlast(); /* use MagpieRSS to syndicate content from another site if available this should work, since the debian package installs it in /usr/share/php, which is in the include path */ $rss_url = variable_get('rss_feed'); $inc = @include_once('magpierss/rss_fetch.inc'); if ($inc && $rss_url) { $rss = fetch_rss($rss_url); if ($rss) { echo "

" . _("Latest news") . "

"; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; echo "

$title

"; echo ''.$item['pubdate'] .' - '; echo ''.$item['dc']['creator'].''; echo $item['summary']; } } } if($admin->enabled) { $expiring = $admin->renew_get_expiring_accounts(); if(count($expiring) > 0) { echo "

" . _("Expired or about to expire accounts") . "

\n"; echo "\n"; echo "\n"; if (is_array($expiring)) { foreach($expiring as $account) { echo ""; if($admin->checkcreator($account['uid'])) echo ""; else echo ""; echo "\n"; } } echo "
"._("uid").""._("Last name, surname").""._("Expiry")."
{$account['uid']}{$account['nom']}, {$account['prenom']}{$account['nom']}, {$account['prenom']}{$account['expiry']}
\n"; } } $c=@mysql_fetch_array(mysql_query("SELECT * FROM membres WHERE uid='".$cuid."';")); ?>
"._("WEB Space:")." "; echo sprintf("%.1f", $totalweb / 1024)." Mo"; echo "

"; ?>
"; echo ""; echo ""; $ms=$e["size"]; if ($totalmail) $pc=intval(100*$ms/$totalmail); else $pc=0; if ($mode==0) { echo sprintf("%.1f", $ms / 1024)." Mo"; } elseif ($mode==1) { echo sprintf("%.1f", $pc)." %"; } else { echo "\"".$pc."%\""; } echo ""; } } ?>
Domaine Mail Espace
".$d["domaine"]."".str_replace("_","@",$e["alias"])."

 

"; $ds=$d["size"]; if ($totaldb) $pc=intval(100*$ds/$totaldb); else $pc=0; if ($mode==0) { echo sprintf("%.1f", $ds / 1024/1024)." Mo"; } elseif ($mode==1) { echo sprintf("%.1f", $pc)." %"; } else { echo "\"".$pc."%\""; } echo ""; } ?>
DB Espace
".$d["db"]."

 

"; $ds=$d["size"]; if ($totallist) $pc=intval(100*$ds/$totallist); else $pc=0; if ($mode==0) { echo sprintf("%.1f", $ds / 1024)." Mo"; } elseif ($mode==1) { echo sprintf("%.1f", $pc)." %"; } else { echo "\"".$pc."%\""; } echo ""; } ?>
Liste Espace
".$d["list"]."