var htxt="";
document.write("");
htxt="
";
htxt=htxt+"『资料评论』 点击这里发表或查看更多评论 | 好评率:80.00% 差评率:20.00% |
"
htxt=htxt+"
"
htxt=htxt+"";
htxt=htxt+"";
htxt=htxt+" □ 元素周期律要上4课时?看看看看 | ";
htxt=htxt+"guhe520 <12-12 14:11> | ";
htxt=htxt+"
";
htxt=htxt+"";
htxt=htxt+"";
htxt=htxt+" □ [差评]打不开 | ";
htxt=htxt+"shengxiao <3-20 10:51> | ";
htxt=htxt+"
";
htxt=htxt+"";
htxt=htxt+"";
htxt=htxt+" □ [好评]好 | ";
htxt=htxt+"hongjin0417 <3-9 8:54> | ";
htxt=htxt+"
";
htxt=htxt+"";
htxt=htxt+"";
htxt=htxt+" □ [好评]骗人 打不开 | ";
htxt=htxt+"1w1w1w <3-3 8:17> | ";
htxt=htxt+"
";
htxt=htxt+"";
htxt=htxt+"";
htxt=htxt+" □ [好评]根本看不到 | ";
htxt=htxt+"hweihong <3-1 9:33> | ";
htxt=htxt+"
";
document.write(htxt);
function sendhp()
{
$.get("http://www.e-huaxue.com/sendgoodbad.asp",
{ id: "30360530", 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("http://www.e-huaxue.com/sendgoodbad.asp",
{ id: "30360530", gb: "b" },
function(data){
viewpp(data);
});
}