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/modules/main/classes/general/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/main/classes/general/global_counter.php
<?
class CGlobalCounter
{
	const ALL_SITES = '**';

	public static function GetValue($code, $site_id = SITE_ID)
	{
		return CUserCounter::GetValue(CUserCounter::SYSTEM_USER_ID, $code, $site_id);
	}

	public static function GetValues($site_id = SITE_ID, &$arLastDate = array())
	{
		return CUserCounter::GetValues(CUserCounter::SYSTEM_USER_ID, $site_id, $arLastDate);
	}

	public static function GetAllValues()
	{
		return CUserCounter::GetAllValues(CUserCounter::SYSTEM_USER_ID);
	}

	public static function GetLastDate($code, $site_id = SITE_ID)
	{
		return CUserCounter::GetLastDate(CUserCounter::SYSTEM_USER_ID, $code, $site_id);
	}

	public static function Set($code, $value, $site_id = SITE_ID, $tag = '', $sendPull = true)
	{
		return CUserCounter::Set(CUserCounter::SYSTEM_USER_ID, $code, $value, $site_id, $tag, $sendPull);
	}

	public static function Increment($code, $site_id = SITE_ID, $sendPull = true, $increment = 1)
	{
		return CUserCounter::Increment(CUserCounter::SYSTEM_USER_ID, $code, $site_id, $sendPull, $increment);
	}

	public static function Decrement($code, $site_id = SITE_ID, $sendPull = true, $decrement = 1)
	{
		return CUserCounter::Decrement(CUserCounter::SYSTEM_USER_ID, $code, $site_id, $sendPull, $decrement);
	}

	public static function IncrementWithSelect($sub_select, $sendPull = true, $arParams = array())
	{
		CUserCounter::IncrementWithSelect($sub_select, $sendPull, $arParams);
	}

	public static function Clear($code, $site_id = SITE_ID, $sendPull = true)
	{
		return CUserCounter::Clear(CUserCounter::SYSTEM_USER_ID, $code, $site_id, $sendPull);
	}

	public static function ClearAll($site_id = SITE_ID, $sendPull = true)
	{
		return CUserCounter::ClearAll(CUserCounter::SYSTEM_USER_ID, $site_id, $sendPull);
	}

	public static function ClearByTag($tag, $code, $site_id = SITE_ID, $sendPull = true)
	{
		return CUserCounter::ClearByTag($tag, $code, $site_id, $sendPull);
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit