nick7() functions replaced by nick class
This commit is contained in:
@@ -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>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user