/************************************************************************ ||------------|| User IP history page ||---------------------------|| This page lists previous IPs a user has connected to the site with. It gets called if $_GET['action'] == 'ips'. It also requires $_GET['userid'] in order to get the data for the correct user. ************************************************************************/ define('IPS_PER_PAGE', 25); if(!check_perms('users_view_ips') || !check_perms('users_mod')) { error(403); } $UserID = $_GET['userid']; if (!is_number($UserID)) { error(404); } $UsersOnly = $_GET['usersonly']; $DB->query("SELECT UserName FROM users_main WHERE ID = $UserID"); list($Username) = $DB->next_record(); show_header("Tracker IP history for $Username"); ?>
IP address | Torrent | Time |
=$IP?> (=get_cc($IP)?>) =get_host($IP)?> | =$TorrentID?> | =date("Y-m-d g:i:s", $Time)?> |