Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$eventName = 'ORDER';
$arFields = Array(
"FORM"=>$form,
"FIO" => $_REQUEST['name'],
"PHONE" => $_REQUEST['phone'],
"EMAIL" => $_REQUEST['email'],
"ORDER_LIST" => $ORDER,
"COMMENT" => $_REQUEST['comment'],
"DATE_FROM" => $_REQUEST['date_from'],
"DATE_TO" =>$_REQUEST['date_to'],
"ADDRESS" => $_REQUEST['address'],
"DOSTAVKA" => $dostavka,
"PROPUSK" => $propusk,
"ORGANOZATION" => $_REQUEST['organization'],
);
$event = new CEvent;
$event->Send($eventName, SITE_ID, $arFields, "N");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.