";
__("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 "";
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 ""._("uid")." | "._("Last name, surname")." | "._("Expiry")." |
\n";
if (is_array($expiring)) {
foreach($expiring as $account) {
echo "{$account['uid']} | ";
if($admin->checkcreator($account['uid']))
echo "{$account['nom']}, {$account['prenom']} | ";
else
echo "{$account['nom']}, {$account['prenom']} | ";
echo "{$account['expiry']} |
\n";
}
}
echo "
\n";
}
}
$c=@mysql_fetch_array(mysql_query("SELECT * FROM membres WHERE uid='".$cuid."';"));
define("QUOTASONE","1");
require_once("quotas_oneuser.php");
?>