enabled) { __("This page is restricted to authorized staff"); include_once('foot.php'); exit(); } $fields = array( "show" => array("request", "string", ""), "creator" => array("request", "integer", 0), "short" => array("request", "integer", -1), "pattern" => array("post", "string", "*"), "pattern_type" => array("post", "string", "login"), ); getFields($fields); if (empty($pattern)) $pattern = "*"; if ($short != -1) { $mem->adminpref($short); $mem->user["admlist"] = $short; } $subadmin = variable_get("subadmin_restriction", 0); // If we ask for all account but we aren't "admin" and // subadmin var is not 1 if ($show == "all" && !$subadmin == 1 && $cuid != 2000) { __("This page is restricted to authorized staff"); include('foot.php'); exit(); } // show all accounts by default for admin-like accounts if (($show=="")&&($subadmin == 1 || $cuid == 2000)) $show="all"; if ($pattern && $pattern_type) { $accountList = $admin->get_list($show == 'all' ? 1 : 0, $creator, $pattern, $pattern_type); } else { $accountList = FALSE; } ?>


user["admlist"] == 0) { // Normal (large) mode ?>

" />

get_creator_list(); if ($subadmin == 1 || $cuid == 2000) { $class=($show=="all") ? "inb" : "ina"; echo '

' . _('List all AlternC accounts') . ''; $class=($show!="all") ? "inb" : "ina"; echo ' ' . _('List only my accounts') . '

'; if ($show != 'all') { $infos_creators = array(); foreach ($list_creators as $key => $val) { $infos_creators[] = '' . $val['login'] . ''; } if (count($infos_creators)) { echo ' (' . _("Or only the accounts of:") . " " . implode(', ', $infos_creators) . ')'; } } }// END ($subadmin==1 || $cuid==2000) ?>
', $error, '

'; } ?>

()

' . _("No account defined for now") . '

'; include('foot.php'); } ?>
user["admlist"] == 0) { // Normal (large) mode ?>

5) { ?> " />

">  " value="" /> > " href="mailto:"> 
renew_get_expiry($val['uid'])); ?>
"> ">     " > ">   " > ">   " > ">  

" />

user["admlist"] == 1) { // SHORT MODE ?> [  ]     [  ]     [  ]    

50) { ?> " /> 50 ?>

'; } if ($val["su"]) { echo ''; } else { echo ''; } // if $val["su"] ?> '; } ++$count_r; } // foreach $accountList ?>
  " title="">[  ] " title="">[  ] checkcreator($val['uid'])||($show=="all")) { ?> " title="">[  ]checkcreator $creator_name = ( ($val['creator'] == '0') ? _("himself") : $list_creators[$val['creator']]['login']) ?> ">

" />