<head>
<script src="//api.bitrix24.com/api/v1/"></script>

</head>
<?php
echo (!empty($arResult["header"])) ? $arResult["header"] : 'Дополнительная информация';

if( !empty($arResult["body"]) ){
	echo $arResult["body"]; 
} 
/*
0: "CRM_LEAD_LIST_MENU"
1: "CRM_DEAL_LIST_MENU"
2: "CRM_INVOICE_LIST_MENU"
3: "CRM_QUOTE_LIST_MENU"
4: "CRM_CONTACT_LIST_MENU"
5: "CRM_COMPANY_LIST_MENU"
6: "CRM_ACTIVITY_LIST_MENU"
7: "CRM_ANALYTICS_MENU"
8: "CRM_LEAD_DETAIL_TAB"
9: "CRM_DEAL_DETAIL_TAB"
10: "CRM_CONTACT_DETAIL_TAB"
11: "CRM_COMPANY_DETAIL_TAB"
12: "CRM_ORDER_DETAIL_TAB"
13: "CRM_LEAD_DETAIL_ACTIVITY"
14: "CRM_DEAL_DETAIL_ACTIVITY"
15: "CRM_CONTACT_DETAIL_ACTIVITY"
16: "CRM_COMPANY_DETAIL_ACTIVITY"
17: "CRM_ORDER_DETAIL_ACTIVITY"
18: "CRM_LEAD_DETAIL_TOOLBAR"
19: "CRM_DEAL_DETAIL_TOOLBAR"
20: "CRM_CONTACT_DETAIL_TOOLBAR"
21: "CRM_COMPANY_DETAIL_TOOLBAR"
22: "CRM_REQUISITE_EDIT_FORM"
23: "1C_PAGE"
24: "CRM_DETAIL_SEARCH"
25: "CRM_DEAL_LIST_TOOLBAR"
26: "CRM_LEAD_LIST_TOOLBAR"
27: "CRM_CONTACT_LIST_TOOLBAR"
28: "CRM_COMPANY_LIST_TOOLBAR"
29: "CRM_INVOICE_LIST_TOOLBAR"
30: "CRM_QUOTE_LIST_TOOLBAR"
31: "CRM_ORDER_LIST_TOOLBAR"
32: "CRM_INVOICE_DETAIL_TOOLBAR"
33: "CRM_QUOTE_DETAIL_TOOLBAR"
34: "CRM_DEAL_DOCUMENTGENERATOR_BUTTON"
35: "CRM_LEAD_DOCUMENTGENERATOR_BUTTON"
36: "CRM_CONTACT_DOCUMENTGENERATOR_BUTTON"
37: "CRM_COMPANY_DOCUMENTGENERATOR_BUTTON"
38: "CRM_INVOICE_DOCUMENTGENERATOR_BUTTON"
39: "CRM_QUOTE_DOCUMENTGENERATOR_BUTTON"
40: "CRM_DEAL_ACTIVITY_TIMELINE_MENU"
41: "CRM_LEAD_ACTIVITY_TIMELINE_MENU"
42: "CRM_LEAD_ROBOT_DESIGNER_TOOLBAR"
43: "CRM_DEAL_ROBOT_DESIGNER_TOOLBAR"
44: "CRM_ANALYTICS_TOOLBAR"
45: "CRM_FUNNELS_TOOLBAR"
46: "CALL_CARD"
47: "TELEPHONY_ANALYTICS_MENU"
48: "SETTING_CONNECTOR"
49: "CONTACT_CENTER"
50: "USER_PROFILE_MENU"
51: "USER_PROFILE_TOOLBAR"
52: "CALENDAR_GRIDVIEW"
53: "SONET_GROUP_TOOLBAR"
54: "SONET_GROUP_DETAIL_TAB"
55: "TASK_USER_LIST_TOOLBAR"
56: "TASK_GROUP_LIST_TOOLBAR"
57: "TASK_ROBOT_DESIGNER_TOOLBAR"
58: "TASK_TOP_MENU"
59: "TASK_LIST_CONTEXT_MENU"
60: "TASK_VIEW_MODE"
61: "TASK_VIEW_TAB"
62: "TASK_VIEW_SIDEBAR"
63: "TASK_VIEW_TOP_PANEL"
64: "TASK_VIEW_MENU_ADD"
65: "REST_APP_URI"	
*/
?>
<script>
BX24.init(function(){
	console.log('Инициализация завершена!', BX24.isAdmin());
	
	BX24.placement.call('getStatus', {}, function (result) {
		console.log('getStatus',result);
	});

	BX24.placement.bindEvent("CallCard::EntityChanged", function (fvar, svar, tvar) {
	   console.log("Entity Change:",fvar, svar, tvar);
	});	
});
</script>