You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
userislogin();
|
|
|
|
|
function userislogin(){
|
|
|
|
|
document.getElementById('login').innerHTML = "<a href='http://my.fpwap.com/dl.html?location="+window.location.href+"' target='_self'><3E><>¼</a>";
|
|
|
|
|
document.getElementById('reg').innerHTML = "<a href='http://my.fpwap.com/reg.html?location="+window.location.href+"' target='_self'>ע<><D7A2></a>";
|
|
|
|
|
$.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 = "<a href='http://my.fpwap.com'>"+data.username+"</a>";
|
|
|
|
|
document.getElementById('reg').innerHTML = "<a href='http://my.fpwap.com/fun.php?action=loginout' target='_self'><3E>˳<EFBFBD></a>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|