propjlist.php 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?
  2. include("../../config/conn.php");
  3. include("../../config/function.php");
  4. sesCheck_m();
  5. ?>
  6. <html>
  7. <head>
  8. <meta http-equiv="x-ua-compatible" content="ie=7" />
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  10. <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
  11. <title>会员中心 <?=webname?></title>
  12. <? include("../tem/cssjs.html");?>
  13. <link href="css/sell.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <? include("topuser.php");?>
  17. <div class="bfbtop2 box">
  18. <div class="d1" onClick="gourl('sell.php')"><img src="img/topleft1.png" height="21" /></div>
  19. <div class="d2">商品评价</div>
  20. <div class="d3"></div>
  21. </div>
  22. <div class="propjcap box">
  23. <div class="d1<? if($_GET[ifhf]=="no"){?> d11<? }?>" onClick="gourl('propjlist.php?ifhf=no')">未回复</div>
  24. <div class="d1<? if($_GET[ifhf]=="yes"){?> d11<? }?>" onClick="gourl('propjlist.php?ifhf=yes')">已回复</div>
  25. <div class="d1<? if($_GET[ifhf]==""){?> d11<? }?>" onClick="gourl('propjlist.php')">全部</div>
  26. </div>
  27. <div class="propjlist box">
  28. <div class="dmain flex">
  29. <?
  30. $ses=" where selluserid=".$rowuser[id];
  31. if($_GET[ifhf]=="no"){$ses=$ses." and (hf='' or hf is null)";}
  32. if($_GET[ifhf]=="yes"){$ses=$ses." and hf<>''";}
  33. $page=$_GET["page"];if($page==""){$page=1;}else{$page=intval($_GET["page"]);}
  34. pagef($ses,10,"yjcode_propj","order by sj desc");while($row=mysql_fetch_array($res)){
  35. while1("*","yjcode_pro where bh='".$row[probh]."'");$row1=mysql_fetch_array($res1);
  36. ?>
  37. <ul class="u1">
  38. <li class="l1">商品信息</li>
  39. <li class="l2"><strong><a href="../product/view<?=$row1[id]?>.html" target="_blank"><?=$row1[tit]?></a></strong></li>
  40. <li class="l1">评价会员</li>
  41. <li class="l3"><?=returnnc($row[userid])?></li>
  42. <li class="l1">评价类型</li>
  43. <li class="l3">好评</li>
  44. <li class="l1">评价时间</li>
  45. <li class="l3"><?=$row[sj]?></li>
  46. <li class="l1">描述评分</li>
  47. <li class="l3"><?=$row[pf1]?>分</li>
  48. <li class="l1">发货评分</li>
  49. <li class="l3"><?=$row[pf2]?>分</li>
  50. <li class="l1">售后评分</li>
  51. <li class="l3"><?=$row[pf3]?>分</li>
  52. </ul>
  53. <ul class="u2">
  54. <li class="l1">评价内容</li>
  55. <li class="l2">
  56. <?=$row[txt]?><br>
  57. <?
  58. if(1==$row[iftp]){
  59. while2("*","yjcode_tp where bh='".$row[orderbh]."' order by xh asc");while($row2=mysql_fetch_array($res2)){$tp="../".str_replace(".","-1.",$row2[tp]);
  60. ?>
  61. <a href="../<?=$row2[tp]?>" target="_blank"><img src="<?=$tp?>" style="margin:5px 0 0 0;" width="50" height="50" /></a>&nbsp;&nbsp;
  62. <? }}?>
  63. </li>
  64. </ul>
  65. <ul class="u2">
  66. <li class="l1">回复内容</li>
  67. <li class="l2" style="cursor:pointer;" onClick="gourl('propjhf.php?id=<?=$row[id]?>')"><? if(empty($row[hf])){?><span class="hui">【暂未回复,点击进行回复】</span><? }else{?><span class="green">回复时间:<?=$row[hfsj]?><br>回复内容:<?=$row[hf]?></span><? }?></li>
  68. </ul>
  69. <? }?>
  70. </div>
  71. </div>
  72. <div class="npa">
  73. <?
  74. $nowurl="propjlist.php";
  75. $nowwd="ifhf=".$_GET[ifhf];
  76. require("page.html");
  77. ?>
  78. </div>
  79. </body>
  80. </html>