Tâm trạng hàng ngày | Hạnh phúc 2-7-2025 09:43 PM |
|---|
Đã viết: 13 ngày [LV.3]Spam 3
|
Mời bạn đăng ký để giao lưu kết bạn nhé <3
Bạn phải đăng nhập để xem được nội dung, nếu bạn chưa có tài khoản? hãy Đăng ký
x
1: Mở index.php tìm- $query = $db->query("SELECT uid, username, groupid, invisible, action, lastactivity, fid FROM {$tablepre}sessions ".(isset($_DCACHE['onlinelist'][7]) ? '' : 'WHERE uid <> 0')." ORDER BY uid DESC LIMIT ".$maxonlinelist);
Sao chép mã Thay bằng- $query = $db->query("SELECT s.uid, s.username, s.groupid, s.invisible, s.action, s.lastactivity, s.fid,u.groupid, u.color FROM {$tablepre}sessions AS s, {$tablepre}usergroups AS u ".(isset($_DCACHE['onlinelist'][7]) ? '' : 'WHERE uid <> 0 AND s.groupid=u.groupid')." ORDER BY uid DESC LIMIT ".$maxonlinelist);
Sao chép mã 2: Mở template/default/discuz.htm tìm- <a href="space.php?uid=$online[uid]" target="_blank">$online[username]</a>
Sao chép mã Thay bằng- <a href="space.php?uid=$online[uid]" target="_blank"><font color=$online[color]>$online[username]</font></a>
Sao chép mã Xong >> Update cache.. Skin nào có file discuz.htm thì làm tất nhé |
|