Code:
//---- Max. Sysops v0.9 by xam
function maxsysop () {
global $CURUSER,$rootpath, $lang;
$lmaxclass = UC_MODERATOR;
$filename = $rootpath . 'config/STAFFNAMES';
$filename2 = $rootpath . 'config/STAFFIDS';
if ($CURUSER['class'] >= $lmaxclass) {
$fp = fopen($filename, 'r');
while (!feof($fp))
{
$staffnames= fgets($fp);
$results = explode(' ', $staffnames);
}
$msg = 'Fake Account Detected: Username: '.$CURUSER['username'].' - UserID: '.$CURUSER['id'].' - UserIP : '.getip();
$subject = 'Warning: Fake Account Detected!';
$added = sqlesc(get_date_time());
if (!in_array($CURUSER['username'], $results, true)) { // true for strict comparison
were the hell in that bit of code r u supposed to add ur username and id ???