select tmessageid,createdate,fmessage,ftype,fisread,freaddate,objectname,objectid,ftitle from tMessage t1 where siteid=$siteid$ and ftype=$ftype$ and tenterprise_userid=$tenterprise_userid$