* * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ /* $Id$ */ if (! $account_id) { $phpgw_info["flags"] = array("nonavbar" => True, "noheader" => True); } $phpgw_info["flags"]["currentapp"] = "admin"; $phpgw_info["flags"]["parent_page"] = "accounts.php"; include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" . $phpgw_info["server"]["auth_type"] . ".inc.php"); if (! $account_id) { Header("Location: " . $phpgw->link("accounts.php")); } $userData = $phpgw->accounts->read_userData($account_id); $loginid = $userData["account_lid"]; $account_lastlogin = $userData["account_lastlogin"]; $account_lastloginfrom = $userData["account_lastloginfrom"]; $account_status = $userData["account_status"]; $db_perms = $phpgw->accounts->read_apps($loginid); #$phpgw->db->query("select account_lid from accounts where account_id='$account_id'"); #$phpgw->db->next_record(); #$loginid = $phpgw->db->f("account_lid"); #$account_info = account_view($loginid); #$phpgw->db->query("select account_lastlogin,account_lastloginfrom,account_status from accounts " # . "where account_id='$account_id'"); #$phpgw->db->next_record(); ?>
" . implode(", ", $perm_display) . " | |
" . lang("account active") . " | "; if ($userData["status"] == "A") echo lang("yes"); else echo "" . lang("no") . ""; ?> |
Groups: | accounts->read_group_names($userData["account_lid"]);
for ($i=0;$i |
Last login | common->show_date($userData["lastlogin"]); ?> |
Last login from |