taskhflist.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. ?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <meta http-equiv="x-ua-compatible" content="ie=7" />
  10. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  11. <title>用户管理面板 - <?=webname?></title>
  12. <? include("cssjs.html");?>
  13. <link href="css/task.css" rel="stylesheet" type="text/css" />
  14. <script language="javascript">
  15. function myok(x,y){
  16. if(!confirm("您确定已经完成该任务了吗?")){return false;}
  17. location.href="taskhflist.php?control=ok&id="+x+"&bh="+y;
  18. }
  19. function myclo(x,y){
  20. if(!confirm("您确认要取消该任务吗?")){return false;}
  21. location.href="taskhflist.php?control=clo&id="+x+"&bh="+y;
  22. }
  23. </script>
  24. </head>
  25. <body>
  26. <? include("../tem/top.html");?>
  27. <? include("top.php");?>
  28. <div class="yjcode">
  29. <? include("left.php");?>
  30. <!--RB-->
  31. <div class="userright">
  32. <? include("rcap9.php");?>
  33. <script language="javascript">
  34. document.getElementById("rcap1").className="l1 l2";
  35. </script>
  36. <!--白B-->
  37. <div class="rkuang">
  38. <div class="ksedi">
  39. <div class="d1">
  40. <a href="javascript:NcheckDEL('3a','yjcode_taskhf')" class="a1">删除</a>
  41. <a href="../task/" target="_blank" class="a2">去找任务</a>
  42. </div>
  43. </div>
  44. <ul class="taskhfcap">
  45. <li class="l0"><input name="C2" type="checkbox" onclick="xuan()" /></li>
  46. <li class="l1">任务</li>
  47. <li class="l2">雇主预算</li>
  48. <li class="l3">报价</li>
  49. <li class="l4">状态</li>
  50. <li class="l5">操作</li>
  51. </ul>
  52. <?
  53. $ses=" where taskty=0 and useridhf=".$luserid;
  54. $page=$_GET["page"];if($page==""){$page=1;}else{$page=intval($_GET["page"]);}
  55. pagef($ses,30,"yjcode_taskhf","order by sj desc");while($row=mysql_fetch_array($res)){
  56. while1("*","yjcode_task where bh='".$row[bh]."'");$row1=mysql_fetch_array($res1);
  57. $au="../task/view".$row1[id].".html";
  58. ?>
  59. <ul class="taskhflist">
  60. <li class="l0"><? if($row[ifxz]==0){?><input name="C1" type="checkbox" value="<?=$row[bh]?>" /><? }?></li>
  61. <li class="l1"><a href="<?=$au?>" title="<?=$row1[tit]?>" target="_blank"><?=strgb2312(strip_tags($row1[tit]),0,100)?></a><span class="sj"><?=$row[sj]?></span></li>
  62. <li class="l2"><strong><?=$row1[money1]?></strong>元</li>
  63. <li class="l3"><strong><?=$row[money1]?></strong>元</li>
  64. <li class="l4">
  65. <? if(3==$row1[zt] && 1==$row[ifxz]){?>
  66. <span class="s1">已中标</span>
  67. <span class="s2"><?=$row[rwdq]?><br>前提交验收</span>
  68. <? }else{?><span class="zt"><?=returntask($row1[zt])?></span><? }?>
  69. &nbsp;
  70. </li>
  71. <li class="l5">
  72. <? if(1==$row[ifxz]){?>
  73. <? if(3==$row1[zt]){?>
  74. <a href="taskysjs.php?bh=<?=$row[bh]?>" class="btna btna1">请验收</a>
  75. <? }?>
  76. <a href="taskgt.php?bh=<?=$row[bh]?>" class="btna btna3">沟通记录</a>
  77. <? }?>
  78. </li>
  79. </ul>
  80. <? }?>
  81. <div class="npa">
  82. <?
  83. $nowurl="taskhflist.php";
  84. $nowwd="";
  85. require("page.php");
  86. ?>
  87. </div>
  88. <div class="clear clear10"></div>
  89. </div>
  90. <!--白E-->
  91. </div>
  92. <!--RE-->
  93. </div>
  94. <div class="clear clear15"></div>
  95. <? include("../tem/bottom.html");?>
  96. </body>
  97. </html>