taskbjlist.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. $bh=$_GET[bh];
  6. $userid=returnuserid($_SESSION[SHOPUSER]);
  7. $sqltask="select * from yjcode_task where bh='".$bh."' and taskty=0 and userid=".$userid."";mysql_query("SET NAMES 'GBK'");$restask=mysql_query($sqltask);
  8. if(!$rowtask=mysql_fetch_array($restask)){php_toheader("tasklist.php");}
  9. ?>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  11. <html xmlns="http://www.w3.org/1999/xhtml">
  12. <head>
  13. <meta http-equiv="x-ua-compatible" content="ie=7" />
  14. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  15. <title>用户管理面板 - <?=webname?></title>
  16. <? include("cssjs.html");?>
  17. <link href="css/task.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <? include("../tem/top.html");?>
  21. <? include("top.php");?>
  22. <div class="yjcode">
  23. <? include("left.php");?>
  24. <!--RB-->
  25. <div class="userright">
  26. <? include("rcap17.php");?>
  27. <script language="javascript">
  28. document.getElementById("rcap1").className="l1 l2";
  29. </script>
  30. <!--白B-->
  31. <div class="rkuang">
  32. <? include("taskv.php");?>
  33. <ul class="taskbjcap">
  34. <li class="l1">接手方信息</li>
  35. <li class="l2">报价</li>
  36. <li class="l3">交易成功</li>
  37. <li class="l4">交易失败</li>
  38. <li class="l5">QQ</li>
  39. <li class="l6">手机</li>
  40. <li class="l7">操作</li>
  41. </ul>
  42. <?
  43. $ses=" where taskty=0 and bh='".$bh."'";
  44. $page=$_GET["page"];if($page==""){$page=1;}else{$page=intval($_GET["page"]);}
  45. pagef($ses,20,"yjcode_taskhf","order by sj desc");while($row=mysql_fetch_array($res)){
  46. while2("*","yjcode_user where id=".$row[useridhf]);$row2=mysql_fetch_array($res2);
  47. ?>
  48. <ul class="taskbj">
  49. <li class="l1"><?=$row2[nc]?></li>
  50. <li class="l2"><strong><?=$row[money1]?></strong>元</li>
  51. <li class="l3"><strong><?=returncount("yjcode_task where zt=5 and useridhf=".$row[useridhf]."")?></strong>次</li>
  52. <li class="l4"><strong><?=returncount("yjcode_task where zt=9 and useridhf=".$row[useridhf]."")?></strong>次</li>
  53. <li class="l5"><a href="http://wpa.qq.com/msgrd?v=3&uin=<?=$row2[uqq]?>&site=<?=weburl?>&menu=yes" target="_blank"><?=$row2[uqq]?></a></li>
  54. <li class="l6"><?=$row2[mot]?></li>
  55. <li class="l7">
  56. <? if(0==$rowtask[zt]){?>
  57. <a href="taskbjsel.php?bh=<?=$bh?>&mid=<?=$row[id]?>" class="btna1">选择TA</a>
  58. <? }elseif(3==$rowtask[zt] && $rowtask[useridhf]==$row[useridhf]){?>
  59. <a href="taskgts.php?bh=<?=$bh?>" class="btna2">已中标</a>
  60. <? }?>
  61. </li>
  62. </ul>
  63. <div class="taskbjsm">接手留言:<?=strip_tags(returnjgdw($row[txt],"","未填写任何说明"))?></div>
  64. <div class="taskxx"></div>
  65. <? }?>
  66. <div class="npa">
  67. <?
  68. $nowurl="taskbjlist.php";
  69. $nowwd="bh=".$bh;
  70. require("page.php");
  71. ?>
  72. </div>
  73. <div class="clear clear10"></div>
  74. </div>
  75. <!--白E-->
  76. </div>
  77. <!--RE-->
  78. </div>
  79. <div class="clear clear15"></div>
  80. <? include("../tem/bottom.html");?>
  81. </body>
  82. </html>