Saintdog: your version produces a warning if you call the script directly, but if you integrate it in the CP it works fine.
Nafae: you can do it this way (this is an extract of my index.php, the Hacks sections) look at the dupeip line.
PHP Code:
// *************************************************
makenavoption("Login Information","loginlog.php?action=modify","<br>");
makenavoption("PM Stats","pmstats.php?action=","<br>");
makenavoption("Moderator Logs","modlog.php?showLimit=25","<br>");
makenavoption("Mass PM","masspm.php?action=","<br>");
makenavoption("Duplicate IPs&PW","dupeip.php?action=","<br>");
makenavoption("Template Backup System","tbs.php?action=modify");
makenavselect("Hacks","<hr>");
makenavoption("Browse Attach.","browseatt.php?action=intro","<br>");
makenavoption("Delete Attach.","rematt.php?action=intro","<br>");
makenavoption("Convert Date/Time","convert.php?action=intro","<br>");
makenavoption("Encrypt String","convert.php?action=intro","<br>");
makenavselect("Hack Admin Func.","<hr>");
// *************************************************
Supreemball: thanks a lot for this one. I'll integrate it with the extended version of the loginlog hack (originally by PPN) that I made to look at dupes also for login IPs...