1){Audit_alert("您已经修改过该任务的报价,不能再修改!","view".$id.".html");} $sj=date("Y-m-d H:i:s"); $uip=$_SERVER["REMOTE_ADDR"]; if($userid==$row[userid]){Audit_alert("无法给自己的任务提交报价!","view".$id.".html");} $money1=sqlzhuru($_POST[t1]); if(!is_numeric($money1)){Audit_alert("报价无效。","view".$id.".html");} if($money1<=0){Audit_alert("报价无效。","view".$id.".html");exit;} $txt=sqlzhuru($_POST[s1]); if(panduan("*","yjcode_taskhf where bh='".$row[bh]."' and useridhf=".$userid."")==0){ if(!empty($row[jsbao])){ if($row[jsbao]>$userbaomoney){Audit_alert("您的保证金不足,请先缴纳(如已缴纳,请刷新页面重新提交)","view".$id.".html");} PointIntoB($userid,"接手任务,冻结保证金(任务验收不通过,将赔给雇主)",$row[jsbao]*(-1),2); PointUpdateB($userid,$row[jsbao]*(-1)); } $mybh=time()."t".$userid; intotable("yjcode_taskhf","mybh,bh,uip,userid,useridhf,sj,txt,money1,ifxz,xgnum,taskty","'".$mybh."','".$row[bh]."','".$uip."',".$row[userid].",".$userid.",'".$sj."','".$txt."',".$money1.",0,1,0"); }else{ updatetable("yjcode_taskhf","money1=".$money1.",txt='".$txt."',xgnum=xgnum+1 where bh='".$row[bh]."' and useridhf=".$userid.""); } if(!empty($rowuser[email]) && $rowuser[ifemail]==1 && $row[yjtx]==1){ require("../../config/mailphp/sendmail.php"); $str="有人给出报价了,请尽快处理。
任务:".$row[tit]."
报价:".$money1."
【".webname."】
该邮件为系统发出,请勿回复"; @yjsendmail("任务接手提醒【".webname."】",$rowuser[email],$str,"../"); } php_toheader("../tishi/index.php?admin=6&lx=1&id=".$id); }elseif($_GET[control]=="add1"){ //多人任务 if(empty($_SESSION[SHOPUSER])){Audit_alert("请先登录!","../reg/");} if(empty($taskjs)){Audit_alert("不满足接任务的条件!","view".$id.".html");} $userid=returnuserid($_SESSION[SHOPUSER]); if(101!=$row[zt]){Audit_alert("该任务停止报名参与!","view".$id.".html");} if($row[taskcy]>=$row[tasknum]){Audit_alert("该任务被抢光啦!","view".$id.".html");} $sj=date("Y-m-d H:i:s"); $uip=$_SERVER["REMOTE_ADDR"]; if($userid==$row[userid]){Audit_alert("不能接手自己的任务!","view".$id.".html");} if(panduan("*","yjcode_taskhf where bh='".$row[bh]."' and useridhf=".$userid." and (zt=0 or zt=1 or zt=3 or zt=4)")==1){Audit_alert("你有任务未完成,不能再次接单!","view".$id.".html");} $txt=sqlzhuru($_POST[s1]); $mybh=returnbh(); $money1=$row[money1]/$row[tasknum]; $rwdq=date("Y-m-d H:i:s",strtotime("+".$row[rwzq]." day")); if(!empty($row[jsbao])){ if($row[jsbao]>$userbaomoney){Audit_alert("您的保证金不足,请先缴纳(如已缴纳,请刷新页面重新提交)","view".$id.".html");} PointIntoB($userid,"接手任务,冻结保证金(任务验收不通过,将赔给雇主)",$row[jsbao]*(-1),2); PointUpdateB($userid,$row[jsbao]*(-1)); } intotable("yjcode_taskhf","mybh,bh,uip,userid,useridhf,sj,txt,money1,ifxz,xgnum,taskty,zt,zbsj,rwdq","'".$mybh."','".$row[bh]."','".$uip."',".$row[userid].",".$userid.",'".$sj."','".$txt."',".$money1.",0,1,1,0,'".$sj."','".$rwdq."'"); $uf=$row[useridhf]."yj".$userid."yj"; updatetable("yjcode_task","useridhf='".$uf."' where id=".$id); $txt="接手成功,开始做任务,须在".$rwdq."前完成任务,并提交验收"; intotable("yjcode_tasklog","bh,userid,useridhf,admin,txt,sj,fj","'".$bh."',".$row[userid].",".$userid.",2,'".$txt."','".$sj."',''"); if(!empty($rowuser[email]) && $rowuser[ifemail]==1 && $row[yjtx]==1){ require("../../config/mailphp/sendmail.php"); $str="有人接手了你的任务,请关注任务进度。
任务:".$row[tit]."
【".webname."】
该邮件为系统发出,请勿回复"; @yjsendmail("任务接手提醒【".webname."】",$rowuser[email],$str,"../"); } php_toheader("../tishi/index.php?admin=6&lx=2&id=".$id); } ?> <?=$row[tit]?> - <?=webname?>
  • 本次任务需要支付手续费:% ()
=$nsj){$dqsj=str_replace("-","/",$row[yxq]); ?> 任务接手倒计时: 正在加载 已结束
基本信息
任务状态: 0){echo "雇主选标";?>
任务编号:
任务形式:
更新时间:
任务周期:
" />
0){$qqxs=1;} elseif(2==$row[qqxs] && returncount("yjcode_taskhf where bh='".$row[bh]."' and ifxz=1 and useridhf=".$userid."")>0){$qqxs=1;} elseif($userid==$row[userid]){$qqxs=1;} else{$qqxs=0;} if(empty($row[motxs]) && !empty($_SESSION[SHOPUSER])){$motxs=1;} elseif(1==$row[motxs] && returncount("yjcode_taskhf where bh='".$row[bh]."' and useridhf=".$userid."")>0){$motxs=1;} elseif(2==$row[motxs] && returncount("yjcode_taskhf where bh='".$row[bh]."' and ifxz=1 and useridhf=".$userid."")>0){$motxs=1;} elseif($userid==$row[userid]){$motxs=1;} else{$motxs=0;} ?> QQ: 手机:
任务详情

下载附件
style="display:none;">
  • 任务报价:
  • 元(雇主的预算为:元)
  • 报价说明:
  • 接手该任务需要冻结您的保证金元,您当前可用保证金为:元 [缴纳保证金]
您的投标号:,【查看】  【修改
雇主您好,暂时没有人给出报价,请继续关注
雇主您好,当前共有人参与了任务:
均报价:元,最高报价:元,最低报价元。
  • 接手说明:
  • 接手该任务需要冻结您的保证金元,您当前可用保证金为:元 [缴纳保证金]
  • " width="60" height="60" />

  • 联系QQ:雇主可见
  • 选此
    投标
任务报价:雇主可见


投标编号:       参与时间: