propllist.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. $getstr=$_GET[str];
  5. $id=intval(returnsx("i"));
  6. $sqluser="select * from yjcode_user where id=".$id;mysql_query("SET NAMES 'GBK'");$resuser=mysql_query($sqluser);
  7. if(!$rowuser=mysql_fetch_array($resuser)){php_toheader("./");}
  8. if(returnsx("p")!=-1){$page=returnsx("p");}else{$page=1;}
  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><?=$rowuser[nc]?>的个人主页 - <?=webname?></title>
  15. <? include("../tem/cssjs.html");?>
  16. </head>
  17. <body>
  18. <? include("../tem/top.html");?>
  19. <? include("top.php");?>
  20. <script language="javascript">
  21. document.getElementById("mytopa4").className="a1";
  22. </script>
  23. <div class="yjcode">
  24. <? include("left.php");?>
  25. <!--右B-->
  26. <div class="myright">
  27. <div class="myinflist myinflist1">
  28. <ul class="u1">
  29. <li class="l1">
  30. <a href="javascript:void(0);">商品评论</a>
  31. </li>
  32. <li class="l2"></li>
  33. </ul>
  34. <ul class="u3">
  35. <?
  36. pagef(" where userid=".$rowuser[id]."",20,"yjcode_propj","order by sj desc");while($row=mysql_fetch_array($res)){
  37. while2("*","yjcode_pro where bh='".$row[probh]."'");$row2=mysql_fetch_array($res2);
  38. ?>
  39. <li class="l1"><img src="<?=returntp("bh='".$row2[bh]."' order by xh asc","-2")?>" onerror="this.src='../img/none180x180.gif'" /></li>
  40. <li class="l2">
  41. <a href="../product/view<?=$row2[id]?>.html" class="a1" target="_blank">【点评】 <?=$row2[tit]?></a><br>
  42. <span class="s1">评价时间:<?=$row[sj]?></span>
  43. <span class="s2">评价内容:<?=$row[txt]?></span>
  44. <? }?>
  45. </ul>
  46. <div class="npa">
  47. <?
  48. $nowurl="propllist";
  49. $nowwd="";
  50. require("../tem/page.html");
  51. ?>
  52. </div>
  53. </div>
  54. </div>
  55. <!--右E-->
  56. </div>
  57. <? include("../tem/bottom.html");?>
  58. </body>
  59. </html>