include($_SERVER["DOCUMENT_ROOT"]."/SxGeo.php");
$SxGeo = new SxGeo($_SERVER["DOCUMENT_ROOT"].'/SxGeo.dat');
$ip = $_SERVER['REMOTE_ADDR'];
$zap = $SxGeo->get($ip);
print_r($zap);print_r($zap); на print_r(123); - то на сайте вот такое: https://images.vfl.ru/ii/1552664908/4a7dcfb1/25777... <?require($_SERVER["DOCUMENT_ROOT"]."/geo/SxGeo.php");
$SxGeo = new SxGeo($_SERVER["DOCUMENT_ROOT"].'/geo/SxGeo.dat');
$ip = $_SERVER['REMOTE_ADDR'];
$zap = $SxGeo->get($ip);
if(in_array($zap, array('RU','BY','KZ','UA','AZ','AM','GE','MD','LV','LT', 'EE'))) {
header('HTTP/1.0 403 Forbidden');
exit();
}require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");print_r('123');var banner = document.querySelector('.banner');
function showSizes() {
console.log("Размеры элемента: " + banner.clientWidth + " X " + banner.clientHeight);
}
showSizes();
banner.addEventListener("DOMSubtreeModified", showSizes, false);
banner.addEventListener("transitionend", showSizes, false)