форум вебмастероff на AlfaSpace.NET |
Ubuntu и Linux
|реактивный бесплатный хостинг
| Киноклуб. ВСЁ БЕСПЛАТНО!
база знаний хостинга
|
правила форума
| Начало ° Ответить ° Статистика ° Опрос ° Регистрация ° Поиск ° FAQ ° |
| Форум вебмастеров на AlfaSpace.NET / Создание сайта / Помогите оптимизировать под большинство видов браузеров. |
| Автор | Сообщение |
| 4mlr Участник 361 |
# Дата: 16 Июн 2006 17:36 test.php <? if($HTTP_GET_VARS['d']=='start') { setcookie("testingsystem"); setcookie("testingsystem","testisgood"); echo "<html><head> <title>Остров проверка...</title><link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" /><meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\"> </head><body onload=\"lood(1,1);\" > <script> <!-- function lood(tuu, type) { tert='<b>' if(type==1) { for(y=1; y <= tuu ; y++) { tert=tert+'.'; }; for(y=1; y < (51-tuu); y++) { tert=tert+' '; }; }; if(type==2) { for(y=1; y <= tuu ; y++) { tert=tert+' '; }; for(y=1; y < (51-tuu); y++) { tert=tert+'.'; }; }; if(type==3) { for(y=1; y < (51-tuu); y++) { tert=tert+' '; }; for(y=1; y <= tuu ; y++) { tert=tert+'.'; }; }; if(type==4) { for(y=1; y < (51-tuu); y++) { tert=tert+'.'; }; for(y=1; y <= tuu ; y++) { tert=tert+' '; }; }; www.innerHTML = tert tuu++; if((tuu==51)&&(type==1)) { type=2; tuu=1; }; if((tuu==51)&&(type==2)) { type=3; tuu=1; }; if((tuu==51)&&(type==3)) { type=4; tuu=1; }; if((tuu==51)&&(type==4)) { type=1; tuu=1; }; setTimeout('lood('+tuu+','+type+')', 1000) }; //--> </script> <center> <table id=text width=512 height=512 border=0 cellspacing=0 cellpadding=0 style='position:relative; top:0px;'><tr><td class=6 valign=top></td><td class=7 valign=top colspan=2 rowspan=2 ><table width=100% border=0 cellspacing=0 cellpadding=0 ><tr><td style='padding:40px;' align=center valign=center > <br><br><br><br><br> <iframe width=400 height=300 src='test.php?d=555' frameborder=0 scrolling=no name='dialog' ></iframe> </td></tr></table></td><td class=8 valign=top></td></tr><tr><td class=6 valign=bottom><img src=img/downl3.gif ></td><td class=8 valign=bottom><img src=img/downr3.gif ></td></tr><tr><td class=1><img src=img/downl2.gif ></td><td class=13 align=left><img src=img/downl1.gif ></td><td class=13 align=right><img src=img/downr1.gif ></td><td class=1><img src=img/downr2.gif ></td></tr></table><br> <table id='uper' width=100% border=0 cellspacing=0 cellpadding=0 style='position:absolute; top:0px ; right:0px;'><tr><td align=center> <table width=550 border=0 cellspacing=0 cellpadding=0 > <tr><td class=6 valign=top></td><td class=7 valign=top colspan=2 rowspan=2><table width=100% border=0 cellspacing=0 cellpadding=0 ><tr><td style='padding:4px' align=center> проверка системы на совместимость...<br><span id='www' ></span> </td></tr></table></td><td class=8 valign=top></td></tr><tr><td class=6 valign=bottom><img src=img/downl3.gif ></td><td class=8 valign=bottom><img src=img/downr3.gif ></td></tr><tr><td class=1><img src=img/downl2.gif ></td><td class=13 align=left><img src=img/downl1.gif ></td><td class=13 align=right><img src=img/downr1.gif ></td><td class=1><img src=img/downr2.gif ></td></tr></table> </td></tr></table> </body></html>"; }; if($HTTP_GET_VARS['d']=='555') { echo "<html><head> <title>Остров проверка...</title><link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" /><meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\"> </head><body onload=\" this.location='test.php?d=666' \" > <table id=text width=100% height=100% border=0 cellspacing=0 cellpadding=0 ><tr><td class=7 valign=center align=center colspan=2 rowspan=2 style='background-image: none;' > Если это окно не обновляется в течении 10 сек., то у вас не установлен JAVASCRIPT.<Br><a href='test.php?555' > Пожалуйста установите его и пройдите проверку заново.</a> </td></tr></table><br> </body></html> "; }; if($HTTP_GET_VARS['d']=='666') { echo "<html><head> <title>Остров проверка...</title><link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" /><meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\"> </head><body "; if($HTTP_COOKIE_VARS[testingsystem]=='testisgood') { echo "onload=\"top.location='index.php';\";"; }; echo " > <table id=text width=100% height=100% border=0 cellspacing=0 cellpadding=0 ><tr><td class=7 valign=center align=center colspan=2 rowspan=2 style='background-image: none;' >"; if($HTTP_COOKIE_VARS[testingsystem]=='testisgood') echo "У вас всё тип топ!"; if($HTTP_COOKIE_VARS[testingsystem]!='testisgood') echo "У вас не установлены COOKIE.<Br><a href='index.html' target=_black >Пожалуйста установите их и пройдите проверку в новом окне.</a>"; echo "</td></tr></table><br> </body></html> "; }; ?> index.html <head><title>О.С.Т.Р.О.В.</title></head> <frameset> <frame src='test.php?d=start' frameborder=0 scrolling=no name=dill > </frameset> maxtat кажется в этом и проблема, потому что у меня ИЕ и работает. |
|
Powered by miniBB forum software © 2001-2008
Powered by miniBB-gzipper. Original size:25834, gzipped size:8125 |