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(); } if ($pattern && $pattern_type) { $r=$admin->get_list($show == 'all' ? 1 : 0, $creator, $pattern, $pattern_type); } else { $r = FALSE; } ?>
()
'._("No account defined for now").''; include('foot.php'); } ?>