tests
This commit is contained in:
parent
94c912458d
commit
d358d54f31
@ -21,4 +21,10 @@ print_r($row2);
|
||||
echo '<hr>';
|
||||
|
||||
|
||||
echo n::show(11263)."<br>".n::show(11221);
|
||||
echo n::show(11263)."<br>".n::show(11221)->geninf();
|
||||
echo '<hr>';
|
||||
echo nick::search(11263)->geninf();
|
||||
echo '<hr>';
|
||||
echo nick::search(11221)->geninf();
|
||||
echo '<hr>';
|
||||
echo nick::search(11263)->geninf(1);
|
@ -20,7 +20,7 @@ class n
|
||||
public static function show($userId)
|
||||
{
|
||||
if (!self::$_instance) {
|
||||
self::$_instance = nick::search($userId)->geninf();
|
||||
self::$_instance = nick::search($userId);
|
||||
}
|
||||
return self::$_instance;
|
||||
}
|
||||
|
@ -38,6 +38,7 @@ class nick
|
||||
// db::c()->query('SELECT `time` FROM `effects` WHERE `owner` = ?i AND `type` = ?i', $id, 1022)->fetch_assoc();
|
||||
$this->user_data['login'] = '<i>невидимка</i>';
|
||||
$this->user_data['level'] = '??';
|
||||
|
||||
} else {
|
||||
if ($this->user_data['align']) {
|
||||
$n .= sprintf('<img src="i/align_%s.gif">', $this->user_data['align']);
|
||||
|
Loading…
Reference in New Issue
Block a user