if(iMEMBER) { $result = dbrows(dbquery("SELECT * FROM `".DB_PREFIX."invites` WHERE `invite_user_id`='".$userdata['user_id']."'")); openside("Pakvietei"); echo "Tu jau pakvietęs <b>$result</b> draugus"; closeside(); }