added chatinfo to NP
This commit is contained in:
parent
16ef8fdf6c
commit
faad932a90
2 changed files with 31 additions and 18 deletions
|
@ -136,8 +136,12 @@ class nickpage extends module{
|
|||
$user['text']=$parser->parse($user['np_text']);
|
||||
$data=get_user_room($user['username']);
|
||||
if($data){
|
||||
$user['room']=$data['r'];
|
||||
$user['roomlock']='<img src="'.$path.'/themes/funchat/images/'.$data['s'].'.png" alt="'.$data['s'].'" />';
|
||||
$user['room']=$data['room'];
|
||||
$user['roomlock']='<img src="'.$path.'/themes/funchat/images/unlocked.png" alt="Offen" />';
|
||||
if($user['roomlocked']){
|
||||
$user['roomlock']='<img src="'.$path.'/themes/funchat/images/locked.png" alt="Abgeschlossen" />';
|
||||
}
|
||||
|
||||
}
|
||||
//$forum['buddylist'];
|
||||
if($session->userdata['uid']!=""){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue