Код |
---|
<? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetTitle("ADD"); ?> <? function UET($EVENT_NAME, $NAME, $SITE_ID, $DESCRIPTION) { $et = new CEventType; $et->Add(array( "SITE_ID" => $SITE_ID, "EVENT_NAME" => $EVENT_NAME, "NAME" => $NAME, "DESCRIPTION" => $DESCRIPTION )); } UET( "NEW_AUTO","Добавлен новый автомобиль","ru", " #ID# - ID элемента #NAME# - Имя элемента " ); echo "OK"; ?> <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?> |