pjlist.php 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. $getstr=$_GET[str];
  5. $id=returnsx("i");
  6. while0("*","yjcode_pro where zt<>99 and id=".$id);if(!$row=mysql_fetch_array($res)){php_toheader("../");}
  7. $sj=date("Y-m-d H:i:s");
  8. $tp=returntp("bh='".$row[bh]."' order by iffm asc","-2");
  9. ?>
  10. <html>
  11. <head>
  12. <meta http-equiv="x-ua-compatible" content="ie=7" />
  13. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  14. <title><?=$row[tit]?>怎么样好不好、买家购买心得 - <?=webname?></title>
  15. <? include("../tem/cssjs.html");?>
  16. <style type="text/css">
  17. body{background-color:#E8E6F0;}
  18. </style>
  19. </head>
  20. <body>
  21. <? include("../tem/top.html");?>
  22. <? include("../tem/top1.html");?>
  23. <div class="yjcode">
  24. <div class="dqwz">
  25. <ul class="u1">
  26. <li class="l1">
  27. 当前位置:<a href="<?=weburl?>">首页</a> > <a href="search_j<?=$row[ty1id]?>v.html"><?=returntype(1,$row[ty1id])?></a>
  28. <? if(0!=$row[ty2id]){?> > <a href="search_j<?=$row[ty1id]?>v_k<?=$row[ty2id]?>v.html"><?=returntype(2,$row[ty2id])?></a><? }?>
  29. <? if(0!=$row[ty3id]){?> > <a href="search_j<?=$row[ty1id]?>v_k<?=$row[ty2id]?>v_m<?=$row[ty3id]?>v.html"><?=returntype(3,$row[ty3id])?></a><? }?>
  30. > <?=$row[tit]?> 评价
  31. </li>
  32. </ul>
  33. </div>
  34. <ul class="allpjcap">
  35. <li class="l2">描述相符<br><strong><?=$row[pf1]?></strong></li>
  36. <li class="l2">发货速度<br><strong><?=$row[pf2]?></strong></li>
  37. <li class="l2">服务态度<br><strong><?=$row[pf3]?></strong></li>
  38. <li class="l2">综合评分<br><strong><?=round(($row[pf1]+$row[pf2]+$row[pf3])/3,2)?></strong></li>
  39. <li class="l3"><a href="../user/order.php?ddzt=suc">写评价赚积分</a></li>
  40. </ul>
  41. <div class="allpjlist">
  42. <?
  43. if(returnsx("p")!=-1){$page=returnsx("p");}else{$page=1;}
  44. pagef(" where probh='".$row[bh]."'",20,"yjcode_propj","order by sj desc");while($row=mysql_fetch_array($res)){
  45. $usertx="../upload/".$row[userid]."/user.jpg";
  46. if(!is_file($usertx)){$usertx="../user/img/nonetx.gif";}else{$usertx=$usertx."?id=".rnd_num(1000);}
  47. ?>
  48. <div class="pj pj<?=$row[pjlx]?>">
  49. <ul class="u1"><li class="l1"><img src="<?=$usertx?>" width="50" height="50" /></li><li class="l2"><?=returnjiami(returnnc($row[userid]))?></li></ul>
  50. <ul class="u2">
  51. <li class="l1">
  52. <?=$row[txt]?><br>
  53. <? if(1==$row[ifvideo]){?>
  54. <a href="<?="../upload/".$row[userid]."/".$row[orderbh]."/video.mp4"?>" target="_blank"><img src="../img/video.jpg" width="50" height="50" /></a>&nbsp;&nbsp;
  55. <? }?>
  56. <?
  57. if(1==$row[iftp]){
  58. while2("*","yjcode_tp where bh='".$row[orderbh]."' order by xh asc");while($row2=mysql_fetch_array($res2)){$tp="../".str_replace(".","-1.",$row2[tp]);
  59. ?>
  60. <a href="../<?=$row2[tp]?>" target="_blank"><img src="<?=$tp?>" width="50" height="50" /></a>&nbsp;&nbsp;
  61. <? }}?>
  62. </li>
  63. <? if(!empty($row[hf])){?><li class="l2">卖家回复:<?=$row[hf]?></li><? }?>
  64. <li class="l3"><?=$row[sj]?></li>
  65. </ul>
  66. <div class="d2">
  67. <? if(1==$row[pjlx]){?><span class="s1">好评</span><? }?>
  68. <? if(2==$row[pjlx]){?><span class="s2">中评</span><? }?>
  69. <? if(3==$row[pjlx]){?><span class="s3">差评</span><? }?>
  70. </div>
  71. <div class="d3">
  72. <img src="../img/x1.png" class="img1" width="76" height="15" />
  73. <? $pf=round(($row[pf1]+$row[pf2]+$row[pf3])/3,2);?>
  74. <div class="pf" style="width:<?=$pf/5*76?>px;"><img src="../img/x2.png" title="<?=$pf?>分" width="76" height="15" /></div>
  75. </div>
  76. </div>
  77. <? }?>
  78. </div>
  79. <div class="npa">
  80. <?
  81. $nowurl="pjlist";
  82. $nowwd="";
  83. require("../tem/page.html");
  84. ?>
  85. </div>
  86. </div>
  87. <? include("../tem/bottom.html");?>
  88. </body>
  89. </html>