setIncludeDirectories(false); $access_modules_array = array(); foreach ($osC_DirectoryListing->getFiles() as $file) { $module = substr($file['name'], 0, strrpos($file['name'], '.')); if (!class_exists('osC_Access_' . ucfirst($module))) { $osC_Language->loadConstants('modules/access/' . $file['name']); include($osC_DirectoryListing->getDirectory() . '/' . $file['name']); } $module = 'osC_Access_' . ucfirst($module); $module = new $module(); $access_modules_array[osC_Access::getGroupTitle( $module->getGroup() )][] = array('id' => $module->getModule(), 'text' => $module->getTitle()); } ksort($access_modules_array); ?>

getModule()), $osC_Template->getPageTitle()); ?>

size($osC_Template->getModule()) > 0) { echo $osC_MessageStack->output($osC_Template->getModule()); } ?>

query('select id, user_name from :table_administrators where id in (":id") order by user_name'); $Qadmins->bindTable(':table_administrators', TABLE_ADMINISTRATORS); $Qadmins->bindRaw(':id', implode('", "', array_unique(array_filter(array_slice($_POST['batch'], 0, MAX_DISPLAY_SEARCH_RESULTS), 'is_numeric')))); $Qadmins->execute(); $names_string = ''; while ($Qadmins->next()) { $names_string .= osc_draw_hidden_field('batch[]', $Qadmins->valueInt('id')) . '' . $Qadmins->value('user_name') . ', '; } if ( !empty($names_string) ) { $names_string = substr($names_string, 0, -2); } echo '

' . $names_string . '

'; echo '

' . osc_draw_radio_field('mode', array(array('id' => OSC_ADMINISTRATORS_ACCESS_MODE_ADD, 'text' => 'Add To'), array('id' => OSC_ADMINISTRATORS_ACCESS_MODE_REMOVE, 'text' => 'Remove From'), array('id' => OSC_ADMINISTRATORS_ACCESS_MODE_SET, 'text' => 'Set To')), OSC_ADMINISTRATORS_ACCESS_MODE_ADD) . '

'; echo '' . ''; ?>

'; ?>