userislogin();
function userislogin(){
document.getElementById('login').innerHTML = "怬";
document.getElementById('reg').innerHTML = "×¢²á";
$.ajax({
url:"http://fahao.fpwap.com/xmw/fun.php?action=islogin",
type: 'GET',
dataType: 'jsonp',
jsonp: "callbackparam",
jsonpCallback:"returnJsonplog",
timeout: 10000,
success: function(data){
if(data.status==1){
document.getElementById('login').innerHTML = ""+data.username+"";
document.getElementById('reg').innerHTML = "Í˳ö";
}
}
});
}