Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/components/bitrix/main.feedback/ |
Upload File : |
<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); $site = ($_REQUEST["site"] <> ''? $_REQUEST["site"] : ($_REQUEST["src_site"] <> ''? $_REQUEST["src_site"] : false)); $arFilter = Array("TYPE_ID" => "FEEDBACK_FORM", "ACTIVE" => "Y"); if($site !== false) $arFilter["LID"] = $site; $arEvent = Array(); $dbType = CEventMessage::GetList("id", "desc", $arFilter); while($arType = $dbType->GetNext()) $arEvent[$arType["ID"]] = "[".$arType["ID"]."] ".$arType["SUBJECT"]; $arComponentParameters = array( "PARAMETERS" => array( "USE_CAPTCHA" => Array( "NAME" => GetMessage("MFP_CAPTCHA"), "TYPE" => "CHECKBOX", "DEFAULT" => "Y", "PARENT" => "BASE", ), "OK_TEXT" => Array( "NAME" => GetMessage("MFP_OK_MESSAGE"), "TYPE" => "STRING", "DEFAULT" => GetMessage("MFP_OK_TEXT"), "PARENT" => "BASE", ), "EMAIL_TO" => Array( "NAME" => GetMessage("MFP_EMAIL_TO"), "TYPE" => "STRING", "DEFAULT" => htmlspecialcharsbx(COption::GetOptionString("main", "email_from")), "PARENT" => "BASE", ), "REQUIRED_FIELDS" => Array( "NAME" => GetMessage("MFP_REQUIRED_FIELDS"), "TYPE"=>"LIST", "MULTIPLE"=>"Y", "VALUES" => Array("NONE" => GetMessage("MFP_ALL_REQ"), "NAME" => GetMessage("MFP_NAME"), "EMAIL" => "E-mail", "MESSAGE" => GetMessage("MFP_MESSAGE")), "DEFAULT"=>"", "COLS"=>25, "PARENT" => "BASE", ), "EVENT_MESSAGE_ID" => Array( "NAME" => GetMessage("MFP_EMAIL_TEMPLATES"), "TYPE"=>"LIST", "VALUES" => $arEvent, "DEFAULT"=>"", "MULTIPLE"=>"Y", "COLS"=>25, "PARENT" => "BASE", ), ) ); ?>