mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 07:05:47 -07:00
Update modcp.php
This commit is contained in:
parent
1845e4c549
commit
5bb46c19a4
1 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue