$naz = mysql_fetch_assoc(mysql_query("SELECT `datereg` FROM `users` WHERE `id`='{$id}'"));
muc better
$res = mysql_fetch_assoc(mysql_query("SELECT `name`, `datereg` `postforum`, `rights`, `live`, `postguest` FROM `users` WHERE `id`='".$id."'"));
$ur = mysql_fetch_array(mysql_query("SELECT `postforum` FROM `users` WHERE `id`='{$id}'"));
0_о
$naz = mysql_fetch_assoc(mysql_query("SELECT `name`, `datereg` `postforum`, `rights`, `live`, `postguest`,`postforum FROM `users` WHERE `id`='{$id}'"));
wtf???
$pa = '' . bbcode::tags($res['rights']). '';
$pa = '' .$res['rights']. '';