var htxt=""; document.write(""); htxt="
" htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ hao | "; htxt=htxt+"
huaxuedaren <4-7 9:39> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 资料不错,但有点贵 | "; htxt=htxt+"
wlj366 <2-13 10:49> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ hap | "; htxt=htxt+"
cll2009 <2-10 21:57> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 很实用。 | "; htxt=htxt+"
zsf1415926 <5-1 23:4> | "; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
"; htxt=htxt+"
□ 适合新授课教学 | "; htxt=htxt+"
zywxd <3-30 10:0> | "; htxt=htxt+"
"; document.write(htxt); function sendhp() { $.get("//www.shenzhou3.com/sendgoodbad.asp", { id: "30258923", 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: "30258923", gb: "b" }, function(data){ viewpp(data); }); }