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("*","epzhu_taskhf where bh='".$row[bh]."' and useridhf=".$userid."")==0){ $mybh=time()."t".$userid; intotable("epzhu_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("epzhu_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("../help/tslist_m1v_i".$id."v.html"); }elseif($_GET[control]=="add1"){ //多人任务 if(empty($_SESSION[SHOPUSER])){Audit_alert("请先登录!","../reg/");} $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("*","epzhu_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=time()."t".$userid; $money1=$row[money1]/$row[tasknum]; $rwdq=date("Y-m-d H:i:s",strtotime("+".$row[rwzq]." day")); intotable("epzhu_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("epzhu_task","useridhf='".$uf."' where id=".$id); $txt="接手成功,开始做任务,须在".$rwdq."前完成任务,并提交验收"; intotable("epzhu_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("../help/tslist_m2v_i".$id."v.html"); } ?>
<br /> <b>Notice</b>: Use of undefined constant tit - assumed 'tit' in <b>E:\phpStudy\WWW\huzhan\task\view.php</b> on line <b>80</b><br /> <br /> <b>Notice</b>: Undefined variable: row in <b>E:\phpStudy\WWW\huzhan\task\view.php</b> on line <b>80</b><br /> - <br /> <b>Notice</b>: Use of undefined constant webname - assumed 'webname' in <b>E:\phpStudy\WWW\huzhan\task\view.php</b> on line <b>80</b><br /> webname

  • Notice: Use of undefined constant tit - assumed 'tit' in E:\phpStudy\WWW\huzhan\task\view.php on line 126

    Notice: Undefined variable: row in E:\phpStudy\WWW\huzhan\task\view.php on line 126


    Fatal error: Call to undefined function returntaskjgxs() in E:\phpStudy\WWW\huzhan\task\view.php on line 127