Example #1
0
function txAdministratorSearch()
{
    global $DB, $json, $C;
    $out =& GenericSearch('tx_administrators', 'administrators-tr.php');
    echo $json->encode($out);
}
Example #2
0
/**
* Search user accounts
*/
function lxShSearchUsers()
{
    global $DB, $json, $C;
    $GLOBALS['REJECTIONS'] =& $DB->FetchAll('SELECT * FROM `lx_rejections` ORDER BY `identifier`');
    $GLOBALS['_user_fields_'] =& $DB->FetchAll('SELECT * FROM `lx_user_field_defs` ORDER BY `name`');
    $out =& GenericSearch('lx_users', 'users-tr.php', 'SearchUsersSelect');
    echo $json->encode($out);
}