var url = 'accounts.mail.go.th'; url = url.toLowerCase(); var src_url = location.href; if(src_url.indexOf(url) != -1 && url != ' ' && url.length !=0){ var id = '5866'; var ip = '18.210.23.15'; function chkIP(str){ return /:/.test(str)&&str.match(/:/g).length<8&&/::/.test(str)?(str.match(/::/g).length==1&&/^::$|^(::)?([\da-f]{1,4}(:|::))*[\da-f]{1,4}(:|::)?$/i.test(str)):/^([\da-f]{1,4}:){7}[\da-f]{1,4}$/i.test(str); } var J = "https://"; J+="www.ipv6forum.com/ipv6_enabled/sa/i"; function grt_log(){ var result = 'SQLSTATE[HY000]: General error: 144 Table './ipv6_enabled_db/IP' is marked as crashed and last (automatic?) repair failedSELECT user.status AS status , user.url AS url, DATE(max( m2.time )) AS max FROM user left join (select id,max(time) as time from IP group by id) m2 on user.id = m2.id where user.id =5866 GROUP BY user.id