0){ PointIntoM($row[userid],"删除任务,退回订金",$row[money4]); PointUpdateM($row[userid],$row[money4]); } } if(!empty($row[jsbao]) && (0==$row[zt] || 3==$row[zt] || 4==$row[zt] || 8==$row[zt])){ while1("*","yjcode_taskhf where bh='".$row[bh]."'");if($row1=mysql_fetch_array($res1)){ PointIntoB($row1[useridhf],"删除任务,退还保证金",$row[jsbao],2); PointUpdateB($row1[useridhf],$row[jsbao]); } } deletetable("yjcode_task where id=".$row[id]); deletetable("yjcode_taskhf where bh='".$nb[$i]."'"); deletetable("yjcode_tasklog where bh='".$nb[$i]."'"); } } break; case "3a": //删除单人接手,没有选中的可以删除 $nb=preg_split("/,/",$bhid); for($i=0;$i=$rowcontrol[sxjf]){ $syjf=$syjf-$rowcontrol[sxjf]; updatetable("yjcode_pro","lastsj='".$sj."' where id=".$row1[id]); $jf=$rowcontrol[sxjf]*(-1); PointInto($rowuser[id],"刷新商品[".$row1[tit]."],消耗积分",$jf);PointUpdate($rowuser[id],$jf); } } } break; case "9": //删除套餐 $nb=preg_split("/,/",$bhid); for($i=0;$i99 and tit='".$row[tit]."'")==1){echo "ERR1";exit;} deletetable("yjcode_taocan where userid=".$userid." and id=".$row[id]); deletetable("yjcode_taocan_kc where userid=".$userid." and tcid=".$row[id]." and probh='".$row[probh]."'"); }elseif(intval($a[0])==0){ //表示删除小类 if(!is_numeric($a[1])){echo "ERR074";exit;} deletetable("yjcode_taocan where userid=".$userid." and id=".$a[1]); deletetable("yjcode_taocan_kc where userid=".$userid." and tcid=".$a[1]); } } break; case "9a": //删除服务套餐 $nb=preg_split("/,/",$bhid); for($i=0;$i99 and tit1='".$row[tit1]."'")==1){echo "ERR1";exit;} deletetable("yjcode_servertaocan where userid=".$userid." and id=".$row[id]); }elseif(intval($a[0])==0){ //表示删除小类 if(!is_numeric($a[1])){echo "ERR074";exit;} deletetable("yjcode_servertaocan where userid=".$userid." and id=".$a[1]); } } break; case "10": //删除收货地址 $nb=preg_split("/,/",$bhid); for($i=0;$i0 and userid=".$userid);while($row=mysql_fetch_array($res)){ delDirAndFile("../upload/news/".dateYMDN($row[sj])."/".$row[bh]."/"); deletetable("yjcode_news where id=".$row[id]); deletetable("yjcode_tp where type1='资讯' and bh='".$row[bh]."'"); } } break; case "13": //删除评价图片 $nb=preg_split("/,/",$bhid); for($i=0;$i=$rowcontrol[sxjf]){ $syjf=$syjf-$rowcontrol[sxjf]; updatetable("yjcode_server","lastsj='".$sj."' where id=".$row1[id]); $jf=$rowcontrol[sxjf]*(-1); PointInto($rowuser[id],"刷新服务[".$row1[tit]."],消耗积分",$jf);PointUpdate($rowuser[id],$jf); } } } break; case "19": //删除服务 $nb=preg_split("/,/",$bhid); for($i=0;$i