nick7() functions replaced by nick class

This commit is contained in:
lopar
2018-03-04 02:09:58 +02:00
parent e5d14473db
commit 2bae7c09b9
47 changed files with 263 additions and 259 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ function show_klan_members($pl) {
$sp = mysql_query('SELECT `id`, `login`, `invis`, `align`, `level`, `status`, `room`, (SELECT `id` FROM `online` WHERE `date` >= "'.(time()-60).'" AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `klan` = "'.$pl.'" ORDER BY `level` DESC');
while($us = mysql_fetch_array($sp)) {
if($us['online'] > 0 && $us['invis'] == 0) {
$r .= '<a href="javascript: top.AddToPrivate(\''.nick7($us['id']).'\', top.CtrlPress)" target="refreshed"><img src="../../i/lock.gif" width="20" height="15" /></a>';
$r .= '<a href="javascript: top.AddToPrivate(\''.nick::id($us['id'])->short().'\', top.CtrlPress)" target="refreshed"><img src="../../i/lock.gif" width="20" height="15" /></a>';
} else {
$r .= '<font style=\'color: Grey;\'><img src="../../i/offline.gif" width="20" height="15" /></font>';
}