Файл: sistem/ip_isset.class.php
Строк: 76
<?php # Created By Up
class isset_ip
{
var $is_operator=0;
var $is_country=0;
var $operator=array('*','Мегафон','Билайн','UTEL','BWC','MTS','TELE2','Мотив','ЕТК','НСС','СМАРТС','STEK GSM','Татинком-Т','MTT','НТК','SKY LINK','АКОС','Ульяновск GSM','Цифровая экспансия','Индиго','BASHCELL','Киевстар','LIFE:)','UMC','WELLCOM','KCELL','BITE','T-MOBILE','LMT','AZERCELLTELECOM','GE-MAGTICOM','VODAFONE','GEOCELL','VOXTEL','MOBTEL','ORANGE','TME','OMNITEL','UNITEL','EMT','CELLCOM','TCELL','MORDCELL','SRR','OUTREMER','OPERA MINI');
var $country=array('*','RU','UA','BL','BY','KZ','LT','UK','LV','AZ','GE','CZ','AT','HU','MD','YU','RO','ES','SE','SK','GB','IT','EE','FR','IL','TR','NO');
function country($q=NULL)
{
if($q===NULL)
return $this->is_country;
else
return $this->country[$q];
} # country
function operator($q=NULL)
{
if($q===NULL)
return $this->is_operator;
else
return $this->operator[$q];
} # operator
function long_ip($q)
{
if((1402273792<=$q AND 1402275839>=$q) OR (1402277888<=$q AND 1402278911>=$q) OR (1402279936<=$q AND 1402280959>=$q) OR (1402281984<=$q AND 1402283007>=$q) OR (1402284032<=$q AND 1402285055>=$q) OR (1402286080<=$q AND 1402287103>=$q) OR (1402287104<=$q AND 1402288127>=$q) OR (-1043733504<=$q AND -1043732481>=$q) OR (-712935520<=$q AND -712935489>=$q) OR (1427812352<=$q AND 1427813375>=$q) OR (1402278912<=$q AND 1402279935>=$q) OR (1346621440<=$q AND 1346622463>=$q) OR (1402275840<=$q AND 1402276863>=$q))
{
$this->is_country=1;
$this->is_operator=1;
}
else if((1433657344<=$q AND 1433657599>=$q) OR (-646561792<=$q AND -646560769>=$q) OR (-646560768<=$q AND -646559745>=$q) OR (-646558720<=$q AND -646557697>=$q) OR (-646557696<=$q AND -646556673>=$q) OR (-646556672<=$q AND -646555649>=$q) OR (-646555648<=$q AND -646554625>=$q) OR (-646554624<=$q AND -646553601>=$q))
{
$this->is_country=1;
$this->is_operator=2;
}
else if((1047070464<=$q AND 1047072255>=$q) OR (1401450496<=$q AND 1401450751>=$q) OR (1401451520<=$q AND 1401451775>=$q) OR (1425981440<=$q AND 1425997823>=$q) OR (1441366016<=$q AND 1441371903>=$q) OR (1494507776<=$q AND 1494508031>=$q) OR (-1022602752<=$q AND -1022602497>=$q) OR (-730292224<=$q AND -730291713>=$q) OR (-730290464<=$q AND -730290433>=$q) OR (-723779584<=$q AND -723775489>=$q) OR (-653151232<=$q AND -653150977>=$q) OR (-653150720<=$q AND -653150465>=$q) OR (1519779840<=$q AND 1519910911>=$q))
{
$this->is_country=1;
$this->is_operator=3;
}
else if((1347599104<=$q AND 1347599359>=$q) OR (-706447360<=$q AND -706447233>=$q) OR (1360163840<=$q AND 1360164351>=$q) OR (1360162816<=$q AND 1360166911>=$q) OR (-1020368128<=$q AND -1020367873>=$q))
{
$this->is_country=1;
$this->is_operator=4;
}
else if((1042394624<=$q AND 1042394879>=$q) OR (1346950400<=$q AND 1346950655>=$q) OR (1347674112<=$q AND 1347678207>=$q) OR (1360933376<=$q AND 1360933887>=$q) OR (1372794624<=$q AND 1372794879>=$q) OR (1410457600<=$q AND 1410459647>=$q) OR (-1036610560<=$q AND -1036609537>=$q) OR (-1017778688<=$q AND -1017778433>=$q) OR (-1018539008<=$q AND -1018538753>=$q) OR (-1013514240<=$q AND -1013448705>=$q) OR (-1007707904<=$q AND -1007707649>=$q) OR (-735278080<=$q AND -735277825>=$q) OR (-732132608<=$q AND -732132417>=$q) OR (-732132416<=$q AND -732132353>=$q) OR (-716135424<=$q AND -716135169>=$q) OR (-715707904<=$q AND -715701761>=$q) OR (-715700224<=$q AND -715699361>=$q) OR (-715698176<=$q AND -715694081>=$q) OR (-653729792<=$q AND -653725697>=$q) OR (-649949184<=$q AND -649948161>=$q) OR (-649400320<=$q AND -649398273>=$q) OR (-646488576<=$q AND -646488065>=$q) OR (1535627776<=$q AND 1535628031>=$q) OR (-715699200<=$q AND -715698689>=$q))
{
$this->is_country=1;
$this->is_operator=5;
}
else if((1404862464<=$q AND 1404870655>=$q) OR (1404846080<=$q AND 1404854271>=$q) OR (1404854272<=$q AND 1404862463>=$q) OR (1404837888<=$q AND 1404846079>=$q) OR (1404829696<=$q AND 1404837887>=$q) OR (1518927872<=$q AND 1518944255>=$q) OR (1518993408<=$q AND 1519058943>=$q) OR (-2097938432<=$q AND -2097872897>=$q))
{
$this->is_country=1;
$this->is_operator=6;
}
else if((-644598784<=$q AND -644598529>=$q) OR (-644599808<=$q AND -644598785>=$q))
{
$this->is_country=1;
$this->is_operator=7;
}
else if((-1016011816<=$q AND -1016011781>=$q) OR (-1016011008<=$q AND -1016010753>=$q) OR (-1016007168<=$q AND -1016006913>=$q))
{
$this->is_country=1;
$this->is_operator=8;
}
else if((1389383040<=$q AND 1389383167>=$q) OR (1432330240<=$q AND 1432334335>=$q) OR (-1012805632<=$q AND -1012803585>=$q) OR (-1012795392<=$q AND -1012793345>=$q) OR (-709795840<=$q AND -709793025>=$q) OR (-1027958784<=$q AND -1027958529>=$q) OR (-1016974848<=$q AND -1016974337>=$q) OR (1441609984<=$q AND 1441610239>=$q))
{
$this->is_country=1;
$this->is_operator=9;
}
else if((1346736128<=$q AND 1346737151>=$q) OR (-1034680960<=$q AND -1034680833>=$q) OR (-649236224<=$q AND -649236217>=$q) OR (1310210048<=$q AND 1310211071>=$q) OR (1536099328<=$q AND 1536099839>=$q) OR (-707747840<=$q AND -707747585>=$q))
{
$this->is_country=1;
$this->is_operator=10;
}
else if((-646672384<=$q AND -646671361>=$q))
{
$this->is_country=1;
$this->is_operator=11;
}
else if((1481787392<=$q AND 1481787647>=$q) OR (-642965760<=$q AND -642965697>=$q) OR (1506762752<=$q AND 1506764799>=$q))
{
$this->is_country=1;
$this->is_operator=12;
}
else if((1052193280<=$q AND 1052193535>=$q) OR (1347125248<=$q AND 1347125759>=$q) OR (1347126528<=$q AND 1347127167>=$q))
{
$this->is_country=1;
$this->is_operator=13;
}
else if((1358118912<=$q AND 1358119423>=$q) OR (1358119424<=$q AND 1358120703>=$q))
{
$this->is_country=1;
$this->is_operator=14;
}
else if((1406740480<=$q AND 1406746623>=$q) OR (1406740480<=$q AND 1406746623>=$q) OR (-730374144<=$q AND -730373377>=$q) OR (-730371328<=$q AND -730370561>=$q) OR (-730367488<=$q AND -730365953>=$q) OR (-729718784<=$q AND -729717249>=$q) OR (-729717248<=$q AND -729716737>=$q) OR (-729716736<=$q AND -729712641>=$q) OR (-716113920<=$q AND -716113217>=$q) OR (-646754304<=$q AND -646750209>=$q) OR (1509752832<=$q AND 1509756927>=$q))
{
$this->is_country=1;
$this->is_operator=15;
}
else if((1386348544<=$q AND 1386414079>=$q))
{
$this->is_country=1;
$this->is_operator=16;
}
else if((1566410752<=$q AND 1566411775>=$q))
{
$this->is_country=1;
$this->is_operator=17;
}
else if((-643215360<=$q AND -643215105>=$q) OR (-643215104<=$q AND -643214849>=$q) OR (-643212288<=$q AND -643211265>=$q))
{
$this->is_country=1;
$this->is_operator=18;
}
else if((-1007723008<=$q AND -1007722753>=$q) OR (-1021940736<=$q AND -1021939713>=$q))
{
$this->is_country=1;
$this->is_operator=19;
}
else if((-1021940736<=$q AND -1021939713>=$q))
{
$this->is_country=1;
$this->is_operator=20;
}
else if((-1054262272<=$q AND -1054261249>=$q) OR (-734354944<=$q AND -734354433>=$q) OR (-734354432<=$q AND -734353409>=$q) OR (1360467968<=$q AND 1360470015>=$q) OR (1360465920<=$q AND 1360467967>=$q) OR (1486487552<=$q AND 1486553087>=$q))
{
$this->is_country=2;
$this->is_operator=21;
}
else if((1536286720<=$q AND 1536294911>=$q) OR (1536278528<=$q AND 1536286719>=$q) OR (1333559296<=$q AND 1333592063>=$q) OR (-734351360<=$q AND -734347265>=$q) OR (-734355456<=$q AND -734355201>=$q) OR (-734353408<=$q AND -734351361>=$q))
{
$this->is_country=2;
$this->is_operator=22;
}
else if((1295253504<=$q AND 1295319039>=$q) OR (1358905344<=$q AND 1358905471>=$q) OR (1358907392<=$q AND 1358907647>=$q) OR (1358907648<=$q AND 1358907903>=$q) OR (1358907904<=$q AND 1358908031>=$q) OR (1358908160<=$q AND 1358908415>=$q) OR (1358908416<=$q AND 1358908671>=$q) OR (1358908672<=$q AND 1358908927>=$q) OR (1358908928<=$q AND 1358909183>=$q) OR (1358909184<=$q AND 1358909439>=$q) OR (1490436096<=$q AND 1490444287>=$q) OR (1490444288<=$q AND 1490452479>=$q))
{
$this->is_country=2;
$this->is_operator=23;
}
else if((-1041268736<=$q AND -1041268225>=$q))
{
$this->is_country=3;
$this->is_operator=24;
}
else if((1476194816<=$q AND 1476195071>=$q))
{
$this->is_country=4;
$this->is_operator=5;
}
else if((-1020264704<=$q AND -1020264449>=$q))
{
$this->is_country=5;
$this->is_operator=25;
}
else if((-706576384<=$q AND -706575361>=$q))
{
$this->is_country=6;
$this->is_operator=26;
}
else if((-1778515968<=$q AND -1778450433>=$q))
{
$this->is_country=7;
$this->is_operator=27;
}
else if((-732077824<=$q AND -732077569>=$q))
{
$this->is_country=8;
$this->is_operator=28;
}
else if((-643256320<=$q AND -643252225>=$q))
{
$this->is_country=9;
$this->is_operator=29;
}
else if((1365222400<=$q AND 1365223423>=$q))
{
$this->is_country=10;
$this->is_operator=30;
}
else if((-649223168<=$q AND -649222657>=$q))
{
$this->is_country=11;
$this->is_operator=31;
}
else if((-710786560<=$q AND -710786305>=$q))
{
$this->is_country=12;
$this->is_operator=27;
}
else if((1358192896<=$q AND 1358193151>=$q) OR (1507835904<=$q AND 1507852287>=$q) OR (1507819520<=$q AND 1507827711>=$q) OR (1507827712<=$q AND 1507835903>=$q))
{
$this->is_country=13;
$this->is_operator=31;
}
else if((1536655360<=$q AND 1536659455>=$q))
{
$this->is_country=10;
$this->is_operator=32;
}
else if((-1041254912<=$q AND -1041254401>=$q))
{
$this->is_country=14;
$this->is_operator=33;
}
else if((-734822912<=$q AND -734822657>=$q))
{
$this->is_country=15;
$this->is_operator=34;
}
else if((-650002432<=$q AND -650001817>=$q))
{
$this->is_country=13;
$this->is_operator=27;
}
else if((1054471936<=$q AND 1054472191>=$q))
{
$this->is_country=16;
$this->is_operator=35;
}
else if((-1019793664<=$q AND -1019793601>=$q))
{
$this->is_country=17;
$this->is_operator=36;
}
else if((1404190720<=$q AND 1404198911>=$q))
{
$this->is_country=18;
$this->is_operator=6;
}
else if((-711470976<=$q AND -711470849>=$q))
{
$this->is_country=19;
$this->is_operator=35;
}
else if((-1028644864<=$q AND -1028644609>=$q))
{
$this->is_country=6;
$this->is_operator=37;
}
else if((1407033600<=$q AND 1407033855>=$q))
{
$this->is_country=6;
$this->is_operator=38;
}
else if((-726171648<=$q AND -726167297>=$q))
{
$this->is_country=20;
$this->is_operator=31;
}
else if((1407188992<=$q AND 1407210495>=$q))
{
$this->is_country=21;
$this->is_operator=31;
}
else if((-649650176<=$q AND -649649281>=$q))
{
$this->is_country=22;
$this->is_operator=39;
}
else if((-1054638080<=$q AND -1054633985>=$q))
{
$this->is_country=20;
$this->is_operator=35;
}
else if((-1040347904<=$q AND -1040347649>=$q))
{
$this->is_country=23;
$this->is_operator=35;
}
else if((1358598144<=$q AND 1358600191>=$q))
{
$this->is_country=24;
$this->is_operator=40;
}
else if((1296285696<=$q AND 1296302079>=$q) OR (-718602240<=$q AND -718569473>=$q) OR (1449959424<=$q AND 1449967615>=$q))
{
$this->is_country=25;
$this->is_operator=41;
}
else if((1336598528<=$q AND 1336599521>=$q))
{
$this->is_country=14;
$this->is_operator=42;
}
else if((-728071936<=$q AND -728071681>=$q))
{
$this->is_country=5;
$this->is_operator=5;
}
else if((-1015843840<=$q AND -1015842817>=$q))
{
$this->is_country=23;
$this->is_operator=43;
}
else if((-642801664<=$q AND -642800129>=$q))
{
$this->is_country=23;
$this->is_operator=44;
}
else if((-1010987520<=$q AND -1010987009>=$q) OR (-1052412928<=$q AND -1052412801>=$q) OR (1357411584<=$q AND 1357411839>=$q))
{
$this->is_country=26;
$this->is_operator=45;
}
return;
} # long_ip
} # isset_ip
?>