Exemple #1
0
function redirectToUserSearchInc($conds)
{
    if (!isInRequest("search")) {
        $_REQUEST["search"] = 1;
        $_REQUEST["show__normal_username"] = 1;
        $_REQUEST["show__group"] = 1;
        $_REQUEST["show__credit"] = 1;
        $_REQUEST["show__owner"] = 1;
    }
    foreach ($conds as $key => $value) {
        $_REQUEST[$key] = $value;
    }
    intDoSearch(new IBSSmarty());
}
Exemple #2
0
<?php

require_once "search_user_funcs.php";
needAuthType(ADMIN_AUTH_TYPE);
$smarty = new IBSSmarty();
if (isInRequest("search")) {
    intDoSearch($smarty);
} else {
    intShowUserSearch($smarty);
}