99")==1){echo "ERR";exit;} while0("*","yjcode_newstype where id=".$a[0]);$row=mysql_fetch_array($res); deletetable("yjcode_newstype where name1='".$row[name1]."'"); }elseif(intval($a[0])==0){ //表示删除小类 if(!is_numeric($a[1])){echo "ERR074";exit;} if(panduan("type2id,zt","yjcode_news where type2id=".$a[1]." and zt<>99")==1){echo "ERR";exit;} deletetable("yjcode_newstype where id=".$a[1]); } } break; case "6": //资讯审核状态 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0201,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i4 and id=".$nb[$i]); } break; case "11": //删除管理员 if(!strstr($adminqx,",0,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i'".$qx."' and id=".$nb[$i]); } break; case "12": //商品审核状态 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0101,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i0){ PointIntoM($row[userid],"删除任务,退回订金",$row[money4]); PointUpdateM($row[userid],$row[money4]); } } if(3==$row[zt] || 4==$row[zt] || 8==$row[zt]){ PointIntoM($row[userid],"删除任务,退回费用",$row[money3]); PointUpdateM($row[userid],$row[money3]); } 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='".$row[bh]."'"); deletetable("yjcode_tasklog where bh='".$row[bh]."'"); } } break; case "21a": //删除多人任务 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0603,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i0){ PointIntoM($row[userid],"管理员删除任务,退回费用",$row[money3]); PointUpdateM($row[userid],$row[money3]); } } if(!empty($row[jsbao])){ while1("*","yjcode_taskhf where bh='".$row[bh]."' and taskty=1 and (zt=0 or zt=1 or zt=3 or zt=4)");while($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='".$row[bh]."'"); deletetable("yjcode_tasklog where bh='".$row[bh]."'"); } } break; case "23": //删除任务回复 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0603,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i99 and tit='".$row[tit]."'")==1){echo "+Err1";exit;} deletetable("yjcode_taocan where id=".$row[id]); deletetable("yjcode_taocan_kc where tcid=".$row[id]." and probh='".$row[probh]."'"); }elseif(intval($a[0])==0){ //表示删除小类 if(!is_numeric($a[1])){echo "ERR074";exit;} deletetable("yjcode_taocan where id=".$a[1]); deletetable("yjcode_taocan_kc where tcid=".$a[1]); } } break; case "33a": //删除服务套餐 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0103,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i99 and tit1='".$row[tit1]."'")==1){echo "+Err1";exit;} deletetable("yjcode_servertaocan where id=".$row[id]); }elseif(intval($a[0])==0){ //表示删除小类 if(!is_numeric($a[1])){echo "ERR074";exit;} deletetable("yjcode_servertaocan where id=".$a[1]); } } break; case "34": //删除快递公司名称 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0303,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i1"); } break; case "40": //变更商品视频审核状态 if(!strstr($adminqx,",0,") && !strstr($adminqx,",0101,")){echo "Err9";exit;} $nb=preg_split("/,/",$bhid); for($i=0;$i