mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Revert "Update torrent_show_dl_list.php"
This reverts commit 30c5d01ea1
.
This commit is contained in:
parent
2682af3c8a
commit
d1b6b94382
@ -47,7 +47,7 @@ if ($show_dl_list)
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = "SELECT d.user_status, d.user_id, DATE_FORMAT(d.last_modified_dlstatus, '$title_date_format') AS last_modified_dlstatus, u.username, u.user_id, u.user_rank
|
||||
$sql = "SELECT d.user_status, d.user_id, DATE_FORMAT(d.last_modified_dlstatus, '$title_date_format') AS last_modified_dlstatus, u.username, u.user_rank
|
||||
FROM ". BB_BT_DLSTATUS ." d, ". BB_USERS ." u
|
||||
WHERE d.topic_id = $topic_id
|
||||
AND d.user_id = u.user_id
|
||||
@ -78,7 +78,7 @@ if ($show_dl_list)
|
||||
}
|
||||
else
|
||||
{
|
||||
$show_names_mode = $show_old_style_names_mode ? $u['username'] : profile_url(array('username' => $u['username'], 'user_id' => $u['user_id'], 'user_rank' => $u['user_rank']));
|
||||
$show_names_mode = $show_old_style_names_mode ? $u['username'] : profile_url(array('username' => $u['username'], 'user_rank' => $u['user_rank']));
|
||||
$u_prof_href = ($u['user_id'] == GUEST_UID) ? '#' : PROFILE_URL. $u['user_id'] ."#torrent";
|
||||
$dl_cat[$u['user_status']] .= '<nobr><a class="'. $u_link_class .'" href="'. $u_prof_href .'" title="'. $u['last_modified_dlstatus'] .'">'. $show_names_mode .'</a></nobr>, ';
|
||||
$dl_count[$u['user_status']]++;
|
||||
|
Loading…
Reference in New Issue
Block a user