6,9d5 < $gds=[]; // animation slides < $datauris=[]; < $currgds=0; < $endbody=''; 24d19 < $twothousand="2000"; 29,30c24,25 < if (strpos($lfs, "``" . server_remote_addr() . "`") !== false) { < $xlfs=explode("`",explode("``" . server_remote_addr() . "`", $lfs)[1])[0]; --- > if (strpos($lfs, "||" . server_remote_addr() . "|") !== false) { > $xlfs=explode("|",explode("||" . server_remote_addr() . "|", $lfs)[1])[0]; 46d40 < isthere(false,'duration'); 51,52c45,46 < if (strpos($lfs, "``" . server_remote_addr() . "`") !== false) { < $xlfs=explode("`",explode("``" . server_remote_addr() . "`", $lfs)[1])[0]; --- > if (strpos($lfs, "||" . server_remote_addr() . "|") !== false) { > $xlfs=explode("|",explode("||" . server_remote_addr() . "|", $lfs)[1])[0]; 68d61 < isthere(false,'duration'); 72,112d64 < < if (isset($_GET['duration']) || isset($_POST['duration']) || isthere(false, 'duration') != '') { < if (urldecode($_GET['duration']) != '') { < $twothousand=(1000 * urldecode($_GET['duration'])); < } else if (urldecode($_POST['duration']) != '' || isthere(false,'duration') != '') { < $twothousand=(1000 * urldecode(isthere(false,'duration'))); < } < } < < function gdback($ggd) { < global $gd, $gds, $currgds, $x, $y, $reverseopacity, $precbits; < if (sizeof($gds) != 0) { < if ($currgds > 0) { < if (sizeof($gds) > $currgds) { < $gd=$gds[$currgds]; < return $gds[$currgds]; < } else { < if (1 == 2) { < $gds[sizeof($gds)] = $ggd; < } else { < $gds[$currgds] = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gds[$currgds], 255, 255, 255, $reverseopacity); < imagefill($gds[$currgds],0,0,$wb); < } < } < return $gds[$currgds]; < //$gd=$gds[$currgds]; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } < } < return $gd; < } < 142c94 < $tbits=explode("``" . server_remote_addr() . "`", file_get_contents($fn)); --- > $tbits=explode("||" . server_remote_addr() . "|", file_get_contents($fn)); 144,145c96,97 < $xprec="<" . "?" . "php \n \$x='``" . server_remote_addr() . "`"; < $xpostc="&" . "`'; \n ?" . "> \n

Hello Possums!

"; --- > $xprec="<" . "?" . "php \n \$x='||" . server_remote_addr() . "|"; > $xpostc="&" . "|'; \n ?" . "> \n

Hello Possums!

"; 148,149c100,101 < $xprec=$tbits[0] . "``" . server_remote_addr() . "`"; < if (substr($tbits[1], 0, 1) == "`") { --- > $xprec=$tbits[0] . "||" . server_remote_addr() . "|"; > if (substr($tbits[1], 0, 1) == "|") { 151,152c103,104 < } else if (strpos($tbits[1], "`") !== false) { < $xpostc=substr($tbits[1], (strlen(explode("`", $tbits[1])[0]) - 1)); --- > } else if (strpos($tbits[1], "|") !== false) { > $xpostc=substr($tbits[1], (strlen(explode("|", $tbits[1])[0]) - 1)); 159,160c111,112 < $xprec="<" . "?" . "php \n \$x='``" . server_remote_addr() . "`"; < $xpostc="&" . "`'; \n ?" . "> \n

Hello Possums!

"; --- > $xprec="<" . "?" . "php \n \$x='||" . server_remote_addr() . "|"; > $xpostc="&" . "|'; \n ?" . "> \n

Hello Possums!

"; 279,280c231 < function modeideas($ingd, $parentdot, $midbit, $mprefix, $msuffix) { < global $gds, $currgds, $endbody, $datauris, $twothousand; --- > function modeideas($ingd) { 286,307d236 < if (sizeof($gds) > 0) { // animation candidate < if ($currgds >= 0) { < $datauris[sizeof($datauris)]=$image_data_base64; < $currgds=-1; < if ($endbody == '') { < $endbody=" \n var currgds=0; function toggle() { if (currgds == " . (-1 - ($currgds)) . ") { " . $parentdot . "document." . $midbit . "=" . $mprefix . "'data:image/png;base64," . $datauris[(-1 - ($currgds))] . "'" . $msuffix . "; } currgds=eval((currgds + 1) % " . sizeof($gds) . "); setTimeout(toggle," . $twothousand . "); } toggle(); \n"; < } < for ($iii=1; $iii $background = imagecreatetruecolor(709,709); > $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); > imagefill($gd,0,0,$wb); > //imagecopyresampled($gd, $new_img,(709-$imageWidth)/2,(709-$imageHeight)/2, 0, 0, $imageWidth, $imageHeight, $width, $height); 355c283 < $red = imagecolorallocatealpha(gdback($gd), 255, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 0, 0, $reverseopacity); 360,371c288 < $currgds=0; < if ($currgds < sizeof($gds)) { < $gd=$gds[$currgds]; < } < $precbits=explode("|",urldecode($_GET['circle'])); < for ($ipcb=0; $ipcb $cbits=explode(",",urldecode($_GET['circle'])); 401c318 < $red = imagecolorallocatealpha(gdback($gd), 0, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 0, 0, 0, $reverseopacity); 403c320 < $red = imagecolorallocatealpha(gdback($gd), 255, 255, 255, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); 411c328 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 413c330 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 421,422c338,339 < ourimagesetpixelline(gdback($gd), round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); < //$red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); --- > ourimagesetpixelline($gd, round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); > //$red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 427,476d343 < } < < if (($ipcb + 1) < sizeof($precbits)) { // animation candidate < if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else if (sizeof($gds) == 0) { < $gds[sizeof($gds)]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } else if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else { < $gds[sizeof($gds) - 1]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < $currgds++; < $xyarray=[]; < } < < < } 478,488c345 < $currgds=0; < if ($currgds < sizeof($gds)) { < $gd=$gds[$currgds]; < } < $precbits=explode("|",urldecode(isthere(false,'circle'))); < for ($ipcb=0; $ipcb $cbits=explode(",",urldecode(isthere(false,'circle'))); 521c378 < $red = imagecolorallocatealpha(gdback($gd), 0, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 0, 0, 0, $reverseopacity); 523c380 < $red = imagecolorallocatealpha(gdback($gd), 255, 255, 255, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); 531c388 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 533c390 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 541,542c398,399 < ourimagesetpixelline(gdback($gd), round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); < //$red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); --- > ourimagesetpixelline($gd, round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); > //$red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 547,597d403 < } < < if (($ipcb + 1) < sizeof($precbits)) { // animation candidate < if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else if (sizeof($gds) == 0) { < $gds[sizeof($gds)]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } else if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else { < $gds[sizeof($gds) - 1]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < $currgds++; < $xyarray=[]; < } < < < < } 608,611d413 < $currgds=0; < if ($currgds < sizeof($gds)) { < $gd=$gds[$currgds]; < } 636c438 < $gms=explode("",str_replace("|","",$gm)); --- > $gms=explode("",$gm); 659c461 < $red = imagecolorallocatealpha(gdback($gd), 0, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 0, 0, 0, $reverseopacity); 661c463 < $red = imagecolorallocatealpha(gdback($gd), 255, 255, 255, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); 682c484 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 684c486 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 692,693c494,495 < ourimagesetpixelline(gdback($gd), round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); < //$red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); --- > ourimagesetpixelline($gd, round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); > //$red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 744c546 < $red = imagecolorallocatealpha(gdback($gd), 0, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 0, 0, 0, $reverseopacity); 746c548 < $red = imagecolorallocatealpha(gdback($gd), 255, 255, 255, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); 767c569 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 769c571 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 777,812c579,580 < ourimagesetpixelline(gdback($gd), round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); < //$red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); < } < } < < if (($ii + 1) < $igms) { // animation candidate < if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else if (sizeof($gds) == 0) { < $gds[sizeof($gds)]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } else if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); --- > ourimagesetpixelline($gd, round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); > //$red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 814,821d581 < } < } else { < $gds[sizeof($gds) - 1]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); 823,827d582 < } < $currgds++; < $xyarray=[]; < } < 836d590 < $precbits=[]; 838,858c592 < if (isset($_GET['coords']) || isset($_GET['closecoords']) || sizeof($xyarray) > 0) { < $currgds=0; < if ($currgds < sizeof($gds)) { < $gd=$gds[$currgds]; < } < < < if (isset($_GET['closecoords'])) { < if (sizeof($xyarray) == 0) { < if (isset($_GET['coords'])) { < $precbits=explode("|",urldecode($_GET['coords'])); < } else { < $precbits=explode("|",urldecode($_GET['closecoords'])); < } < } < } else if (sizeof($xyarray) == 0) { < $precbits=explode("|",urldecode($_GET['coords'])); < } < < < for ($ipcb=0; $ipcb if (isset($_GET['coords']) || isset($_GET['closecoords']) || isthere(false,'closecoords') != '' || sizeof($xyarray) > 0) { 865c599 < $axyarray=explode(",",str_replace(";",",+0,0,",$precbits[$ipcb])); --- > $axyarray=explode(",",str_replace(";",",+0,0,",urldecode($_GET['coords']))); 868c602 < $axyarray=explode(",",str_replace(";",",+0,0,",$precbits[$ipcb])); --- > $axyarray=explode(",",str_replace(";",",+0,0,",urldecode($_GET['closecoords']))); 873c607 < $axyarray=explode(",",str_replace(";",",+0,0,",$precbits[$ipcb])); --- > $axyarray=explode(",",str_replace(";",",+0,0,",urldecode($_GET['coords']))); 875,878d608 < if ($precbits[$ipcb] == '') { < $precbits[$ipcb]="0,0,0,0"; < } < if ($precbits[$ipcb] != '') { 880c610 < $red = imagecolorallocatealpha(gdback($gd), 0, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 0, 0, 0, $reverseopacity); 882c612 < $red = imagecolorallocatealpha(gdback($gd), 255, 255, 255, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); 903c633 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 905c635 < $red = imagecolorallocatealpha(gdback($gd), $rbits[0], $rbits[1], $rbits[2], $reverseopacity); --- > $red = imagecolorallocatealpha($gd, $rbits[0], $rbits[1], $rbits[2], $reverseopacity); 913,964c643,644 < ourimagesetpixelline(gdback($gd), round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); < //$red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); < } < } < < if (($ipcb + 1) < sizeof($precbits)) { // animation candidate < if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else if (sizeof($gds) == 0) { < $gds[sizeof($gds)]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } else if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else { < $gds[sizeof($gds) - 1]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < $currgds++; < $xyarray=[]; < } < < --- > ourimagesetpixelline($gd, round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); > //$red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 967,989d646 < < $xyarray=[]; < $currgds=0; < if ($currgds < sizeof($gds)) { < $gd=$gds[$currgds]; < } < < < if (isset($_POST['closecoords']) || isthere(false,'closecoords') != '') { < if (sizeof($xyarray) == 0) { < if (isset($_POST['coords']) || isthere(false,'coords') != '') { < $precbits=explode("|",urldecode(isthere(false,'coords'))); < } else { < $precbits=explode("|",urldecode(isthere(false,'closecoords'))); < } < } < } else if (sizeof($xyarray) == 0) { < $precbits=explode("|",urldecode(isthere(false,'coords'))); < } < < for ($ipcb=0; $ipcb $xyarray=explode(",",str_replace(";",",+0,0,",urldecode(isthere(false,'coords')))); 997c654 < $xyarray=explode(",",str_replace(";",",+0,0,",$precbits[$ipcb])); --- > $xyarray=explode(",",str_replace(";",",+0,0,",urldecode(isthere(false,'closecoords')))); 1001c658 < $xyarray=explode(",",str_replace(";",",+0,0,",$precbits[$ipcb])); --- > $xyarray=explode(",",str_replace(";",",+0,0,",urldecode(isthere(false,'coords')))); 1003,1008d659 < < if ($precbits[$ipcb] == '') { < $precbits[$ipcb]="0,0,0,0"; < } < if ($precbits[$ipcb] != '') { < 1010c661 < $red = imagecolorallocatealpha(gdback($gd), 0, 0, 0, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 0, 0, 0, $reverseopacity); 1012c663 < $red = imagecolorallocatealpha(gdback($gd), 255, 255, 255, $reverseopacity); --- > $red = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); 1016,1070c667,668 < ourimagesetpixelline(gdback($gd), round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); < //$red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); < } < < } < < < if (($ipcb + 1) < sizeof($precbits)) { // animation candidate < if ($currgds < sizeof($gds)) { < < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else if (sizeof($gds) == 0) { < $gds[sizeof($gds)]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } else if ($currgds < sizeof($gds)) { < $gds[$currgds]=$gd; < if (($currgds + 1) < sizeof($gds)) { < $gd=$gds[$currgds + 1]; < } else { < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < } else { < $gds[sizeof($gds) - 1]=$gd; < $gd = imagecreatetruecolor($x, $y); < if (isset($_GET['positive']) || isset($_POST['positive']) || isthere(false,'positive') != '') { < $background = imagecreatetruecolor($x,$y); < $wb = imagecolorallocatealpha($gd, 255, 255, 255, $reverseopacity); < imagefill($gd,0,0,$wb); < } < } < $currgds++; < $xyarray=[]; < } < < --- > ourimagesetpixelline($gd, round(huhpenup($xyarray[$i])),round(huhpenup($xyarray[$i + 1])), round(huhpenup($xyarray[(($i + 2) % sizeof($xyarray))])),round(huhpenup($xyarray[(($i + 3) % sizeof($xyarray))])), $red); > //$red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 1074c672 < ourimagesetpixel(gdback($gd), round($x),round($y), $red); --- > ourimagesetpixel($gd, round($x),round($y), $red); 1078c676 < $red = imagecolorallocatealpha(gdback($gd), rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); --- > $red = imagecolorallocatealpha($gd, rand(0, 255), rand(0, 255), rand(0, 255), $reverseopacity); 1085,1087d682 < < < 1089,1093d683 < < if (sizeof($gds) > 0) { // animated gif < if (1 == 2) $gds[sizeof($gds)]=$gd; < $gd=$gds[0]; < } 1096d685 < if (sizeof($gds) == 0) { 1099,1102d687 < } else { < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo '' . $endbody . ''; < } 1106,1107c691,692 < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo '' . $endbody . ''; --- > $idb = modeideas($gd); > echo ''; 1109,1110c694,695 < $idb = modeideas($gd,"parent.","getElementById('" . substr(urldecode($_GET['mode']),strlen('image')) . "').src","",""); < echo ' parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('image')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('image')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('image')) . '").src="data:image/png;base64,' . $idb . '"; " . $endbody . ""; --- > $idb = modeideas($gd); > echo ' parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('image')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('image')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('image')) . '").src="data:image/png;base64,' . $idb . '"; "; 1112,1113c697,698 < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo '' . $endbody . ''; --- > $idb = modeideas($gd); > echo ''; 1115,1116c700,701 < $idb = modeideas($gd,"parent.","getElementById('" . substr(urldecode($_GET['mode']),strlen('img')) . "').src","",""); < echo ' parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('img')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('img')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('img')) . '").src="data:image/png;base64,' . $idb . '"; " . $endbody . ""; --- > $idb = modeideas($gd); > echo ' parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('img')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('img')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('img')) . '").src="data:image/png;base64,' . $idb . '"; "; 1118,1119c703,704 < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo '
' . $endbody . ''; --- > $idb = modeideas($gd); > echo '
'; 1121,1122c706,707 < $idb = modeideas($gd,"parent.","getElementById('" . substr(urldecode($_GET['mode']),strlen('div')) . "').src","",""); < echo ' parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('div')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('div')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('div')) . '").innerHTML="" . '"; " . $endbody . ""; --- > $idb = modeideas($gd); > echo ' parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('div')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('div')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode($_GET['mode']),strlen('div')) . '").innerHTML="" . '"; "; 1124,1125c709,710 < $idb = modeideas($gd,"","title","onl(",")"); < $jsis=" var image=null, ctx=null, huh=null, canvas=null; function onl(nowmaybe) { canvas = document.getElementById('c'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas --- > $idb = modeideas($gd); > $jsis=" function onl() { var canvas = document.getElementById('c'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas 1128,1129c713,714 < $jsis.=" ctx = canvas.getContext('2d'); \n\n"; < $jsis.=" image = new Image(); \n"; --- > $jsis.=" var ctx = canvas.getContext('2d'); \n\n"; > $jsis.=" var image = new Image(); \n"; 1134,1136c719,721 < $jsis.=" }; if (nowmaybe.length > 0) { image.src=nowmaybe; } return 'canvas'; } \n"; < $jsis.=" function iis(inu) { if (inu != '') { image = new Image(); image.src = 'data:image/png;base64,' + inu; } else { image.src = 'data:image/png;base64," . $idb . "'; } return 'canvas'; } image.src = 'data:image/png;base64," . $idb . "'; \n"; < echo ' var xxx=""; ' . $jsis . ' ' . $endbody . ''; --- > $jsis.=" }; \n"; > $jsis.=" image.src = 'data:image/png;base64," . $idb . "'; } \n"; > echo ' ' . $jsis . ' '; 1138,1139c723,724 < $idb = modeideas($gd,"","title","onl(",")"); < $jsis=" var image=null, ctx=null, huh=null, canvas=null; function onl(nowmaybe) { canvas = parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('canvas')) . "'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas --- > $idb = modeideas($gd); > $jsis=" function onl() { var canvas = parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('canvas')) . "'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas 1142,1143c727,728 < $jsis.=" ctx = canvas.getContext('2d'); \n\n"; < $jsis.=" image = new Image(); \n"; --- > $jsis.=" var ctx = canvas.getContext('2d'); \n\n"; > $jsis.=" var image = new Image(); \n"; 1148,1150c733,735 < $jsis.=" }; if (nowmaybe.length > 0) { image.src=nowmaybe; } return 'canvas'; } \n"; < $jsis.=" function iis(inu) { if (inu != '') { image = new Image(); image.src = 'data:image/png;base64,' + inu; } else { image.src = 'data:image/png;base64," . $idb . "'; } return 'canvas'; } image.src = 'data:image/png;base64," . $idb . "'; \n"; < echo ' var xxx=""; ' . $jsis . ' "; --- > $jsis.=" }; \n"; > $jsis.=" image.src = 'data:image/png;base64," . $idb . "'; } \n"; > echo ' ' . $jsis . ' '; 1152,1153c737,738 < $idb = modeideas($gd,"","body.style.backgroundImage","\"URL(",")\""); < echo '" . $endbody . ""; --- > $idb = modeideas($gd); > echo '"; 1155,1156c740,741 < $idb = modeideas($gd,"parent.","getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.backgroundImage","\"URL(",")\""); < echo ' if (parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "')) { parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.width='" . $width . "px'; parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.height='" . $height . "px'; parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.backgroundRepeat='no-repeat'; parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } else { parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } " . $endbody . ""; --- > $idb = modeideas($gd); > echo ' if (parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "')) { parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.width='" . $width . "px'; parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.height='" . $height . "px'; parent.document.getElementById('" . substr(urldecode($_GET['mode']),strlen('background')) . "').style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } else { parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } "; 1165,1166c750,751 < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo ''; --- > $idb = modeideas($gd); > echo ''; 1168c753 < $idb = modeideas($gd,"parent.","getElementById('pthing').src","",""); --- > $idb = modeideas($gd); 1171,1172c756,757 < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo ''; --- > $idb = modeideas($gd); > echo ''; 1174c759 < $idb = modeideas($gd,"parent.","getElementById('pthing').src","",""); --- > $idb = modeideas($gd); 1177,1178c762,763 < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo '
'; --- > $idb = modeideas($gd); > echo '
'; 1180,1181c765,766 < $idb = modeideas($gd,"parent.","getElementById('pthing').src","",""); < echo ' parent.document.getElementById("' . substr(urldecode(isthere(false,'mode')),strlen('div')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode(isthere(false,'mode')),strlen('div')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode(isthere(false,'mode')),strlen('div')) . '").innerHTML="" . '"; "; --- > $idb = modeideas($gd); > echo ' parent.document.getElementById("' . substr(urldecode(isthere(false,'mode')),strlen('div')) . '").style.width="' . $width . 'px"; parent.document.getElementById("' . substr(urldecode(isthere(false,'mode')),strlen('div')) . '").style.height="' . $height . 'px"; parent.document.getElementById("' . substr(urldecode(isthere(false,'mode')),strlen('div')) . '").innerHTML="" . '"; "; 1183,1184c768,769 < $idb = modeideas($gd,"","title","onl(",")"); < $jsis=" var image=null, ctx=null, huh=null, canvas=null; function onl(nowmaybe) { canvas = document.getElementById('c'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas --- > $idb = modeideas($gd); > $jsis=" function onl() { var canvas = document.getElementById('c'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas 1187,1188c772,773 < $jsis.=" ctx = canvas.getContext('2d'); \n\n"; < $jsis.=" image = new Image(); \n"; --- > $jsis.=" var ctx = canvas.getContext('2d'); \n\n"; > $jsis.=" var image = new Image(); \n"; 1193,1195c778,780 < $jsis.=" }; if (nowmaybe.length > 0) { image.src=nowmaybe; } return 'canvas'; } \n"; < $jsis.=" function iis(inu) { if (inu != '') { image = new Image(); image.src = 'data:image/png;base64,' + inu; } else { image.src = 'data:image/png;base64," . $idb . "'; } return 'canvas'; } image.src = 'data:image/png;base64," . $idb . "'; \n"; < echo ' var xxx=""; ' . $jsis . ' '; --- > $jsis.=" }; \n"; > $jsis.=" image.src = 'data:image/png;base64," . $idb . "'; } \n"; > echo ' ' . $jsis . ' '; 1197,1198c782,783 < $idb = modeideas($gd,"","title","onl(",")"); < $jsis=" var image=null, ctx=null, huh=null, canvas=null; function onl(nowmaybe) { canvas = parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('canvas')) . "'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas --- > $idb = modeideas($gd); > $jsis=" function onl() { var canvas = parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('canvas')) . "'); \n"; // thanks to https://stackoverflow.com/questions/17090571/is-there-a-way-to-set-background-image-as-a-base64-encoded-image for ideas 1201,1202c786,787 < $jsis.=" ctx = canvas.getContext('2d'); \n\n"; < $jsis.=" image = new Image(); \n"; --- > $jsis.=" var ctx = canvas.getContext('2d'); \n\n"; > $jsis.=" var image = new Image(); \n"; 1207,1209c792,794 < $jsis.=" }; if (nowmaybe.length > 0) { image.src=nowmaybe; } return 'canvas'; } \n"; < $jsis.=" function iis(inu) { if (inu != '') { image = new Image(); image.src = 'data:image/png;base64,' + inu; } else { image.src = 'data:image/png;base64," . $idb . "'; } return 'canvas'; } \n"; < echo ' var xxx=""; ' . $jsis . ' '; --- > $jsis.=" }; \n"; > $jsis.=" image.src = 'data:image/png;base64," . $idb . "'; } \n"; > echo ' ' . $jsis . ' '; 1211,1212c796,797 < $idb = modeideas($gd,"","body.style.backgroundImage","\"URL(",")\""); < echo '" . $endbody . ""; --- > $idb = modeideas($gd); > echo '"; 1214,1215c799,800 < $idb = modeideas($gd,"parent.","getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.backgroundImage","\"URL(",")\""); < echo ' if (parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "')) { parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.width='" . $width . "px'; parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.height='" . $height . "px'; parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.backgroundRepeat='no-repeat'; parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } else { parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } " . $endbody . ""; --- > $idb = modeideas($gd); > echo ' if (parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "')) { parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.width='" . $width . "px'; parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.height='" . $height . "px'; parent.document.getElementById('" . substr(urldecode(isthere(false,'mode')),strlen('background')) . "').style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } else { parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; parent.document.body.style.width='" . $width . "px'; parent.document.body.style.height='" . $height . "px'; parent.body.style.backgroundImage=" . "'" . 'URL("data:image/png;base64,' . $idb . '")' . "'; } "; 1217d801 < if (sizeof($gds) == 0) { 1220,1223d803 < } else { < $idb = modeideas($gd,"","getElementById('pthing').src","",""); < echo '' . $endbody . ''; < }