mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update modcp.php
This commit is contained in:
parent
c51745bc2d
commit
b5634d6e3e
@ -689,7 +689,7 @@ switch ($mode)
|
|||||||
$ip_this_post = $lang['NOT_AVAILABLE'];
|
$ip_this_post = $lang['NOT_AVAILABLE'];
|
||||||
$no_lookup = true;
|
$no_lookup = true;
|
||||||
}
|
}
|
||||||
$ip_this_post = ($rdns_ip_num == $ip_this_post) ? gethostbyaddr($ip_this_post) : $ip_this_post;
|
$ip_this_post = ($rdns_ip_num == $ip_this_post) ? htmlCHR(gethostbyaddr($ip_this_post)) : $ip_this_post;
|
||||||
|
|
||||||
$poster_id = $post_row['poster_id'];
|
$poster_id = $post_row['poster_id'];
|
||||||
|
|
||||||
@ -730,7 +730,7 @@ switch ($mode)
|
|||||||
$ip = $lang['NOT_AVAILABLE'];
|
$ip = $lang['NOT_AVAILABLE'];
|
||||||
$no_lookup = true;
|
$no_lookup = true;
|
||||||
}
|
}
|
||||||
$ip = ( $rdns_ip_num == $ip || $rdns_ip_num == 'all') ? gethostbyaddr($ip) : $ip;
|
$ip = ( $rdns_ip_num == $ip || $rdns_ip_num == 'all') ? htmlCHR(gethostbyaddr($ip)) : $ip;
|
||||||
|
|
||||||
$template->assign_block_vars('iprow', array(
|
$template->assign_block_vars('iprow', array(
|
||||||
'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5',
|
'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5',
|
||||||
|
Loading…
Reference in New Issue
Block a user