get_channel(); $r = q("select count(mid) as total, author_xchan, xchan_name from item left join xchan on author_xchan = xchan_hash where uid = %d and verb = '%s' and owner_xchan = '%s' group by author_xchan order by total desc", intval(local_channel()), dbesc(ACTIVITY_LIKE), dbesc($channel['xchan_hash']) ); if($r) { $o = '

' . t('Who likes me?') . '

'; $o .= ''; }; return $o; }