НАШИ ПУБЛИКАЦИИ
/* include "/home/users/web/b999/ipg.socv/geoipcity.inc"; $gi = geoip_open("/home/users/web/b999/ipg.socv/GeoLiteCity.dat", GEOIP_STANDARD); if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ipp=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ipp=$_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ipp=$_SERVER['REMOTE_ADDR']; } $res = GeoIP_record_by_addr($gi,$_SERVER['REMOTE_ADDR']); geoip_close($gi); $country_code = current($res); next($res); $country_code3 = current($res); next($res); $country_name = current($res); next($res); $region = current($res); $sb=""; if ($region=="67") { echo "Проводятся технические работы"; Exit; } */ ?>