000 <HTML><HEAD>
001 <TITLE>[ 2007.close(); 2008 = new Year(); ] //Happy New Year! (by BlueScreen) ;-)</TITLE>
002 <?
003 
004 //***************************************************************************************
005 //    [ 2007.close(); 2008 = new Year(); ] //Happy New Year! (by BlueScreen) ;-)
006 //*************************************************************************************** 
007 //
008 //
009 //               HAPPY NEW YEAR CODE # 4 : 2008 YEAR VERSION
010 //
011 //               by BlueScreen (HexaDecimal poet since 1999)
012 //                 [ http://www.b-l-u-e-s-c-r-e-e-n.net ]
013 //
014 //
015 //***************************************************************************************
016 //***************************************************************************************
017 //
018 //
019 //    --->> PLEASE CLICK ANYWERE TO EXECUTE THE 2008 HAPPY NEW YEAR CODE ! <<---
020 //
021 //
022 //***************************************************************************************
023 //***************************************************************************************
024 
025 //CREATE THE SKY-------------------------------------------------------------------------
026 $floconNum=1;
027 function makeSky($plan,$nbr,$folder,$espace)
028 {
029 global $floconNum;
030 ECHO "<DIV ID='plan$plan' STYLE='position:absolute; width:1200px; left-200px;'>";
031  ECHO "<DIV ID='plan".$plan."_1' STYLE='width:1200; position:absolute; left:0px; top:0px;'>";
032  for($i=0;$i<$nbr;$i++)
033  {
034  ECHO "<IMG id='flocon_$floconNum' SRC='images/flocons/$plan/".($i%($folder-1)+1).".gif' STYLE='visibility:visible; position:relative; left:".fuckRandom(0, $espace)."; right:".fuckRandom(0, $espace)."; top:".fuckRandom(0, $espace)."; bottom:".fuckRandom(0, $espace)."; float:left;'>";
035  $floconNum++;
036  }
037  ECHO "</DIV>";
038  ECHO "<DIV ID='plan".$plan."_2' STYLE='width:1200; position:absolute; left:-".$espace."px; top:0px;'>";
039  for($i=0;$i<$nbr;$i++)
040  {
041  ECHO "<IMG id='flocon_$floconNum' SRC='images/flocons/$plan/".($i%($folder-1)+1).".gif' STYLE='visibility:visible; position:relative; left:".fuckRandom(0, $espace)."; right:".fuckRandom(0, $espace)."; top:".fuckRandom(0, $espace)."; bottom:".fuckRandom(0, $espace)."; float:left;'>";
042  $floconNum++;
043  }
044  ECHO "</DIV>";
045 ECHO "</DIV>";
046 }
047 
048 $n=0; $timeString="18049374635173655934594423497936721325009887623496451543648302095753461221223289775389972461874798147587197490876531738572964866828789983276421439463278923457280298356666628839841204792";
049 function fuckRandom($minlimit,$maxlimit)
050 {
051 global $timeString; global $n; $n++;
052 return substr($timeString,$n%strlen($timeString),3)%$maxlimit;
053 }
054 ?>
055 <SCRIPT LANGUAGE="JavaScript">
056 
057 //INIT-----------------------------------------------------------------------------------
058 neigeSpeed=new Array();
059 neigeSpeed=[25,10,5,1]
060 neigeAct=new Array();
061 neigeAct=[0,0,0,0]
062 newyear=false;
063 
064 function init()
065 {
066 newyear=true;
067 scrollTo(0,0)
068 recalle()
069 setInterval('mozaique()',1000)
070 setInterval('neige()',500)
071 }
072 
073 //RESIZE WINDOW--------------------------------------------------------------------------
074 tailleFenetreInit = tailleFenetre = [600,600];
075 firstRecale=0;
076 
077 function recalle(first) { setTimeout('doRecale('+first+')',1000) }
078 
079 function doRecale(first)
080 {
081 if(first==1) firstRecale=1; else firstRecale++
082 
083 if((document.detectSizeImg.width != tailleFenetreInit[0] && document.detectSizeImg.width != 552 && document.detectSizeImg.width != 552 ) || ( document.detectSizeImg.height != tailleFenetreInit[1] && document.detectSizeImg.height != 552 && document.detectSizeImg.height != 552))
084  {
085  parent.resizeTo(tailleFenetre[0],tailleFenetre[1]);
086  setTimeout('testRecalle()',500)
087  }
088   parent.moveTo(eval(screen.width/2-tailleFenetre[0]/2),eval(screen.height/2-tailleFenetre[1]/2));
089 }
090 
091 function testRecalle()
092 {
093 if( (document.detectSizeImg.width != tailleFenetreInit[0]) || (document.detectSizeImg.height != tailleFenetreInit[1]) )
094  {
095  if(document.detectSizeImg.width!=tailleFenetre[0]) tailleFenetre[0]+=tailleFenetreInit[0]-document.detectSizeImg.width
096  if(document.detectSizeImg.height!=tailleFenetre[1]) tailleFenetre[1]+=tailleFenetreInit[1]-document.detectSizeImg.height
097  parent.resizeTo(tailleFenetre[0],tailleFenetre[1]);
098  parent.moveTo(eval(screen.width/2-tailleFenetre[0]/2),eval(screen.height/2-tailleFenetre[1]/2));
099  }
100 }
101 
102 //MANAGE THE MOZAIQUE--------------------------------------------------------------------
103 function mozaique()
104 {
105 // pos=Math.floor(Math.random()*36)+1;
106 // pix=Math.floor(Math.random()*159)+1;
107 
108 now=new Date(); pos=Math.floor(now.getTime()%36)+1;
109 now=new Date(); pix=Math.floor(now.getTime()%163)+1;
110 
111 eval('document.mozaique_'+pos+'.src="images/portraits/"+pix+".jpg"');
112 }
113 
114 //MANAGE THE SNOW------------------------------------------------------------------------
115 function neige()
116 {
117 for(i=0;i<neigeAct.length;i++)
118  {
119  neigeAct[i]+=neigeSpeed[i];
120  tmp=0-(neigeAct[i]%600);
121  document.getElementById("plan"+(i+1)).style.top=tmp;
122  now=new Date();
123  layerName="flocon_"+(Math.floor(now.getTime()%1599)+1);
124  document.getElementById(layerName).style.visibility="hidden";
125  }
126 }
127 </SCRIPT>
128 </HEAD>
129 <BODY BGCOLOR="#FFFFFF" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0  onClick="if(!newyear) init()" onLoad="alert('001 HAPPY_NEW_YEAR AND BEST WISHES\n002 TO ALL MY FRIENDS\n003 TO ALL THE PEOPLE I MET AND WORK WITH THIS YEAR\n004 AND OBVIOUSLY TO YOU!\n005\n006 //BlueScreen')">
130 <DIV id="detectSize" STYLE="visibility:hidden;position:absolute;top:0px;left:0px;width:100%;height:100%"><IMG SRC="images/vide.gif" WIDTH=100% HEIGHT=100% NAME="detectSizeImg"></DIV>
131 <?
132 //CREATE THE MOZZAIQUE-------------------------------------------------------------------
133 $n=1;
134 ECHO "<DIV ID='mozaique' STYLE='position:absolute; width:600'>";
135 for($i=0;$i<6;$i++)
136  {
137  for($j=0;$j<6;$j++)
138  {
139  ECHO "<IMG NAME='mozaique_$n' SRC='images/vide.gif' WIDTH=100 HEIHT=100>";
140  $n++;
141  }
142  ECHO "<br>";
143  }
144 ECHO "</DIV>";
145 
146 //CREATE THE SKY-------------------------------------------------------------------------
147 makeSky(4,200,13,50);
148 makeSky(3,200,8,50);
149 makeSky(2,200,9,50);
150 makeSky(1,200,8,50);
151 ?>
152 <div id='code' STYLE="color:#2c61b7;font-family:monospace; position:absolute; top:0px; left:0px;">
153 <NOBR>
154 <?
155 //WHEN A SOURCE CODE LOOK AT ITSELF !----------------------------------------------------
156 @$fd = fopen ("./index.php", "r");
157 if($fd)
158 {
159 $cmpt=0;
160 while (!feof($fd))
161  {
162  if($cmpt<10) $cmpt2 = "00".$cmpt; else if($cmpt<100) $cmpt2 = "0".$cmpt; else $cmpt2 = $cmpt;
163  $buffer = fgets($fd, 1024);
164  $buffer=nl2br(str_replace(">", '&gt;', str_replace("<", '&lt;', str_replace(" ", '&nbsp;',htmlspecialchars($buffer)))));
165  ECHO "<FONT COLOR='gray'>$cmpt2</FONT>&nbsp;".$buffer;
166  $cmpt++;
167  }
168 } else ECHO "ERROR!";
169 //---------------------------------------------------------------------------------------
170 ?>
171 </NOBR>
172 </div>
173 </BODY>
174 </HTML>