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/cvetdv.ru/bitrix/components/bitrix/main.profile/templates/.default/ |
Upload File : |
function removeElement(arr, sElement) { var tmp = new Array(); for (var i = 0; i<arr.length; i++) if (arr[i] != sElement) tmp[tmp.length] = arr[i]; arr=null; arr=new Array(); for (var i = 0; i<tmp.length; i++) arr[i] = tmp[i]; tmp = null; return arr; } function SectionClick(id) { var div = document.getElementById('user_div_'+id); if (div.className == "profile-block-hidden") { opened_sections[opened_sections.length]=id; } else { opened_sections = removeElement(opened_sections, id); } document.cookie = cookie_prefix + "_user_profile_open=" + opened_sections.join(",") + "; expires=Thu, 31 Dec 2020 23:59:59 GMT; path=/;"; div.className = div.className == 'profile-block-hidden' ? 'profile-block-shown' : 'profile-block-hidden'; }