var htxt=""; document.write(""); htxt="
" htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 好!!! | "; htxt=htxt+"
1207637480 <3-10 13:18> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 挺好看的 | "; htxt=htxt+"
lycheelee <12-15 17:27> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 一般般 | "; htxt=htxt+"
sylsj <3-27 21:39> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 好 | "; htxt=htxt+"
flyer <1-19 12:48> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 做的不错 | "; htxt=htxt+"
chongxin <2-10 17:14> | "; htxt=htxt+"
"; document.write(htxt); function sendhp() { $.get("//www.shenzhou3.com/sendgoodbad.asp", { id: "30255437", gb: "g" }, function(data){ viewpp(data); }); } function viewpp(data) { if(data.substring(0,3)!="err") { var dpsj = data.split(","); var good = parseInt(dpsj[0]); var bad = parseInt(dpsj[1]); $("#hpp").html(GetPercent(good,good+bad)); $("#cpp").html(GetPercent(bad,good+bad)); } else { alert("只有下载过此资料的会员可以发表评价!"); } } function GetPercent(num, total) { num = parseFloat(num); total = parseFloat(total); if (isNaN(num) || isNaN(total)) { return "-"; } return total <= 0 ? "-" : (Math.round(num / total * 10000) / 100.00 + "%"); } function sendcp() { $.get("//www.shenzhou3.com/sendgoodbad.asp", { id: "30255437", gb: "b" }, function(data){ viewpp(data); }); }