$dsql->ExecuteNoneQuery("Update `2ky_arctiny` set arcrank='0', mid=".$cuserLogin->getUserID()." where id='$aid' ");
if($row['issystem']==-1) {
$dsql->ExecuteNoneQuery("Update `".trim($row['addtable'])."` set arcrank='0', mid=".$cuserLogin->getUserID()." where aid='$aid' ");
}
else {
$dsql->ExecuteNoneQuery("Update `$maintable` set arcrank='0', dutyadmin='".$cuserLogin->getUserID()."', mid=".$cuserLogin->getUserID()." where id='$aid' ");