Hey UartigZone.
I managed to get this working, Im pretty new to PHP, so this script can easily be improved I guess.
Add this to the top of every page, you want to affect (except for the logout page);
PHP Code:
<?php
$grabIPinfo = mysql_query("SELECT ip_last, ip_reg, rank FROM users WHERE id='". $_SESSION['user']['id'] ."'");
$getIPinfo = mysql_fetch_assoc($grabIPinfo);
if ($getIPinfo['rank'] > 6 && $getIPinfo['ip_last'] !== $getIPinfo['ip_reg']) {
?>Your IP doesn't have access to this staff user! - <a href="logout">Click here to log out</a>
<?php} else {?>
and at the bottom of the page add:
Med venlig hilsen Abidas,
(hvis du har brug for hjælp, så kan du jo skrive på Skype: abidas.pro)