query("select autor from articles where id_article='".$_GET['node_id']."'"); $set->next(); $autor_id=$set->getString('autor'); $record=$kyberia->query("select * from user where id='$autor_id'"); $record->next(); $userinfo=$record->getRecord(); } $q = "select user_name from session where user_id = '".$userinfo['id']."'"; $result=$kyberia->query($q); if($result->getNumRows() > 0) define('ACTIVE', true); else define('ACTIVE', false); echo "
"; echo "
"; echo "
id: ",$userinfo["login"],""; echo "
email:",$userinfo["email"],""; echo "
www:",$userinfo["user_www"],""; echo "
icq:".$userinfo["user_icq"]; echo "
charisma:".$userinfo["charisma"]; echo "
k!arma:".$userinfo["user_karma"]; if($userinfo['id'] == '1') echo "

Ubik je Ubik

"; elseif(ACTIVE) echo "

Uzivatel je on-line"; else { if($userinfo['user_active'] != 'yes') echo "

Uzivatel caka na registraciu
"; else { echo "

Uzivatel je off-line
"; $u = $userinfo['last_click']; echo substr($u, 0, -3); } } echo "

denniky
"; echo "
bookmarky"; echo "
priatelia"; echo "
karma"; echo "
prispevky"; ?>

putAutorList($autor_id); ?>

putDennikAutorList($autor_id); ?>