insert(array('uid' => $uid, 'action' => $action, 'dateline' => TIMESTAMP), false, true); } } } public static function getuserapp($panel = 0) { require_once libfile('function/manyou'); manyou_getuserapp($panel); return true; } public static function getmyappiconpath($appid, $iconstatus=0) { if($iconstatus > 0) { return getglobal('setting/attachurl').'./'.'myapp/icon/'.$appid.'.jpg'; } return 'http://appicon.manyou.com/icons/'.$appid; } public static function checkupdate() { global $_G; if($_G['setting']['my_app_status'] && empty($_G['setting']['my_closecheckupdate']) && $_G['group']['radminid'] == 1) { $sid = $_G['setting']['my_siteid']; $ts = $_G['timestamp']; $key = md5($sid.$ts.$_G['setting']['my_sitekey']); echo ''; } } } ?>