=returnjgdw($rowuser[seodes],"","这家伙很懒,没写说明")?>
while1("*","yjcode_protype where zt=0 and admin=1 and userid=".$uid." order by xh asc");while($row1=mysql_fetch_array($res1)){
?>
=$row1[name1]?>
}?>
$i=0;while1("*","yjcode_order where (ddzt='wait' or ddzt='db' or ddzt='suc') and selluserid=".$uid." order by sj desc limit 20");while($row1=mysql_fetch_array($res1)){?>
- =returnjiami(returnnc($row1[userid]))?> 购买了 =returntitdian($row1[tit],90)?> 单价:¥=$row1[money1]?> [=returnorderzt($row1[ddzt])?>]
$i++;}?>
=$i?>
while1("*","yjcode_pro where userid=".$uid." and zt=0 and ifxj=0 order by lastsj desc limit 8");while($row1=mysql_fetch_array($res1)){
$au="../product/view".$row1[id].".html";
$tp=returntp("bh='".$row1[bh]."' order by iffm desc","-2");
?>
![<?=$row1[tit]?>](<?=$tp?>)
- ¥=returnjgdian(returnyhmoney($row1[yhxs],$row1[money2],$row1[money3],$sj,$row1[yhsj1],$row1[yhsj2],$row1[id]))?>
- =strgb2312($row1[tit],0,50)?>
- 成交:=$row1[xsnum]?>次
- 立即购买
}?>
$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?>%
while1("*","yjcode_propj where selluserid=".$uid." order by sj desc limit 10");while($row1=mysql_fetch_array($res1)){
$usertx="../upload/".$row1[userid]."/user.jpg";
if(!is_file($usertx)){$usertx="../user/img/nonetx.gif";}else{$usertx=$usertx."?id=".rnd_num(1000);}
$pjlx=returnjgdw($row1[pjlx],"",1);
if($pjlx==1){$pj="好评";}
elseif($pjlx==2){$pj="一般";}
elseif($pjlx==3){$pj="差评";}
?>

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