";
__("Last Login: ");
if ($mem->user["lastlogin"]=="0000-00-00 00:00:00") {
__("Never");
} else {
echo format_date(_('the %3$d-%2$d-%1$d at %4$d:%5$02d'),$mem->user["lastlogin"]);
printf(" "._('from: %1$s
')."
",$mem->user["lastip"]);
}
echo "
$error
";$error=''; } $feed_url = variable_get('rss_feed', '', 'This is an RSS feed that will be displayed on the users homepages when they log in.', array('desc'=>'URL','type'=>'string')); if (!empty($feed_url)) { $cache_time = 60*5; // 5 minutes $cache_file = "/tmp/alterncpanel_cache_main.rss"; $timedif = @(time() - filemtime($cache_file)); if (file_exists($cache_file) && $timedif < $cache_time) { $string = file_get_contents($cache_file); } else { $string = file_get_contents("$feed_url"); file_put_contents($cache_file,$string); } $xml = @simplexml_load_string($string); if ( ! $xml === FALSE ) { echo '".$xml->channel->title." ".$xml->channel->description." | |
---|---|
'._("Title").' | '._("Date").' |
pubDate)?'colpan=2':'').'>'.$val->title.' | '; if (!empty($val->pubDate)) { echo ''.strftime("%d/%m/%Y" , strtotime($val->pubDate)).' | '; } echo '
"._("uid")." | "._("Last name, surname")." | "._("Expiry")." | |
---|---|---|---|
{$account['uid']} | "; if($admin->checkcreator($account['uid'])) { echo "{$account['nom']}, {$account['prenom']} | "; }else{ echo "{$account['nom']}, {$account['prenom']} | "; } echo "{$account['expiry']} |
"; __("You are using the AlternC Panel. You can contact the AlternC community for information or feedback by joining the mailing-list"); echo " users@alternc.org"; echo "
"; } // if $admin->enabled $blocks=$hooks->invoke("hook_homepageblock"); uasort($blocks, function($a, $b) {return $a->pos<$b->pos ? -1 : 1;}); foreach ($blocks as $v) { if (property_exists($v, "call")) { $func=$v->call; $func(); } if (property_exists($v, "include")) { include $v->include; } } ?>