Skip to content

Commit

Permalink
蠢萌
Browse files Browse the repository at this point in the history
  • Loading branch information
sendya committed Mar 23, 2016
1 parent 0fe1109 commit 5396717
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Template/Default/panel/member.htm
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,17 @@ <h2><a href="Support/Help" target="_blank">使用教程&gt;&gt;</a></h2>
$.get("/Api/QueryCountry",{}, function(data){
var counrty = "";
// data.retData.province.country + " " + data.retData.province
if(data.retData.province.country != 'None'){
counrty += data.retData.province.country;
if(data.retData.country != 'None'){
counrty += data.retData.country;
}
if(data.retData.province.province != 'None'){
counrty += " " + data.retData.province.province;
if(data.retData.province != 'None'){
counrty += " " + data.retData.province;
}
if(data.retData.province.city != 'None'){
counrty += " " + data.retData.province.city;
if(data.retData.city != 'None'){
counrty += " " + data.retData.city;
}
if(data.retData.province.carrier != '未知'){
counrty += " ISP:" + data.retData.province.carrier;
if(data.retData.carrier != '未知'){
counrty += " ISP:" + data.retData.carrier;
}
$("#country_id").html(counrty);
},"json");
Expand Down

0 comments on commit 5396717

Please sign in to comment.