示例#1
0
			case "unmark_spam":
				CTicket::UnMarkAsSpam($ID);
				break;
			case "maybe_spam":
				CTicket::MarkAsSpam($ID, "N");
				break;
			case "mark_spam":
				CTicket::MarkAsSpam($ID);
				break;
			case "mark_spam_delete":
				CTicket::MarkAsSpam($ID);
				CTicket::Delete($ID);
				break;
			case "delete":
				CTicket::Delete($ID);
				if(isset($_REQUEST['redirectafter']) && $_REQUEST['redirectafter'] === "Y")
				{
					LocalRedirect($TICKET_LIST_URL."?lang=".LANGUAGE_ID);
				}
				break;
		}
	}
}

$get_extra_names = "N";

// инициализация списка - выборка данных
$TICKET_DICTIONARY = CTicketDictionary::GetDropDownArray();

$arHeaders = Array();