loggedIn()) { print 'Log in before accessing this part of the site.'; exit; } // Check if staff if($_SESSION['uid'] != 2 && !$flashii->checkRank($fwSettings['sitemodRanks'])) { print 'You are not allowed to view this part of the site.'; exit; } if(!isset($_GET['sid']) && $_GET['sid'] != session_id()) { header('Location: ./?page='. base64_encode('index') .'&sid='. session_id()); exit; } if(isset($_GET['navi'])) { if(isset($_GET['prof'])) header('Location: ./?page='. base64_encode('profile') .'&sid='. session_id()); if(isset($_GET['bans'])) header('Location: ./?page='. base64_encode('banning') .'&sid='. session_id()); if(isset($_GET['repo'])) header('Location: ./?page='. base64_encode('reports') .'&sid='. session_id()); if(isset($_GET['warn'])) header('Location: ./?page='. base64_encode('warnings') .'&sid='. session_id()); if(isset($_GET['flii'])) header('Location: /'); if(isset($_GET['indx'])) header('Location: ./?page='. base64_encode('index') .'&sid='. session_id()); exit; } // Header print '
'; print 'Username: '. $user['username'] .''; print ''; break; } } } break; } elseif(!isset($_GET['active']) && isset($_GET['unban']) && $_GET['unban'] == base64_encode('unban')) { foreach($_GET as $key => $value) { if(substr($key, 0, 2) == 'uu') { unbanUser(substr($key, 2)); } unset($key); unset($value); } print 'Return
'; print 'Primary Group: '. $flashii->getRankdata($user['userrole'])['name'] .'
'; print 'Groups: '; foreach(unserialize($user['groups']) as $group) { print $flashii->getRankdata($group)['name']. ', '; } print '
'; print 'E-mail: '. $user['email'] .'
'; print 'Register IP: '. $user['register_ip'] .'
'; print 'Last IP: '. $user['last_ip'] .'
'; print 'Join date: '. date('r', $user['join_date']) .'
'; print 'Last seen: '. date('r', $user['last_seen']) .'
'; print 'Last namechange: '. date('r', $user['last_namechange']) .'
'; print '