Update modcp.php

This commit is contained in:
Roman Kelesidis 2024-05-01 12:25:40 +07:00
commit 5bb46c19a4

View file

@ -610,7 +610,7 @@ switch ($mode) {
$template->assign_vars([ $template->assign_vars([
'TPL_MODCP_IP' => true, 'TPL_MODCP_IP' => true,
'IP' => $ip_this_post, 'IP' => $ip_this_post,
'U_LOOKUP_IP' => $ip_this_post ? "modcp.php?mode=ip&" . POST_POST_URL . "=$post_id&" . POST_TOPIC_URL . "=$topic_id&rdns=$ip_this_post&sid=" . $userdata['session_id'] : '', 'U_LOOKUP_IP' => "modcp.php?mode=ip&" . POST_POST_URL . "=$post_id&" . POST_TOPIC_URL . "=$topic_id&rdns=$ip_this_post&sid=" . $userdata['session_id'],
]); ]);
// //
@ -640,7 +640,7 @@ switch ($mode) {
'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5', 'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5',
'IP' => $ip, 'IP' => $ip,
'POSTS' => $row['postings'], 'POSTS' => $row['postings'],
'U_LOOKUP_IP' => $ip ? "modcp.php?mode=ip&" . POST_POST_URL . "=$post_id&" . POST_TOPIC_URL . "=$topic_id&rdns=" . $ip . "&sid=" . $userdata['session_id'] : '', 'U_LOOKUP_IP' => "modcp.php?mode=ip&" . POST_POST_URL . "=$post_id&" . POST_TOPIC_URL . "=$topic_id&rdns=" . $ip . "&sid=" . $userdata['session_id'],
]); ]);
$i++; $i++;