Changeset 69
- Timestamp:
- 11/23/05 12:29:03 (7 years ago)
- Location:
- trollforge/lastmeasure
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/index.php
r68 r69 9 9 $popup = $_GET['popup']; 10 10 $procreate = $_GET['procreate']; 11 $music = $_GET['music']; 11 12 12 13 function list_images() { … … 62 63 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 63 64 width="1" height="1" id="hey" align=""> 64 <param name="movie" value=" hey.swf"></param>65 <embed src=" hey.swf" width="1" height="1" name="hey" align=""65 <param name="movie" value="flash/hey.swf"></param> 66 <embed src="flash/hey.swf" width="1" height="1" name="hey" align="" 66 67 type="application/x-shockwave-flash" 67 68 pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> … … 85 86 <?php 86 87 /* Just connected! Get the clipboard and post it */ 87 if(!$popup && !$send && !$procreate ) { ?>88 if(!$popup && !$send && !$procreate && !$music) { ?> 88 89 <body> 89 90 <?php goatse(); ?> … … 108 109 } elseif($send) { 109 110 ?> 110 <body background=" hello.jpg" bgcolor="#ffffff"111 <body background="images/hello.jpg" bgcolor="#ffffff" 111 112 onmousemove="playBall();" onLoad="playBall();" 112 113 <?php if($br_ie6) { ?>onload="setTimeout('main()',100)" <?php } ?> … … 120 121 <script> 121 122 function shellscript() { 122 open('http://<?php echo $_SERVER['SERVER_NAME'];?>/ music.php','_blank','scrollbar=no');123 open('http://<?php echo $_SERVER['SERVER_NAME'];?>/index.php?music=1','_blank','scrollbar=no'); 123 124 // TODO: LOOP 124 125 open('http://<?php echo $_SERVER['SERVER_NAME'];?>/spawn.php?i=<?php echo "hello.jpg"; ?>&fla=false','_blank','scrollbar=no'); … … 181 182 style="width: 2000px; height: 2000px; 182 183 background-image: url('<?php echo get_random($files);?>');" 183 src=" hello.jpg" height="300" width="300"184 src="images/hello.jpg" height="300" width="300" 184 185 onmouseover="if(is_ie) {showModelessDialog('index.php?procreate=1'); 185 186 return true; }document.goatse.reset();playBall(); … … 207 208 </body><?php 208 209 210 } elseif($music) { 211 ?> 212 <body onLoad="movewindow();" 213 onUnload="window.open('index.php?music=1','music','fullscreen=0');"> 214 <script> 215 var yBase = screen.width / 2; 216 var xBase = screen.height / 2; 217 var delay = 10; 218 var step = .2; 219 var currStep = 0; 220 var Xpos = screen.width / 4; 221 var Ypos = screen.height / 2; 222 var j = 0; 223 224 window.resizeTo(1, 1); 225 movew0w(); 226 function movew0w() { 227 for (j = 0; j < 5; j++) { 228 var newX = Xpos + Math.sin((20*Math.sin(currStep/20))+j*70) 229 * xBase * (Math.sin(10+currStep/(10+j))+0.2) 230 * Math.cos((currStep + j*25)/10); 231 var newY = Ypos + Math.cos((20*Math.sin(currStep/(20+j)))+j*70) 232 * yBase * (Math.sin(10+currStep/10)+0.2) 233 * Math.cos((currStep + j*25)/10); 234 self.moveTo(newY, newX); /* XXX: why were X and Y inverted? */ 235 } 236 currStep += step; 237 setTimeout("movew0w()", delay); 238 } 239 </script> 240 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> 241 <tr> 242 <td align="center" valign="middle"> 243 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 244 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" 245 width="10" height="10"> 246 <param name="movie" value="flash/hey.swf"></param> 247 <param name="quality" value="high"></param> 248 <embed src="flash/hey.swf" quality="high" 249 pluginspage="http://www.macromedia.com/go/getflashplayer" 250 type="application/x-shockwave-flash" width="10" height="10"> 251 </embed> 252 </object> 253 </td> 254 </tr> 255 </table> 256 </body><?php 257 209 258 } elseif($procreate) { 210 259 ?>
Note: See TracChangeset
for help on using the changeset viewer.
