Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ginnw2/33844e16cad9c380e00d812ae0e8be68 to your computer and use it in GitHub Desktop.
Save Ginnw2/33844e16cad9c380e00d812ae0e8be68 to your computer and use it in GitHub Desktop.
$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