Minor improvements (#1481)

* Minor improvements

* Updated

* Update functions.php

* Updated

* Update .gitignore

* Updated

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-05-22 14:21:07 +07:00 committed by GitHub
commit f584cf5d29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 10 additions and 108 deletions

View file

@ -448,7 +448,7 @@ if ($tor_reged && $tor_info) {
'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']) : $lang['UNKNOWN'],
'COUNTRY' => render_flag(getCountryByIP($ip, $port), false),
'COUNTRY' => render_flag(infoByIP($ip, $port)['countryCode'], 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,