Changeset 69 for trollforge/lastmeasure


Ignore:
Timestamp:
11/23/05 12:29:03 (8 years ago)
Author:
sam
Message:
  • added the GNAA logo
  • imported shit from LMv4 music.php
Location:
trollforge/lastmeasure
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trollforge/lastmeasure/index.php

    r68 r69  
    99$popup = $_GET['popup']; 
    1010$procreate = $_GET['procreate']; 
     11$music = $_GET['music']; 
    1112 
    1213function list_images() { 
     
    6263          codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
    6364          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="" 
    6667           type="application/x-shockwave-flash" 
    6768           pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> 
     
    8586<?php 
    8687    /* Just connected! Get the clipboard and post it */ 
    87     if(!$popup && !$send && !$procreate) { ?> 
     88    if(!$popup && !$send && !$procreate && !$music) { ?> 
    8889    <body> 
    8990      <?php goatse(); ?> 
     
    108109    } elseif($send) { 
    109110      ?> 
    110 <body background="hello.jpg" bgcolor="#ffffff" 
     111<body background="images/hello.jpg" bgcolor="#ffffff" 
    111112      onmousemove="playBall();" onLoad="playBall();" 
    112113      <?php if($br_ie6) { ?>onload="setTimeout('main()',100)" <?php } ?> 
     
    120121  <script> 
    121122    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'); 
    123124      // TODO: LOOP 
    124125      open('http://<?php echo $_SERVER['SERVER_NAME'];?>/spawn.php?i=<?php echo "hello.jpg"; ?>&fla=false','_blank','scrollbar=no'); 
     
    181182           style="width: 2000px; height: 2000px; 
    182183                  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" 
    184185           onmouseover="if(is_ie) {showModelessDialog('index.php?procreate=1'); 
    185186                        return true; }document.goatse.reset();playBall(); 
     
    207208</body><?php 
    208209 
     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 
    209258    } elseif($procreate) { 
    210259      ?> 
Note: See TracChangeset for help on using the changeset viewer.