mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update callseed.php
This commit is contained in:
parent
a859bb1054
commit
603de77baa
@ -27,6 +27,10 @@ elseif ($t_data['call_seed_time'] > (TIMENOW - 86400))
|
|||||||
$time_left = delta_time($t_data['call_seed_time'] + 86400, TIMENOW, 'days');
|
$time_left = delta_time($t_data['call_seed_time'] + 86400, TIMENOW, 'days');
|
||||||
bb_die(sprintf($lang['CALLSEED_MSG_SPAM'], $time_left));
|
bb_die(sprintf($lang['CALLSEED_MSG_SPAM'], $time_left));
|
||||||
}
|
}
|
||||||
|
elseif (isset($bb_cfg['tor_no_tor_act'][$t_data['tor_status']]))
|
||||||
|
{
|
||||||
|
bb_die($lang['NOT_AVAILABLE']);
|
||||||
|
}
|
||||||
|
|
||||||
$ban_user_id = array();
|
$ban_user_id = array();
|
||||||
|
|
||||||
@ -81,7 +85,7 @@ function topic_info ($topic_id)
|
|||||||
|
|
||||||
$sql = "
|
$sql = "
|
||||||
SELECT
|
SELECT
|
||||||
tor.poster_id, tor.forum_id, tor.attach_id, tor.call_seed_time,
|
tor.poster_id, tor.forum_id, tor.attach_id, tor.call_seed_time, tor.tor_status,
|
||||||
t.topic_title, sn.seeders
|
t.topic_title, sn.seeders
|
||||||
FROM ". BB_BT_TORRENTS ." tor
|
FROM ". BB_BT_TORRENTS ." tor
|
||||||
LEFT JOIN ". BB_TOPICS ." t USING(topic_id)
|
LEFT JOIN ". BB_TOPICS ." t USING(topic_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user