mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Show client country in seeders / leechers list 🌍 (#1478)
* Show client country in seeders / leechers list * Update functions.php * Update functions.php * Update functions.php * Updated * Update displaying_torrent.php * Update functions.php * Update viewtopic_torrent.tpl * Update viewtopic_torrent.tpl * Update functions.php * Update functions.php * Update functions.php * Update functions.php * Update config.php * Updated * Updated * Updated * Updated * Update update_geolite_db.php * Update update_geolite_db.php * Updated * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Updated * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Update update_geolite_db.php * Updated * Update viewtopic_torrent.tpl * Updated * Update composer.lock * Update defines.php * Updated * Update init_bb.php * Update CHANGELOG.md
This commit is contained in:
parent
2fa3520872
commit
459fba6b86
20 changed files with 475 additions and 89 deletions
|
@ -447,7 +447,8 @@ if ($tor_reged && $tor_info) {
|
|||
$template->assign_block_vars("$x_full.$x_row", [
|
||||
'ROW_BGR' => $row_bgr,
|
||||
'NAME' => ($peer['update_time']) ? $name : "<s>$name</s>",
|
||||
'PEER_ID' => isset($peer['peer_id']) ? get_user_torrent_client($peer['peer_id']) : 'unknown',
|
||||
'PEER_ID' => isset($peer['peer_id']) ? get_user_torrent_client($peer['peer_id']) : $lang['UNKNOWN'],
|
||||
'COUNTRY' => render_flag(countryByIP($ip, $port), false),
|
||||
'COMPL_PRC' => $compl_perc,
|
||||
'UP_TOTAL' => ($max_up_id[$x] == $pid) ? "<b>$up_tot</b>" : $up_tot,
|
||||
'DOWN_TOTAL' => ($max_down_id[$x] == $pid) ? "<b>$down_tot</b>" : $down_tot,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue