echo '</script>';
                } else {
                    array_push($errors, $LNG->REGSITRATION_ADMIN_ID_ERROR);
                }
            }
        }
    }
}
$us = getUsersByStatus($CFG->USER_STATUS_UNAUTHORIZED, 0, -1, 'date', 'ASC', 'long');
$users = array();
if ($us instanceof UserSet) {
    $users = $us->users;
} else {
    echo "{$us->message}";
}
$us2 = getUsersByStatus($CFG->USER_STATUS_UNVALIDATED, 0, -1, 'date', 'ASC', 'long');
$users2 = array();
if ($us2 instanceof UserSet) {
    $users2 = $us2->users;
} else {
    echo "{$us2->message}";
}
?>

<script type="text/javascript">

	function init() {
		$('dialogheader').insert('<?php 
echo $LNG->REGSITRATION_ADMIN_TITLE;
?>
');
        }
    }
}
$us = getUsersByStatus($CFG->USER_STATUS_REPORTED, 0, -1, 'name', 'ASC', 'long');
$users = $us->users;
$count = count($users);
for ($i = 0; $i < $count; $i++) {
    $user = $users[$i];
    $reporterid = getSpamReporter($user->userid);
    if ($reporterid != false) {
        $reporter = new User($reporterid);
        $reporter = $reporter->load();
        $user->reporter = $reporter;
    }
}
$us2 = getUsersByStatus($CFG->USER_STATUS_SUSPENDED, 0, -1, 'name', 'ASC', 'long');
$userssuspended = $us2->users;
?>

<script type="text/javascript">

	function init() {
		$('dialogheader').insert('<?php 
echo $LNG->SPAM_USER_ADMIN_TITLE;
?>
');
	}

	function getParentWindowHeight(){
		var viewportHeight = 900;
		if (window.opener.innerHeight) {