Update modcp.php

This commit is contained in:
Roman Kelesidis 2024-04-30 16:06:31 +07:00
parent dd35e096cb
commit 36f9761b7a

View File

@ -734,7 +734,7 @@ switch ($mode)
$template->assign_block_vars('iprow', array( $template->assign_block_vars('iprow', array(
'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5', 'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5',
'IP' => $ip, 'IP' => (verify_ip($ip)) ? '<a href="' . $bb_cfg['whois_info'] . $ip . '" class="gen" target="_blank">' . $ip . '</a>' : $ip,
'POSTS' => $row['postings'], 'POSTS' => $row['postings'],
'U_LOOKUP_IP' => (!$no_lookup) ? "modcp.php?mode=ip&amp;" . POST_POST_URL . "=$post_id&amp;" . POST_TOPIC_URL . "=$topic_id&amp;rdns=" . $ip . "&amp;sid=" . $userdata['session_id'] : '', 'U_LOOKUP_IP' => (!$no_lookup) ? "modcp.php?mode=ip&amp;" . POST_POST_URL . "=$post_id&amp;" . POST_TOPIC_URL . "=$topic_id&amp;rdns=" . $ip . "&amp;sid=" . $userdata['session_id'] : '',
)); ));