'/classes/general/seometa.php', 'SMCondTree' => "/classes/general/seometa_cond.php", "CSeoMetaTags" => "/classes/general/seometa_tags.php", "CSeoMetaTagsProperty" => "/classes/general/seometa_tags_property.php", "CSeoMetaTagsPrice" => "/classes/general/seometa_tags_price.php", "CSeoMetaSitemap" => "/classes/general/seometa_sitemap.php", "CSeoMetaEvents" => "/classes/general/seometa_event_handler.php", "CSeoMetaOtherEvent" => "/classes/general/seometa_event_handler.php" )); IncludeModuleLangFile(__FILE__); Loader::includeModule('catalog'); global $DB; class CCSeoMeta{ private static $_isDemo = 0; public function __construct(){ $this->inculudeModule(); } private static function inculudeModule(){ $isIncludeModule = CModule::IncludeModuleEx("sotbit.seometa"); static::$_isDemo = $isIncludeModule; static::$_isDemo = 1; } public function getDemo(){ if(static::$_isDemo == 0 || static::$_isDemo == 3) return FALSE; else return TRUE; } public function ReturnDemo(){ return static::$_isDemo; } public function PropMenu($_1467833){ $_1495115704 = ''; $_1812804118 = $_1467833; $_1152866127 = $_1467833; $_1495115704 .= "
"; return $_1495115704; } public function PropMenuTemplate($_1467833){ if(!CModule::IncludeModule("catalog")) return; $_1495115704 = ''; $_1812804118 = $_1467833; $_1152866127 = $_1467833; $_859258979 = CCatalogSKU::GetInfoByProductIBlock($_1467833); if(is_array($_859258979)){ $_1812804118 = $_859258979['PRODUCT_IBLOCK_ID']; $_1152866127 = $_859258979['IBLOCK_ID']; } else{ $_859258979 = CCatalogSKU::GetInfoByOfferIBlock($_1467833); if(is_array($_859258979)){ $_1812804118 = $_859258979['PRODUCT_IBLOCK_ID']; $_1152866127 = $_859258979['IBLOCK_ID']; } } $_1495115704 .= "
"; return $_1495115704; } public function AllCombinationsOfArrayElements($array){ $countElements = count($array); $_1924972203 = pow(2, $countElements) - 1; for($i = 1; $i <= $_1924972203; $i++){ $_2101469831 = decbin($i); $_249476976 = str_pad($_2101469831, $countElements, 0, STR_PAD_LEFT); $_47326147 = strrev($_249476976); $_651755446 = array(); for($_869200653 = 0; $_869200653 < $countElements; $_869200653++){ $_651755446[] = $_47326147[$_869200653]; } $j = 0; $_1619179845 = ''; foreach($_651755446 as $_338493118 => $val){ if($val == 1){ $_1619179845[] .= $array[$j]; } $j++; } $_1495115704[] = $_1619179845; } return $_1495115704; } } ; /* while(!defined(sotbit_seometa_OLDSITEEXPIREDATE) || strlen(sotbit_seometa_OLDSITEEXPIREDATE) <= 0 || sotbit_seometa_OLDSITEEXPIREDATE != sotbit_seometa_SITEEXPIREDATE) die(GetMessage('expire_mess_custom2')); */?>