" . sql_error());} else {$msg=$vocab["add_user_succeed"];} } } if ($action) { if ($action == "del_admin") { unset($login_admin); $login_admin = $_GET["login_admin"]; $sql = "DELETE FROM grr_j_useradmin_area WHERE (login='$login_admin' and id_area = '$area')"; if (sql_command($sql) < 0) {fatal_error(1, "
" . sql_error());} else {$msg=$vocab["del_user_succeed"];} } } if (empty($area)) $area = get_default_area(); echo "
".$vocab["admin_right_admin_explain"]."
"; echo ""; if ($msg) { echo ""; } # Table with areas. echo "".$vocab["areas"]." "; $out_html = ""; echo $out_html; $this_area_name = sql_query1("select area_name from grr_area where id=$area"); echo " | \n";
echo "
";
$is_admin='yes';
echo "".$vocab["administration_domaine"].""; echo "".$this_area_name.""; ?> |
".$vocab["user_admin_area_list"]."";
$exist_admin='yes';
}
echo "";
echo "$row[1] $row[2] | ".$vocab["delete"]." "; } } if ($exist_admin=='no') { echo " ".$vocab["no_admin_this_area"].""; } ?> |