* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ require_once '../core/init.php'; $user->checkLogin(true); // Check his rights if ($userInfo['rights_whitelist'] == 'no') { header('Location: ' . HOME_URL . 'panel/accessDenied.php'); die; } // Fetch the whitelist users $list = new Whitelist($db, $config); $players = $list->fetchList(); // Initialize the Accounts class $acc = new Accounts($db, $config); $pageTitle = $lang['tool_wlist']; include CORE_DIR . '/cp_header.php'; ?> <div class="row"> <div class="col-md-12"> <h2><i class="fa fa-check-square-o"></i> <?php echo $lang['tool_wlist']; ?> <small><?php echo $lang['tool_wlist_desc']; ?>