管理メニューでユーザータイプを見ると、すべてロシア語ですが、DB言語から取得すると英語のように見えますが、わかりません。SQLは次のようになります。
$query = "SELECT cc.title AS category, a.title,
u.username,u.usertype as usertype, a.hits ,ua.avatar as avatar, ar.intotext as introtext,
u.lastvisitDate as lastvisit, s.userid as onlineid
FROM #__content AS a
LEFT JOIN #__categories AS cc ON a.catid = cc.id
LEFT JOIN #__users AS u ON u.id = a.created_by
LEFT JOIN #__comprofiler AS ua ON user_id = a.created_by
LEFT JOIN #__session s ON s.userid = a.created_by AND s.guest = 0
LEFT JOIN #__cck_store_item_cck_store_item_content AS ar ON ar.id = ".(int)$itemid."
WHERE a.id = ".(int)$itemid."
and a.access = 1";