taskbjlist.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?
  2. include("../../config/conn.php");
  3. include("../../config/function.php");
  4. sesCheck_m();
  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. <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. <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
  15. <title>会员中心 <?=webname?></title>
  16. <? include("../tem/cssjs.html");?>
  17. <link href="css/task.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <? include("topuser.php");?>
  21. <div class="bfbtop1 box">
  22. <div class="d1" onClick="gourl('../task/view<?=$rowtask[id]?>.html')"><img src="img/topleft.png" height="21" /></div>
  23. <div class="d2">投标情况</div>
  24. <div class="d3"></div>
  25. </div>
  26. <? include("taskv.php");?>
  27. <div class="taskmain1 box"><div class="d1"></div><div class="d2">投标信息</div></div>
  28. <?
  29. $ses=" where taskty=0 and bh='".$bh."'";
  30. $page=$_GET["page"];if($page==""){$page=1;}else{$page=intval($_GET["page"]);}
  31. pagef($ses,20,"yjcode_taskhf","order by sj desc");while($row=mysql_fetch_array($res)){
  32. while2("*","yjcode_user where id=".$row[useridhf]);$row2=mysql_fetch_array($res2);
  33. ?>
  34. <div class="taskbjlist box">
  35. <div class="d1"><img src="../../upload/<?=$row2[id]?>/user.jpg" onerror="this.src='../../img/none180x180.gif'" /></div>
  36. <div class="d2 flex">
  37. <strong><?=$row2[nc]?></strong><br>
  38. 报价:<?=$row[money1]?>元<br>
  39. 成功<?=returncount("yjcode_task where zt=5 and useridhf=".$row[useridhf]."")?>次 / 失败<?=returncount("yjcode_task where zt=9 and useridhf=".$row[useridhf]."")?>次<br>
  40. QQ <?=$row2[uqq]?> / 手机 <?=$row2[mot]?>
  41. </div>
  42. <div class="d3">
  43. <? if(0==$rowtask[zt]){?>
  44. <a href="taskbjsel.php?bh=<?=$bh?>&mid=<?=$row[id]?>" class="btna1">选择TA</a>
  45. <? }elseif(3==$rowtask[zt] && $rowtask[useridhf]==$row[useridhf]){?>
  46. <a href="taskgts.php?bh=<?=$bh?>" class="btna2">已中标</a>
  47. <? }?>
  48. </div>
  49. </div>
  50. <div class="taskbjlist1 box">
  51. <div class="d1 flex">
  52. 接手留言:<?=strip_tags(returnjgdw($row[txt],"","未填写任何说明"))?>
  53. </div>
  54. </div>
  55. <? }?>
  56. <div class="npa">
  57. <?
  58. $nowurl="taskbjlist.php";
  59. $nowwd="bh=".$bh;
  60. require("page.html");
  61. ?>
  62. </div>
  63. </body>
  64. </html>