Goodik39 | Дата: Четверг, 27.11.2008, 18:53 | Сообщение # 1 |
Ph0en1x aka Good'1k
Постов на форуме: 1449
Репутация:
[ 218 ]
| Ставим код куда хотим [spoiler]<script language="JavaScript"> <!-- worldtime[0]="Азорские острова,-1" worldtime[1]="Багдад,3" worldtime[2]="Пекин,8" worldtime[3]="Берлин,1" worldtime[4]="Буэнос-Айрес,-3" worldtime[5]="Чикаго,-6" worldtime[6]="Денвер,-7" worldtime[7]="Гонконг,8" worldtime[8]="Гонолулу,-10" worldtime[9]="Йоханнесбург,2" worldtime[10]="Каиро,2" worldtime[11]="Лима,-5" worldtime[12]="Лондон,0" worldtime[13]="Мехико,-6" worldtime[14]="Москва,3" worldtime[15]="Нью-Йорк,-5" worldtime[16]="Париж,1" worldtime[17]="Перт,8" worldtime[18]="Рио-де-жанейро,-2" worldtime[19]="Сан-Франциско,-8" worldtime[20]="Сидней,11" worldtime[21]="Токио,9" var speed=50 var step=1 var hours var shifthours var minutes var seconds var localhours var thisplace var i_substring=0 var content function extracttime() { content=" ------" for (i=0;i<=worldtime.length-1;i++) { thisplace=worldtime[i].split(",") thistime= new Date() hours=thistime.getUTCHours() hours=eval(hours) shifthours=eval(thisplace[1]) localhours=eval(shifthours+hours) if (localhours <0) {localhours=24+localhours} if (localhours >=24) {localhours=localhours-24} minutes=thistime.getUTCMinutes() seconds=thistime.getUTCSeconds() if (thisplace[0]=='Delhi') { minutes=eval(minutes+30) if (minutes>=60) { minutes=eval(minutes-60) localhours=eval(localhours+1) } } if (eval(minutes) < 10) {minutes="0"+minutes} if (eval(seconds) < 10) {seconds="0"+seconds} if (eval(localhours) < 10) {localhours="0"+localhours} thistime = localhours+":"+minutes content+=" ------ "+thisplace[0]+": "+thistime } content+=" ------" scrolltime() } function scrolltime() { if (i_substring<=content.length-1) { window.status=content.substring(i_substring,content.length-1) i_substring=i_substring+step var timer=setTimeout("extracttime()",speed) } else { i_substring=0 clearTimeout(timer) extracttime() } } //--> </script>[/spoiler]
Команда - это капитан и игроки сплоченные вместе и чем больше вы будете помогать друг другу не только в игре но и в реальной жизни, тем приятнее и выше будет подъем к вершинам киберспортивного олимпа.
|
|
| |