Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [java] podczepiona strona
Forum PHP.pl > Forum > Przedszkole
Amorph
Witam.
W momencie otwierania mojej strony wyskakuje popup(ktorego nie mam dopisanego do stronki. Firefox wylapuje taki skrypt:
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"
  2. "http://www.w3.org/TR/REC-html40/frameset.dtd">
  3. <script type="text/javascript">
  4. //<!--
  5.  
  6. var display = true;
  7.  
  8. var cookieEnabled = true;
  9.  
  10. function __addFlash(src, width, height, bgcolor, wmode){
  11.  
  12. if (!bgcolor) bgcolor='';
  13. var _f='';
  14. _f = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" ';
  15. _f += 'WIDTH="'+width+'" HEIGHT="'+height+'">';
  16. _f += '<PARAM NAME="movie" VALUE="'+src+'"><PARAM NAME="quality" VALUE="high">';
  17. _f += '<PARAM NAME="bgcolor" VALUE="'+bgcolor+'">';
  18. if(wmode!=null) _f += '<PARAM NAME="wmode" VALUE="'+wmode+'">';
  19. _f +='<PARAM NAME="scale" VALUE="noscale">';
  20. _f += '<EMBED scale="noscale" src="'+src+'" WIDTH="'+width+'" HEIGHT="'+height+'" quality="high" ';
  21. if (wmode) _f += 'wmode="'+wmode+'" ';
  22. if (bgcolor) _f += 'bgcolor="'+bgcolor+'" ' ;
  23. _f += 'TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"><\/EMBED>';
  24. _f += '<\/OBJECT>';
  25. return _f;
  26. }
  27.  
  28. function __addLayer(width, height, left, top, visibility,position, zIndex, name,text,background){
  29. if(!name) name='_mainWindow';
  30. if (zIndex==null) zIndex=101;
  31. if (!visibility) visibility='visible';
  32. var _l='';
  33. _l = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ';
  34. _l += '"http://www.w3.org/TR/html4/loose.dtd"><html><title>Reklama - nazwa.pl<\/title><\/head><body>';
  35. _l += '<div ';
  36. _l += 'id="'+name+'" name="'+name+'" style="';
  37. _l += 'position: '+position+'; ';
  38. _l += 'background: '+background+'; ';
  39. _l += 'width: '+width+'px; height: '+height+'px; ';
  40. if (top!=null) _l += 'top: '+top+'px; '
  41. if (left!=null) _l += 'left: '+left+'px; ';
  42. _l += 'z-index: '+zIndex+'; ';
  43. _l += '">';
  44. if(text!=null)_l +=text;
  45. _l += '<\/div><\/body><\/html>';
  46. return _l;
  47. }
  48.  
  49. function __BanerWindow(src,width,height){
  50.  
  51. if(src=='')return 0;
  52. this.banerWindow=null;
  53. this.banerWindow=null;
  54. this.banerWidth=width;
  55. this.banerHeight=height;
  56. var _mf = __addFlash(src,width,height,'white');
  57. this.baner= __addLayer(width, height, 0, 0, 'visible','absolute',96, 'dic12323re',_mf,'transparent');
  58.  
  59. this.initWindow = function(){
  60. var left=(screen.width/2)-(this.banerWidth/2);
  61. var top =(screen.height/3)- this.banerHeight;
  62. if(top<=0)top=40;
  63. var conf="menubar=no, toolbar=no, location=no, scrollbars=no, resizable=no, status=no,width="+this.banerWidth+",height="+this.banerHeight+",left="+left+",top="+top;
  64. this.banerWindow=window.open("","_blank",conf);
  65. if (typeof this.banerWindow.blur !="undefined" ) {
  66. this.banerWindow.blur()
  67. }
  68. }
  69.  
  70. this.showWindow = function (){
  71. this.banerWindow.document.write(this.baner);
  72. this.banerWindow.document.close();
  73. }
  74.  
  75. this.initWindow();
  76. this.showWindow();
  77. }
  78.  
  79. function setCookie() {
  80. var date = new Date();
  81. date.setTime(date.getTime()+(4*60*60*1000));
  82.  
  83. var curCookie = "visit=1; expires=" + date.toGMTString() + "; path=/";
  84. document.cookie = curCookie;
  85. }
  86.  
  87. function readCookie() {
  88. if (cookieEnabled == false)
  89. return null;
  90.  
  91. var nameEQ = "visit=";
  92. var ca = document.cookie.split(';');
  93. for(var i=0;i < ca.length;i++) {
  94. var c = ca[i];
  95. while (c.charAt(0)==' ') c = c.substring(1,c.length);
  96. if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  97. }
  98. return null;
  99. }
  100.  
  101. function correctDate() {
  102.  
  103. var today = new Date();
  104. var todayString = today.getFullYear()+'.';
  105.  
  106. dm = new String(today.getMonth()+1);
  107. if (dm.length == 1) dm = '0' + dm;
  108. dt = new String(today.getDate());
  109. if (dt.length == 1) dt = '0' + dt;
  110. todayString = todayString + dm + '.' + dt;
  111.  
  112. var dates = new Array();
  113. dates[0] = "2006.09.10-2006.12.31";
  114. dates[1] = "2006.10.20";
  115. dates[2] = "2006.08.23";
  116.  
  117. for (var i=0;i<dates.length;i++){
  118. if (dates[i] == todayString)
  119. return false;
  120. }
  121.  
  122. var temp;
  123. for (var i=0;i<dates.length;i++) {
  124. temp = dates[i].split('-');
  125. timeA = new Date(temp[0]);
  126. timeB = new Date(temp[1]);
  127. if (timeA <= today && today <= timeB)
  128. return false;
  129. }
  130.  
  131. return true;
  132. }
  133.  
  134. if (readCookie()!='1' && correctDate() && display) {
  135. new __BanerWindow('http://www.ad.netart.pl/URL/actual2.swf',750,550);
  136. setCookie();
  137. }
  138.  
  139. //-->
  140. </script>
  141.  
  142. </head>
  143. <frame name="strona" src="" frameborder="0" />
  144. <body>
  145. <div>
  146. Twoja przeglądarka nie obsługuje ramek.<br>
  147. Przejdź na adres: <a href=""></a>
  148. <hr>
  149. <h6>www.nazwa.pl</h6>
  150. </div>
  151. </body>
  152.  
  153. </html>


Co to moze byc?

Dodam ze strona stoi na platnym serwerze nie majacym zadnego zwiazku z nazwa.pl
kszychu
Jeżeli Ty tego nie dodajesz, a serwer jest płatny i nie umieszcza żadnych rekalm, to spytaj administratora, skąd to się bierze.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.