$a1=returncount("yjcode_propj where selluserid=".$uid." and pf1=1")+returncount("yjcode_propj where selluserid=".$uid." and pf2=1")+returncount("yjcode_propj where selluserid=".$uid." and pf3=1");
$a2=returncount("yjcode_propj where selluserid=".$uid." and pf1=2")+returncount("yjcode_propj where selluserid=".$uid." and pf2=2")+returncount("yjcode_propj where selluserid=".$uid." and pf3=2");
$a3=returncount("yjcode_propj where selluserid=".$uid." and pf1=3")+returncount("yjcode_propj where selluserid=".$uid." and pf2=3")+returncount("yjcode_propj where selluserid=".$uid." and pf3=3");
$a4=returncount("yjcode_propj where selluserid=".$uid." and pf1=4")+returncount("yjcode_propj where selluserid=".$uid." and pf2=4")+returncount("yjcode_propj where selluserid=".$uid." and pf3=4");
$a5=returncount("yjcode_propj where selluserid=".$uid." and pf1=5")+returncount("yjcode_propj where selluserid=".$uid." and pf2=5")+returncount("yjcode_propj where selluserid=".$uid." and pf3=5");
$al=$a1+$a2+$a3+$a4+$a5;
if($al==0){$a1v=0;$a2v=0;$a3v=0;$a4v=0;$a5v=0;}
else{
$a1v=sprintf("%.1f",$a1/$al*100);
$a2v=sprintf("%.1f",$a2/$al*100);
$a3v=sprintf("%.1f",$a3/$al*100);
$a4v=sprintf("%.1f",$a4/$al*100);
$a5v=sprintf("%.1f",$a5/$al*100);
}
$hp=returncount("yjcode_propj where selluserid=".$uid." and pjlx=1");
$pa=returncount("yjcode_propj where selluserid=".$uid."");
if($pa==0){$av="100";}else{$av=sprintf("%.2f",$hp/$pa*100);}
?>
- 好评率=$av?>%
- 综合得分=round(($mspf+$fhpf+$shpf)/3,2)?>
- 描述相符:=$mspf?>分
发货速度:=$fhpf?>分
服务态度:=$shpf?>分
1分px">=$a1v?>%
2分px">=$a2v?>%
3分px">=$a3v?>%
4分px">=$a4v?>%
5分px">=$a5v?>%
pagef($ses,20,"yjcode_propj","order by sj desc");while($row=mysql_fetch_array($res)){
$usertx="../upload/".$row[userid]."/user.jpg";
if(!is_file($usertx)){$usertx="../user/img/nonetx.gif";}else{$usertx=$usertx."?id=".rnd_num(1000);}
$pjlx=returnjgdw($row[pjlx],"",1);
if($pjlx==1){$pj="好评";}
elseif($pjlx==2){$pj="一般";}
elseif($pjlx==3){$pj="差评";}
?>

- =returnjiami(returnnc($row[userid]))?>
-
=strip_tags($row[txt])?>
if(1==$row[iftp]){
while2("*","yjcode_tp where bh='".$row1[orderbh]."' order by xh asc");while($row2=mysql_fetch_array($res2)){$tp="../".str_replace(".","-1.",$row2[tp]);
?>
}}?>
- =$row[sj]?>
=$pj?>
}?>
$nowurl="pjlist";
$nowwd="";
require("../tem/page.html");
?>