403Webshell
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.informer/templates/.default/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/components/bitrix/main.informer/templates/.default/script.js
var jsBXMI = {

	Init: function (arParams)
	{
		this.STEP = arParams.STEP;	
		this.STEPS = arParams.STEPS;
		this.ID = arParams.ID;
		this.TEXT = arParams.TEXT;
	}

}

function BXWdStepBnr(obText, obPrev, obNext, nav)
{
	nav = (nav == 'prev' ? 'prev' : 'next');
	if (nav == 'next' && jsBXMI.STEP < jsBXMI.STEPS) 
		jsBXMI.STEP++;
	else if (nav == 'prev' && jsBXMI.STEP > 1) 
		jsBXMI.STEP--;
	else
		nav = 'current';
	var iStep = jsBXMI.STEP;
	if (nav == 'next')
	{
		obPrev.style.display = '';
		obNext.style.display = (iStep < jsBXMI.STEPS ? '' : 'none');
	}
	else
	{
		obPrev.style.display = (iStep > 1 ? '' : 'none');
		obNext.style.display = '';
	}
	obText.innerHTML = jsBXMI.TEXT[iStep-1];
	if (null != jsUserOptions)
	{
		if(!jsUserOptions.options)
			jsUserOptions.options = new Object();
		jsUserOptions.options['main.informer_'+jsBXMI.ID+'.step'] = ['main', 'informer_'+jsBXMI.ID, 'step', iStep, false];
		jsUserOptions.SendData(null);
	}
}

function BXWdCloseBnr(obBnr)
{
	if (null != obBnr)
		obBnr.parentNode.removeChild(obBnr);
	if (null != jsUserOptions)
	{
		if(!jsUserOptions.options)
			jsUserOptions.options = new Object();
		jsUserOptions.options['main.informer_'+jsBXMI.ID+'.show'] = ['main', 'informer_'+jsBXMI.ID, 'show', false, false];
		jsUserOptions.SendData(null);
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit