Файл: mapa.php
Строк: 281
<script src="/map_ua_files/AC_RunAc.js" type="text/javascript"></script>
<STYLE>
DIV.map_1 {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(/map_ua_files/blank_map.gif) no-repeat 0px 0px; LEFT: 43px; PADDING-BOTTOM: 0px; WIDTH: 511px; PADDING-TOP: 5px; POSITION: absolute; TOP:0px; HEIGHT: 348px
}
DIV.map_1 IMG {
VISIBILITY: hidden; POSITION: absolute
}
DIV.map_1 DIV {
FONT-SIZE: 10px; COLOR: #000000; POSITION: absolute
}
</STYLE>
<MAP id=regions_map name=regions_map>
<AREA shape=POLY
coords=210,130,241,124,251,115,254,104,268,101,275,87,283,97,283,102,291,112,299,125,304,133,290,139,281,137,272,144,265,141,261,146,246,152,236,151,232,159,215,162,214,152,210,148,207,137 href="/people/?act=search&r=23" onfocus=this.blur()
onmouseover="switchMap(this, 'visible')"
onmouseout="switchMap(this, 'hidden')" image_id="1">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=234,42,239,37,244,13,259,8,280,8,284,0,306,-1,298,49,303,59,302,76,277,80,271,76,273,73,269,71,259,73,250,70,248,65,241,64,233,51
href="/people/?act=search&r=24"
image_id="2">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=74,178,74,171,94,155,96,145,106,148,114,153,123,154,128,150,136,151,141,149,147,156,129,156,121,164,105,172,96,173,85,173,74,177 href="/people/?act=search&r=25" image_id="3">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=327,252,349,263,356,253,378,285,400,277,412,280,407,285,406,295,388,298,380,294,366,308,355,307,341,325,327,327,317,316,322,302,316,293,309,293,300,287,289,289,287,284,321,261,321,255
href="/people/?act=search&r=11" image_id="4">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=304,197,304,176,312,171,313,158,322,151,317,149,326,140,336,145,339,135,352,128,362,129,370,136,383,135,389,141,389,145,395,151,404,149,409,162,404,177,391,176,391,172,384,169,359,173,354,171,356,185,359,188,355,197,344,197,322,201,321,195,316,199 href="/people/?act=search&r=3" image_id="5">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=425,216,415,205,421,195,407,187,402,177,408,161,402,149,405,146,404,141,417,139,418,133,429,120,436,119,437,124,441,124,442,130,448,135,448,150,471,172,453,190,451,206,434,208
href="/people/?act=search&r=4" image_id="6">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=351,86,382,72,399,78,418,67,439,89,436,118,423,126,417,138,405,140,406,146,395,150,388,142,387,137,382,134,368,135,361,127,352,127,365,108,358,105,358,101,350,99 href="/people/?act=search&r=20" image_id="7">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=275,232,283,227,299,226,304,218,300,215,305,205,301,201,309,194,317,197,321,192,333,199,335,203,345,205,342,208,347,216,353,217,355,222,352,228,356,230,354,234,364,239,351,250,350,257,345,256,348,249,326,250,314,255,306,251,283,253,269,247,273,240,261,236,284,238 href="/people/?act=search&r=21" image_id="8">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=117,85,127,80,136,71,143,70,142,79,146,85,152,84,148,99,153,107,152,128,144,134,140,149,119,154,112,146,111,126,114,118,114,93
href="/people/?act=search&r=22" image_id="9">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=34,137,41,126,61,120,63,109,73,109,77,129,95,142,94,155,75,169,74,178,61,170,58,157,52,150,48,150 href="/people/?act=search&r=8" image_id="10">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=216,162,233,158,237,150,249,152,262,145,267,140,273,144,279,141,283,135,291,138,304,133,311,136,312,140,317,135,326,140,316,149,322,151,313,158,312,172,304,176,299,176,287,188,270,189,271,183,267,181,266,176,257,176,251,170,243,173,212,170,212,165 href="/people/?act=search&r=10" image_id="11"><AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=233,42,232,54,241,65,249,66,250,72,261,75,269,72,276,81,264,102,252,105,249,117,240,124,231,124,208,130,201,108,208,101,208,87,202,75,206,66,202,57,204,51,200,47,202,37,226,34 href="/people/?act=search&r=9" image_id="12">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=471,172,449,148,449,134,442,129,442,124,437,124,436,110,439,107,441,84,494,99,497,114,492,119,486,122,496,127,488,135,494,145,496,158,491,170 href="/people/?act=search&r=12" image_id="13">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=63,64,72,73,75,81,87,81,92,93,87,99,73,108,62,111,60,120,40,127,34,138,28,138,19,130,17,123,20,121,19,100,43,75 href="/people/?act=search&r=13" image_id="14">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=225,172,246,172,251,170,258,176,266,176,271,189,290,187,300,176,304,176,304,201,301,205,305,208,300,219,304,221,300,228,279,231,275,234,247,234,245,223,251,222,251,217,245,210,241,210,239,204,241,196,237,194,227,192,227,184,223,179 href="/people/?act=search&r=14" image_id="15">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=187,175,192,170,200,174,208,174,209,169,225,173,223,180,227,185,227,192,230,194,238,194,241,198,239,207,243,210,251,217,250,223,245,223,247,234,236,240,236,246,219,267,213,267,206,276,202,271,202,280,205,285,201,289,190,279,173,285,165,283,165,276,185,254,184,241,192,237,193,243,218,240,203,214,203,203,193,200,192,185 href="/people/?act=search&r=15" image_id="16">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=278,80,291,80,304,76,320,78,333,73,340,84,342,92,351,87,351,101,358,102,359,108,365,109,364,113,337,138,335,145,317,135,312,140,308,133,304,133,304,129,275,87 href="/people/?act=search&r=16" image_id="17"><AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=106,12,147,22,158,29,159,33,151,37,144,52,142,70,133,73,127,81,117,85,113,80,105,82,91,90,89,82,84,79,87,71,94,66,105,67,114,57,114,52,111,49,116,46,109,35,103,35,106,28 href="/people/?act=search&r=17" image_id="18">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=306,1,320,1,334,20,327,28,332,35,332,42,355,45,363,49,363,70,369,77,364,81,360,81,342,92,340,83,332,73,318,78,302,77,303,60,298,49,302,31,302,17,308,9 href="/people/?act=search&r=18" image_id="19"><AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=73,109,92,94,92,90,109,80,115,80,117,85,113,101,114,120,111,130,112,147,117,153,112,153,96,145,95,140,90,138,87,139,85,135,77,128 href="/people/?act=search&r=19" image_id="20">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=154,106,180,108,188,104,193,115,203,112,210,130,207,139,217,162,207,173,198,174,191,169,187,177,181,168,148,158,141,148,146,132,153,127 href="/people/?act=search&r=1" image_id="21">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=107,12,105,36,111,36,117,47,112,50,116,55,106,68,101,65,94,66,88,70,85,80,75,81,72,71,59,58,61,40,57,20,67,22,76,13 href="/people/?act=search&r=2" image_id="22">
<AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=61,171,35,166,25,159,18,164,1,148,1,138,13,121,18,123,20,131,30,138,39,140,48,149,52,150,60,159 href="/people/?act=search&r=6" image_id="23"><AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=333,200,350,196,356,196,359,187,353,177,355,171,370,172,386,169,391,173,391,177,403,178,408,188,422,195,422,199,416,202,420,209,423,213,423,216,397,231,386,230,365,252,369,242,367,237,364,241,354,235,356,231,352,230,356,222,351,219,346,217,342,210,345,206,334,204 href="/people/?act=search&r=7" image_id="24"><AREA
onmouseover="switchMap(this, 'visible')" onfocus=this.blur()
onmouseout="switchMap(this, 'hidden')" shape=POLY
coords=203,38,201,48,205,54,203,58,208,68,203,76,209,87,209,101,203,106,202,112,191,114,191,109,187,104,180,107,153,106,148,98,152,84,146,85,143,77,144,52,152,36,173,27,186,33,195,30 href="/people/?act=search&r=5" image_id="25">
</MAP>
<DIV style="POSITION: relative; HEIGHT: 280px">
<DIV class=map_1 id=div_map><IMG
style="LEFT: 209px; TOP: 90px" height=78
src="map_ua_files/cherkass.gif"
width=94> <IMG style="LEFT: 238px; TOP: 0px" height=89
src="map_ua_files/chernigi.gif"
width=79> <IMG style="LEFT: 77px; TOP: 151px" height=40
src="map_ua_files/chernive.gif"
width=78><img style="LEFT: 294px; TOP: 257px" height=79
src="map_ua_files/crym0000.gif"
width=127><IMG style="LEFT: 307px; TOP: 132px" height=74
src="map_ua_files/dniprope.gif"
width=114> <IMG style="LEFT: 403px; TOP: 125px" height=102
src="map_ua_files/donetska.gif"
width=74> <IMG style="LEFT: 351px; TOP: 75px" height=85
src="map_ua_files/harkivsk.gif"
width=91> <IMG style="LEFT: 270px; TOP: 202px" height=65
src="map_ua_files/hersonsk.gif"
width=102> <IMG style="LEFT: 118px; TOP: 75px" height=90
src="map_ua_files/hmelnits.gif"
width=51> <IMG style="LEFT: 44px; TOP: 111px" height=78
src="map_ua_files/ivano_fr.gif"
width=60> <IMG style="LEFT: 215px; TOP: 130px" height=66
src="map_ua_files/kirovogr.gif"
width=119> <IMG style="LEFT: 206px; TOP: 38px" height=100
src="map_ua_files/kyivska0.gif"
width=79> <IMG style="LEFT: 435px; TOP: 89px" height=92
src="map_ua_files/luganska.gif"
width=67> <IMG style="LEFT: 21px; TOP: 65px" height=79
src="map_ua_files/lvivska0.gif"
width=79> <IMG style="LEFT: 226px; TOP: 174px" height=70
src="map_ua_files/mykolaiv.gif"
width=86> <IMG style="LEFT: 165px; TOP: 177px" height=128
src="map_ua_files/odesska0.gif"
width=95> <IMG style="LEFT: 280px; TOP: 78px" height=76
src="map_ua_files/poltavsk.gif"
width=95> <IMG style="LEFT: 90px; TOP: 15px" height=83
src="map_ua_files/rivnensk.gif"
width=77> <IMG style="LEFT: 300px; TOP: 0px" height=97
src="map_ua_files/sumska00.gif"
width=78> <IMG style="LEFT: 78px; TOP: 84px" height=76
src="map_ua_files/ternopil.gif"
width=47> <IMG style="LEFT: 149px; TOP: 105px" height=81
src="map_ua_files/vinnytsk.gif"
width=77> <IMG style="LEFT: 56px; TOP: 14px" height=69
src="map_ua_files/volynska.gif"
width=65> <IMG style="LEFT: 3px; TOP: 122px" height=56
src="map_ua_files/zakarpat.gif"
width=71> <IMG style="LEFT: 341px; TOP: 174px" height=80
src="map_ua_files/zaporizk.gif"
width=89> <IMG style="LEFT: 149px; TOP: 28px" height=92
src="map_ua_files/zhytomyr.gif"
width=71>
<IMG style="LEFT: 149px; TOP: 28px" height=92
src="map_ua_files/zhytomyr.gif"
width=71>
<?
$regions1 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '1' AND `ban` = 0"),0);
$regions2 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '2' AND `ban` = 0"),0);
$regions3 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '3' AND `ban` = 0"),0);
$regions4 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '4' AND `ban` = 0"),0);
$regions5 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '5' AND `ban` = 0"),0);
$regions6 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '6' AND `ban` = 0"),0);
$regions7 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '7' AND `ban` = 0"),0);
$regions8 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '8' AND `ban` = 0"),0);
$regions9 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '9' AND `ban` = 0"),0);
$regions10 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '10' AND `ban` = 0"),0);
$regions11 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '11' AND `ban` = 0"),0);
$regions12 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '12' AND `ban` = 0"),0);
$regions13 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '13' AND `ban` = 0"),0);
$regions14 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '14' AND `ban` = 0"),0);
$regions15 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '15' AND `ban` = 0"),0);
$regions16 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '16' AND `ban` = 0"),0);
$regions17 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '17' AND `ban` = 0"),0);
$regions18 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '18' AND `ban` = 0"),0);
$regions19 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '19' AND `ban` = 0"),0);
$regions20 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '20' AND `ban` = 0"),0);
$regions21 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '21' AND `ban` = 0"),0);
$regions22 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '22' AND `ban` = 0"),0);
$regions23 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '23' AND `ban` = 0"),0);
$regions24 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '24' AND `ban` = 0"),0);
$regions25 = mysql_result(mysql_query("SELECT COUNT(`id`) FROM `users` WHERE `region` = '25' AND `ban` = 0"),0);
?>
<DIV style="LEFT: 230px; TOP: 132px"><?echo ''.$regions23.'';?></DIV>
<DIV style="LEFT: 275px; TOP: 50px"><?echo ''.$regions24.'';?></DIV>
<DIV style="LEFT: 92px; TOP: 165px"><?echo ''.$regions25.'';?></DIV>
<DIV style="LEFT: 340px; TOP: 290px"><?echo ''.$regions11.'';?></DIV>
<DIV style="LEFT: 355px; TOP: 160px"><?echo ''.$regions3.'';?></DIV>
<DIV style="LEFT: 435px; TOP: 170px"><?echo ''.$regions4.'';?></DIV>
<DIV style="LEFT: 386px; TOP: 100px"><?echo ''.$regions20.'';?></DIV>
<DIV style="LEFT: 320px; TOP: 230px"><?echo ''.$regions21.'';?></DIV>
<DIV style="LEFT: 135px; TOP: 110px"><?echo ''.$regions22.'';?></DIV>
<DIV style="LEFT: 65px; TOP: 140px"><?echo ''.$regions8.'';?></DIV>
<DIV style="LEFT: 265px; TOP: 162px"><?echo ''.$regions10.'';?></DIV>
<DIV style="LEFT: 235px; TOP: 85px"><?echo ''.$regions9.'';?></DIV></a>
<DIV style="LEFT: 462px; TOP: 115px"><?echo ''.$regions12.'';?></DIV>
<DIV style="LEFT: 41px; TOP: 100px"><?echo ''.$regions13.'';?></DIV>
<DIV style="LEFT: 270px; TOP: 205px"><?echo ''.$regions14.'';?></DIV>
<DIV style="LEFT: 230px; TOP: 230px"><?echo ''.$regions15.'';?></DIV>
<DIV style="LEFT: 294px; TOP: 100px"><?echo ''.$regions16.'';?></DIV>
<DIV style="LEFT: 131px; TOP: 30px"><?echo ''.$regions17.'';?></DIV>
<DIV style="LEFT: 335px; TOP: 60px"><?echo ''.$regions18.'';?></DIV>
<DIV style="LEFT: 95px; TOP: 120px"><?echo ''.$regions19.'';?></DIV>
<DIV style="LEFT: 177px; TOP: 145px"><?echo ''.$regions1.'';?></DIV>
<DIV style="LEFT: 85px; TOP: 45px"><?echo ''.$regions2.'';?></DIV>
<DIV style="LEFT: 30px; TOP: 146px"><?echo ''.$regions6.'';?></DIV>
<DIV style="LEFT: 375px; TOP: 205px"><?echo ''.$regions7.'';?></DIV>
<DIV style="LEFT: 175px; TOP: 65px"><?echo ''.$regions5.'';?></DIV><IMG src="/map_ua_files/t_pixel0.gif" width=511 height=348 border="0" useMap=#regions_map
style="LEFT: 5px; VISIBILITY: visible; TOP: 5px"> </DIV>
</DIV><br><br><br><br><br>
<SCRIPT language=JavaScript type=text/javascript>
<!--
function switchMap(obj, value) {
document.all.div_map.getElementsByTagName('img')[obj.getAttribute('image_id') - 1].style.visibility = value;
obj.blur();
}function activateRegion() {
var divsArr = document.all.div_map.getElementsByTagName('div');
var curRegion = "Киевская область";
for (var a = 0, b = divsArr.length; a < b; a++) {
var content = divsArr[a].innerHTML.toLowerCase().replace('<br>', ' ');
content = content.replace('- ', '-');
if ((curRegion == content + ' область' || curRegion == content + ' oblast') || ((content.search('крым') != -1 && curRegion.search('крым') != -1) || (content.search('крим') != -1 && curRegion.search('крим') != -1) || (content.search('crimea') != -1 && curRegion.search('crimea') != -1))) {
document.all.div_map.getElementsByTagName('img')[a].style.visibility = 'visible';
document.all.regions_map.getElementsByTagName('area')[a].onmouseover = '';
document.all.regions_map.getElementsByTagName('area')[a].onmouseout = '';
document.all.regions_map.getElementsByTagName('area')[a].removeAttribute('onmouseover');
document.all.regions_map.getElementsByTagName('area')[a].removeAttribute('onmouseout');
document.all.regions_map.getElementsByTagName('area')[a].removeAttribute('href');
return;
}}}activateRegion();
//--></SCRIPT>