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/ilovecveti.ru/bitrix/modules/eshopapp/public/ru/eshop_app/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/ilovecveti.ru/bitrix/modules/eshopapp/public/ru/eshop_app/.eshopapp_menu.php
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
IncludeModuleLangFile(__FILE__);

$arMobileMenuItems = array(
	array(
		"type" => "section",
		"text" =>"Каталог товаров",
		"sort" => "100",
		"items" =>	array(
			array(
				"text" => "Главная страница",
				"data-url" => SITE_DIR."eshop_app/",
				"class" => "menu-item",
				"data-pageid" => "main",
				"id" => "main"
			),
			array(
				"text" => "Каталог",
				"class" => "menu-item",
				"onclick" => "openSectionList();",
				"data-pageid" => "catalog",
				"id" => "catalog"
			),
			array(
				"text" => "Корзина",
				"class" => "menu-item",
				"data-url" => SITE_DIR."eshop_app/personal/cart/",
				"id" => "cart",
				"data-pageid" => "cart",
			),
		)
	),
	array(
		"type" => "section",
		"text" =>"Информация",
		"sort" => "200",
		"items" =>	array(
			array(
				"text" => "О магазине",
				"data-url" => SITE_DIR."eshop_app/about/",
				"class" => "menu-item",
				"id" => "about",
				"data-pageid" => "about",
			),
		)
	)
);
if (CBXFeatures::IsFeatureEnabled('SaleAccounts'))
	$arMobileMenuItems[] = array(
		"type" => "section",
		"text" =>"Мои заказы",
		"sort" => "300",
		"items" =>	array(
			array(
				"text" => "Список заказов",
				"data-url" => SITE_DIR."eshop_app/personal/order/order_list.php",
				"class" => "menu-item",
				"id" => "orders",
			),
			array(
				"text" => "Ожидают оплаты",
				"data-url" => SITE_DIR."eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_pay",
				"class" => "menu-item",
				"id" => "orders",
			),
			array(
				"text" => "Ожидают доставки",
				"data-url" => SITE_DIR."eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_delivery",
				"class" => "menu-item",
				"id" => "orders",
			),
			array(
				"text" => "Счет пользователя",
				"class" => "menu-item",
				"data-url" => SITE_DIR."eshop_app/personal/bill/",
				"id" => "user_bill"
			),
		)
	);
else
	$arMobileMenuItems[] = array(
		"type" => "section",
		"text" =>"Мои заказы",
		"sort" => "300",
		"items" =>	array(
			array(
				"text" => "Список заказов",
				"data-url" => SITE_DIR."eshop_app/personal/order/order_list.php",
				"class" => "menu-item",
				"id" => "orders",
			),
			array(
				"text" => "Ожидают оплаты",
				"data-url" => SITE_DIR."eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_pay",
				"class" => "menu-item",
				"id" => "orders",
			),
			array(
				"text" => "Ожидают доставки",
				"data-url" => SITE_DIR."eshop_app/personal/order/order_list.php?action=get_filtered&filter_name=waiting_for_delivery",
				"class" => "menu-item",
				"id" => "orders",
			),
		)
	);
?>
<script>
	function openSectionList()
	{
		app.closeMenu();
		app.openBXTable({
			url: '<?=SITE_DIR?>eshop_app/catalog/sections.php',
			isroot: true,
			TABLE_SETTINGS : {
				cache : true,
				use_sections : true,
				searchField : false,
				showtitle : true,
				name : "Каталог",
				button:
				{
					type:    'basket',
					style:   'custom',
					callback: function()
					{
						app.openNewPage("<?=SITE_DIR?>eshop_app/personal/cart/");
					}
				}
			}
		});
	}
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit