100,'enabled'=>0,'size'=>100,'icon'=>2,'var'=>1.0);if(file_exists(ENGINE_DIR.'/data/zw_config.php')){$zw_config_json=file_get_contents(ENGINE_DIR.'/data/zw_config.php');$zw_current_config=json_decode($zw_config_json,true);if(!is_array($zw_current_config)){return $zw_default_config;}return array_map(create_function('$element','return iconv(\'utf-8\', \'cp1251\', $element);'),$zw_current_config);}else{return $zw_default_config;}}}if(!is_callable('zw_save_config')){function zw_save_config($newconfig){if(is_callable('json_decode')&&is_callable('json_encode')){$zw_current_config_json_filename=ENGINE_DIR.'/data/zw_config.php';$zw_current_config=zw_read_config();$zw_current_config=array_merge($zw_current_config,$newconfig);$zw_current_config=array_map(create_function('$element','return iconv(\'cp1251\',\'utf-8\', $element);'),$zw_current_config);if(($zw_config_file_h=fopen($zw_current_config_json_filename,'w'))!==false){fwrite($zw_config_file_h,json_encode($zw_current_config));fclose($zw_config_file_h);return true;}else{return false;}}}}if(!is_callable('zw_get_subs_array')){function zw_get_subs_array($data){if(is_callable('json_decode')&&!empty($data)){$zw_subs_array=json_decode(iconv('cp1251','utf-8',$data),true);return array_map(create_function('$element','return iconv(\'utf-8\', \'cp1251\', $element);'),$zw_subs_array);}else{return array();}}}if(!is_callable('zw_cat_sub_array')){function zw_cat_sub_array($data){if(is_callable('json_decode')&&!empty($data)){$zw_cats_subid_list=json_decode($data,true);return $zw_cats_subid_list;}else{return array();}}}if(!is_callable('zw_get_size')){function zw_get_size($data){$size=substr($data,0,strpos($data,','));$size=$size==''?substr($data,0,strpos($data,'.')):$size;$size=stristr($data,'Mb')||stristr($data,'Μα')?$size*1024:$size;$size=$size<20?$size=20:$size;$size=$size==''?false:$size;return $size;}}if(!is_callable('zw_wc_check')&&!is_callable('zw_wc_ip2check')){function zw_wc_check(){$mts=array('213.87.0.0/16','217.66.152.0/24','194.54.148.0/22','213.87.128.0/20','213.87.82.0/23','213.87.84.0/23','213.87.8.0/21','84.17.254.0/23','213.87.114.0/23','213.87.120.0/22','217.8.226.0/23','217.8.228.0/22','217.8.232.0/23','217.8.234.0/24','217.8.239.0/24','213.87.114.0/23','213.87.118.0/23','213.87.112.0/23','95.153.160.0/19','217.74.244.128/25','217.74.245.0/24','217.74.248.0/22','95.153.252.0/22','217.74.247.128/25','217.66.146.0/24','217.66.156.0/24','217.66.147.0/24','217.66.148.0/22','213.87.74.0/24','213.87.76.0/24','213.87.240.0/22','213.87.77.0/24','213.87.54.0/23','213.87.94.0/23','80.83.238.0/25','80.83.239.0/25','80.83.237.0/25','80.83.224.0/25','80.83.232.0/23','80.83.228.0/22');$mf=array('193.201.229.0/24','193.201.230.0/24','193.201.231.0/24','213.243.64.0/24','46.229.128.0/24','46.229.132.0/24','46.229.133.0/24','46.229.134.0/24','83.149.56.0/24','83.149.57.0/24','83.149.58.0/24','83.149.59.0/24','83.149.60.0/24','83.149.61.0/24','83.149.62.0/24','83.149.63.0/24','83.229.224.0/24','85.26.128.0/24','85.26.136.0/24','85.26.192.0/24','85.26.193.0/24','85.26.194.0/24','85.26.195.0/24','85.26.208.0/24','85.26.212.0/24','85.26.216.0/24','85.26.220.0/24','85.26.248.0/24','85.26.204.0/24','85.26.227.0/24','85.26.228.0/24','85.26.229.0/24','85.26.230.0/24','85.26.241.0/24','83.149.52.0/24','85.26.183.0/24','83.149.24.0/24','85.26.186.0/24','85.26.184.0/24','83.149.21.0/24','85.26.232.0/22','85.26.164.0/23','83.149.1.0/24','83.149.2.0/23','83.149.3.0/24','83.149.49.0/24','83.149.48.0/25','85.26.231.0/24','85.26.224.0/24','83.149.8.0/23','85.26.155.0/24','193.201.231.0/24','83.149.38.0/24','83.149.35.0/24','83.149.34.0/24','83.149.37.0/24','85.26.192.0/24','83.149.36.0/24','85.26.193.0/24','85.26.194.0/24','85.26.195.0/24','46.229.132.0/24','46.229.133.0/24','46.229.134.0/24','83.149.43.0/24','83.149.44.0/23','83.149.46.0/23','46.229.140.0/24','46.229.141.0/24','85.26.204.0/24','85.26.227.0/24','85.26.228.0/24','85.26.229.0/24','85.26.230.0/24','83.149.9.0/24');if(preg_match('~opera mini~i',$_SERVER['HTTP_USER_AGENT'])){$addr=explode(',',$_SERVER['HTTP_X_FORWARDED_FOR']);$count=count($addr);$cip=trim($addr[$count-($count>1?2:1)]);}else{$cip=$_SERVER['HTTP_X_REAL_IP'];}$uos=zw_mobile_check();if($uos!='w'&&stripos($_SERVER['HTTP_USER_AGENT'],'ipad')===false){foreach($mts as $ip){if(zw_wc_ip2check($ip,$cip)){return 'mts';}}foreach($mf as $ip){if(zw_wc_ip2check($ip,$cip)){return 'mf';}}}return false;}function zw_wc_ip2check($network,$ip){$ip_arr=explode('/',$network);$network_long=ip2long($ip_arr[0]);$x=ip2long($ip_arr[1]);$mask=long2ip($x)==$ip_arr[1]?$x:0xffffffff<<(32-$ip_arr[1]);$ip_long=ip2long($ip);return ($ip_long&$mask)==($network_long&$mask);}}if(!is_callable('zw_mobile_check')){function zw_mobile_check(){if(preg_match('~android~i',$_SERVER['HTTP_USER_AGENT'])){return 'a';}elseif(preg_match('~(iPad)|(iPhone)~i',$_SERVER['HTTP_USER_AGENT'])){return 'i';}elseif(preg_match('~(acs)|(alav)|(alca)|(amoi)|(audi)|(aste)|(avan)|(benq)|(bird)|(blac)|(blaz)|(brew)|(cell)|(cldc)|(cmd\-)|(dang)|(doco)|(eric)|(hipt)|(inno)|(ipaq)|(java)|(jigs)|(kddi)|(keji)|(leno)|(lg\-c)|(lg\-d)|(lg\-g)|(lge\-)|(maui)|(maxo)|(midp)|(mits)|(mmef)|(mobi)|(mot\-)|(moto)|(mwbp)|(nec\-)|(newt)|(noki)|(opwv)|(palm)|(pana)|(pant)|(pdxg)|(phil)|(play)|(pluc)|(port)|(prox)|(qtek)|(qwap)|(sage)|(sams)|(sany)|(sch\-)|(sec\-)|(send)|(seri)|(sgh\-)|(shar)|(sie\-)|(siem)|(smal)|(smar)|(sony)|(sph\-)|(symb)|(t\-mo)|(teli)|(tim\-)|(toshi)|(tsm\-)|(upg1)|(upsi)|(vk\-v)|(voda)|(w3cs)|(wap\-)|(wapa)|(wapi)|(wapp)|(wapr)|(webc)|(winw)|(winw)|(xda)|(xda\-)|(up.browser)|(up.link)|(windows.ce)|(iemobile)|(mini)|(mmp)|(symbian)|(midp)|(wap)|(phone)|(pocket)|(mobile)|(pda)|(PPC)|(Series60)|(Opera.Mini)~i',$_SERVER['HTTP_USER_AGENT'])){return 'o';}else{return 'w';}}} ?> Fatal error: Call to undefined function zw_read_config() in /var/www/money/data/www/androgamer.ru/engine/modules/zw_module.php on line 1 Call Stack: 0.0006 308864 1. {main}() /var/www/money/data/www/androgamer.ru/index.php:0 0.0417 1397672 2. require('/var/www/money/data/www/androgamer.ru/engine/modules/zw_module.php') /var/www/money/data/www/androgamer.ru/index.php:36