if(is_login()){ if (D('Module')->checkInstalled('Weibo')) { {$text} }}