diff --git a/lib/datetime.php b/cruft/datetime.php similarity index 96% rename from lib/datetime.php rename to cruft/datetime.php index 9920998..4250cb0 100644 --- a/lib/datetime.php +++ b/cruft/datetime.php @@ -1,10 +1,10 @@ - + diff --git a/newyear.php b/cruft/newyear.php similarity index 93% rename from newyear.php rename to cruft/newyear.php index 17ca155..655c4b0 100644 --- a/newyear.php +++ b/cruft/newyear.php @@ -4,12 +4,12 @@ header("Cache-Control: no-cache"); if ($_GET['z']) { - die( "




"); + die( "




"); } // require "lib/function.php"; - $bombday = mktime(0, 0, 0, 1, 1, 2008); + $bombday = mktime(0, 0, 0, 1, 1, 2010); $time = microtime(true) + (3600 * $_GET['to']); $left = $bombday - $time; $left = max(0, $left); @@ -28,7 +28,7 @@ // $teststring = "00d00:00:00.01"; $image = imagecreate(64, 9); - $imagenum = imagecreatefrompng("digits8.png"); + $imagenum = imagecreatefrompng("../images/digits8.png"); $bg = imagecolorallocate($image, 255, 0, 255); $black = imagecolorallocate($image, 0, 0, 0); @@ -89,7 +89,7 @@ } if ($w) imagecopymerge($image, $imagenum, $ofs, 0, $p, 0, $w, 7, 100); - + $ofs += $of; } @@ -99,4 +99,4 @@ imagedestroy($image); imagedestroy($imagenum); -?> \ No newline at end of file +?> diff --git a/ppdgauge.php b/ext/ppdgauge.php similarity index 96% rename from ppdgauge.php rename to ext/ppdgauge.php index 78589ea..b083c1e 100644 --- a/ppdgauge.php +++ b/ext/ppdgauge.php @@ -1,214 +1,215 @@ -selectdb("sonicret_s2bivb"); - - if ($_GET['s']) $size = $_GET['s']; - if ($size > 1024 || $size < 80) $size = 255; - if ($_GET['t']) $classt = $_GET['t']; - if ($classt > 9999 || $classt < 10) $classt = 500; - - $size = 255; - $classt = 500; - $class = $sql->resultq("SELECT COUNT(`id`) FROM `posts` WHERE `date` > ". (ctime() - 86400)); - - if ($_GET['s']) $size = numrange((int)$_GET['s'], 80, 1024); - if ($_GET['t']) $classt = numrange((int)$_GET['t'], 10, 1000); - - $classtxt = " ppd "; - - $image = imagecreatetruecolor( $size + 1, $size + 1 ); - - imageantialias($image, true); - imagesavealpha($image, true); - imagealphablending($image, false); - - $color['white'] = imagecolorallocate($image, 255, 255, 255); - $color['black'] = imagecolorallocate($image, 0, 0, 0); - $color['gray1'] = imagecolorallocate($image, 40, 40, 40); - $color['gray2'] = imagecolorallocate($image, 120, 120, 120); - $color['gray3'] = imagecolorallocate($image, 230, 230, 230); - $color['red'] = imagecolorallocate($image, 255, 100, 100); - $color['blue'] = imagecolorallocate($image, 125, 125, 255); - - imagefilledrectangle($image, 0, 0, $size+1, $size+1, imagecolorallocatealpha($image, 0, 0, 0, 127)); - imagealphablending($image, true); - - $point = anglepos($size / 3, $size/2, $size/2, 90+45); - -// drawgauge($size/2, $size/2, $size, 180, 270); - drawgauge($size/2, $size/2, $size, 180 - 45, 270); - -// drawgauge($point['x'], $point['y'], $size / 3, 180, 270); - - function drawgauge($xpos, $ypos, $size, $startangle, $endangle) { - global $image, $color, $class, $classt, $classtxt; - -// $startangle = 90; - $endangle = $startangle + $endangle; - $angsize = $endangle - $startangle; - - $radius = $size / 2; - - imagefilledarc($image, $xpos, $ypos, $size, $size, 0, 360, $color['gray1'], IMG_ARC_PIE); - imagearc ($image, $xpos, $ypos, $size, $size, 0, 360, $color['black']); - - for ($i = 0; $i <= 100; $i ++) { - - if ($i % 5 == 0) { - $c = $color['white']; - $l = 10; - } else { - $c = $color['black']; - $l = 0; - } - - if ($i >= 0 && $i <= 99) { - if ($i <= 24) { - $cx = ($i) / 25 * 255; - $cc = imagecolorallocate($image, 255, $cx, 0); - } elseif ($i <= 49) { - $cx = ($i - 75) / 25 * 127; - $cc = imagecolorallocate($image, 255 - $cx, 255 - $cx, $cx); - } elseif ($i <= 74) { - $cx = ($i - 50) / 25 * 31; - $cc = imagecolorallocate($image, 128 - $cx, 128 - $cx, 128 + $cx); - } else { - $cx = ($i - 75) / 25 * 95; - $cc = imagecolorallocate($image, 95 - $cx, 95 - $cx, 255 - $cx); - } - - $r = $i * ($angsize * .01) - $startangle + ($angsize * .01); - $q[0] = anglepos($radius - 3, $xpos, $ypos, $r); - $q[1] = anglepos($radius - 3 - 5, $xpos, $ypos, $r); - $r = $i * ($angsize * .01) - $startangle - 1; - $q[2] = anglepos($radius - 3, $xpos, $ypos, $r); - $q[3] = anglepos($radius - 3 - 5, $xpos, $ypos, $r); - - $pts = array( - $q[0]['x'], $q[0]['y'], - $q[2]['x'], $q[2]['y'], - $q[3]['x'], $q[3]['y'], - $q[1]['x'], $q[1]['y'], - ); - -// imageline($image, $p1['x'], $p1['y'], $p2['x'], $p2['y'], $cc); -// imageline($image, $p1['x'], $p1['y'], $p2['x'], $p2['y'], $cc); - imagefilledpolygon($image, $pts, 4, $cc); -// imageline($image, $q[0]['x'], $q[0]['y'], $q[3]['x'], $q[3]['y'], $cc); - } - - $r = $i * ($angsize * .01) - $startangle; - - $p1 = anglepos($radius - 3, $xpos, $ypos, $r); - $p2 = anglepos($radius - 3 - $l, $xpos, $ypos, $r); - - imageline($image, $p1['x'], $p1['y'], $p2['x'], $p2['y'], $c); - - $markers = ($size < 255 ? 25 : 10); - if ($i % $markers == 0) { - $p3 = anglepos($radius - 20, $xpos, $ypos, $r); - $p4 = anglepos($radius - 42, $xpos, $ypos, $r); - - $n = round($classt * ($i/100)) .""; - - $nl = strlen($n); - - $x = 2 + (3.5 * ($nl - 1)); - imagestring($image, 3, $p3['x'] - $x, $p3['y'] - 7, $n, $color['white']); - } - - } - - - $rad = 45; - - // imageline($image, $radius, $radius, $point['x'], $point['y'], $color['black']); - // drawneedle($houra, $radius, $radius, $radius - 30, 7, - 3, $color['black']); - // drawneedle($mina, $radius, $radius, $radius - 5, 5, - 5, $color['black']); - // drawneedle($seca, $radius, $radius, $radius - 2, 4, -10, $color['red']); - - $ang = @(min($classt, $class)/$classt) * $angsize - $startangle; - drawneedle($ang, $xpos, $ypos, $radius - 2, 5, -20, $color['blue']); - - if ($size >= 128) { - imagestring($image, 1, $size / 2 - 26, $size * .7 + 4 , $classtxt, $color['white']); -// if (!$_GET['p']) imagestring($image, 1, $size / 2 + 14, $size * .7 + 16, "%", 0xcccccc); - digits($size * .50 - 12, $size * .7 + 14, $class, 3, 0); - } else { - digits($size * .50 - 12, $size * .7 + 9, $class, 3, 0); - } - } - -// imagestring($image, 1, $size / 2 - 42, $size * .93 - 10, date("m/d/y H:i:s", time()), 0xcccccc); - header("Content-type: image/png"); - imagepng($image); - imagedestroy($image); - - - - function anglepos($radius, $origo_x, $origo_y, $angle) { -// $angle += 90; - $radius--; - $pont['x'] = $origo_x + ($radius * sin(deg2rad($angle))); - $pont['y'] = $origo_y - ($radius * cos(deg2rad($angle))); - return $pont; - } - - - function drawneedle($angle, $cx, $cy, $radius, $width, $tail, $color) { - global $image; - $point = anglepos($tail * -1, $cx, $cy, $angle + 180); - - $width *= .75; - - $point1 = anglepos($width, $point['x'], $point['y'], $angle - 90); - $point2 = anglepos($width, $point['x'], $point['y'], $angle + 90); - $point3 = anglepos($radius, $cx, $cy, $angle); -// $point3 = anglepos($radius, $cx, $cy, $angle - .5); -// $point4 = anglepos($radius, $cx, $cy, $angle + .5); - $point9 = anglepos($radius - 4, $cx, $cy, $angle); - - $points = array( - $point1['x'], $point1['y'], -// $point['x'], $point['y'], - $point2['x'], $point2['y'], -// $point4['x'], $point4['y'], - $point3['x'], $point3['y'], - ); - imagefilledpolygon($image, $points, 3, $color); - imagepolygon($image, $points, 3, $color); - imageline($image, $point9['x'], $point9['y'], $cx, $cy, 0xffffff); -// imagefilledpolygon($image, $points, 3, $color); - - } - - - function digits($x, $y, $n, $l = 4, $d = 2, $overlay = false) { - global $image; - - $numimage = imagecreatefrompng("digits4.png"); - $n = number_format($n, $d); - $n = str_replace(",", "", $n); - $n2 = explode(".", $n); - - $big = str_pad($n2[0], $l, ":", STR_PAD_LEFT); - $len = strlen($big); - - for($o = 0; $o < $len; $o++) { - $chrpos = ord($big{$o}) - 48; - imagecopy($image, $numimage, $x + ($o * 8), $y, $chrpos * 9, 0, 8, 14); - } - - $small = $n2[1]; - $slen = strlen($small) + $o - 1; - for(; $o <= $slen; $o++) { - $lp = $o - $len; - imagecopy($image, $numimage, $x + $o * 8, $y, $small{$lp} * 9, 14, 8, 14); - } - - $maxlen = strlen($big) + strlen($small); - imagerectangle($image, $x - 1, $y - 1, $x + $maxlen * 8, $y + 14, 0x000000); - - if ($overlay) imagefilledrectangle($image, $x, $y, $x + $maxlen * 8 - 1, $y + 13, $overlay); - } \ No newline at end of file +selectdb("sonicret_s2bivb"); + + if ($_GET['s']) $size = $_GET['s']; + if ($size > 1024 || $size < 80) $size = 255; + if ($_GET['t']) $classt = $_GET['t']; + if ($classt > 9999 || $classt < 10) $classt = 500; + + $size = 255; + $classt = 500; + $class = $sql->resultq("SELECT COUNT(`id`) FROM `posts` WHERE `date` > ". (ctime() - 86400)); + + if ($_GET['s']) $size = numrange((int)$_GET['s'], 80, 1024); + if ($_GET['t']) $classt = numrange((int)$_GET['t'], 10, 1000); + + $classtxt = " ppd "; + + $image = imagecreatetruecolor( $size + 1, $size + 1 ); + + imageantialias($image, true); + imagesavealpha($image, true); + imagealphablending($image, false); + + $color['white'] = imagecolorallocate($image, 255, 255, 255); + $color['black'] = imagecolorallocate($image, 0, 0, 0); + $color['gray1'] = imagecolorallocate($image, 40, 40, 40); + $color['gray2'] = imagecolorallocate($image, 120, 120, 120); + $color['gray3'] = imagecolorallocate($image, 230, 230, 230); + $color['red'] = imagecolorallocate($image, 255, 100, 100); + $color['blue'] = imagecolorallocate($image, 125, 125, 255); + + imagefilledrectangle($image, 0, 0, $size+1, $size+1, imagecolorallocatealpha($image, 0, 0, 0, 127)); + imagealphablending($image, true); + + $point = anglepos($size / 3, $size/2, $size/2, 90+45); + +// drawgauge($size/2, $size/2, $size, 180, 270); + drawgauge($size/2, $size/2, $size, 180 - 45, 270); + +// drawgauge($point['x'], $point['y'], $size / 3, 180, 270); + + function drawgauge($xpos, $ypos, $size, $startangle, $endangle) { + global $image, $color, $class, $classt, $classtxt; + +// $startangle = 90; + $endangle = $startangle + $endangle; + $angsize = $endangle - $startangle; + + $radius = $size / 2; + + imagefilledarc($image, $xpos, $ypos, $size, $size, 0, 360, $color['gray1'], IMG_ARC_PIE); + imagearc ($image, $xpos, $ypos, $size, $size, 0, 360, $color['black']); + + for ($i = 0; $i <= 100; $i ++) { + + if ($i % 5 == 0) { + $c = $color['white']; + $l = 10; + } else { + $c = $color['black']; + $l = 0; + } + + if ($i >= 0 && $i <= 99) { + if ($i <= 24) { + $cx = ($i) / 25 * 255; + $cc = imagecolorallocate($image, 255, $cx, 0); + } elseif ($i <= 49) { + $cx = ($i - 75) / 25 * 127; + $cc = imagecolorallocate($image, 255 - $cx, 255 - $cx, $cx); + } elseif ($i <= 74) { + $cx = ($i - 50) / 25 * 31; + $cc = imagecolorallocate($image, 128 - $cx, 128 - $cx, 128 + $cx); + } else { + $cx = ($i - 75) / 25 * 95; + $cc = imagecolorallocate($image, 95 - $cx, 95 - $cx, 255 - $cx); + } + + $r = $i * ($angsize * .01) - $startangle + ($angsize * .01); + $q[0] = anglepos($radius - 3, $xpos, $ypos, $r); + $q[1] = anglepos($radius - 3 - 5, $xpos, $ypos, $r); + $r = $i * ($angsize * .01) - $startangle - 1; + $q[2] = anglepos($radius - 3, $xpos, $ypos, $r); + $q[3] = anglepos($radius - 3 - 5, $xpos, $ypos, $r); + + $pts = array( + $q[0]['x'], $q[0]['y'], + $q[2]['x'], $q[2]['y'], + $q[3]['x'], $q[3]['y'], + $q[1]['x'], $q[1]['y'], + ); + +// imageline($image, $p1['x'], $p1['y'], $p2['x'], $p2['y'], $cc); +// imageline($image, $p1['x'], $p1['y'], $p2['x'], $p2['y'], $cc); + imagefilledpolygon($image, $pts, 4, $cc); +// imageline($image, $q[0]['x'], $q[0]['y'], $q[3]['x'], $q[3]['y'], $cc); + } + + $r = $i * ($angsize * .01) - $startangle; + + $p1 = anglepos($radius - 3, $xpos, $ypos, $r); + $p2 = anglepos($radius - 3 - $l, $xpos, $ypos, $r); + + imageline($image, $p1['x'], $p1['y'], $p2['x'], $p2['y'], $c); + + $markers = ($size < 255 ? 25 : 10); + if ($i % $markers == 0) { + $p3 = anglepos($radius - 20, $xpos, $ypos, $r); + $p4 = anglepos($radius - 42, $xpos, $ypos, $r); + + $n = round($classt * ($i/100)) .""; + + $nl = strlen($n); + + $x = 2 + (3.5 * ($nl - 1)); + imagestring($image, 3, $p3['x'] - $x, $p3['y'] - 7, $n, $color['white']); + } + + } + + + $rad = 45; + + // imageline($image, $radius, $radius, $point['x'], $point['y'], $color['black']); + // drawneedle($houra, $radius, $radius, $radius - 30, 7, - 3, $color['black']); + // drawneedle($mina, $radius, $radius, $radius - 5, 5, - 5, $color['black']); + // drawneedle($seca, $radius, $radius, $radius - 2, 4, -10, $color['red']); + + $ang = @(min($classt, $class)/$classt) * $angsize - $startangle; + drawneedle($ang, $xpos, $ypos, $radius - 2, 5, -20, $color['blue']); + + if ($size >= 128) { + imagestring($image, 1, $size / 2 - 26, $size * .7 + 4 , $classtxt, $color['white']); +// if (!$_GET['p']) imagestring($image, 1, $size / 2 + 14, $size * .7 + 16, "%", 0xcccccc); + digits($size * .50 - 12, $size * .7 + 14, $class, 3, 0); + } else { + digits($size * .50 - 12, $size * .7 + 9, $class, 3, 0); + } + } + +// imagestring($image, 1, $size / 2 - 42, $size * .93 - 10, date("m/d/y H:i:s", time()), 0xcccccc); + header("Content-type: image/png"); + imagepng($image); + imagedestroy($image); + + + + function anglepos($radius, $origo_x, $origo_y, $angle) { +// $angle += 90; + $radius--; + $pont['x'] = $origo_x + ($radius * sin(deg2rad($angle))); + $pont['y'] = $origo_y - ($radius * cos(deg2rad($angle))); + return $pont; + } + + + function drawneedle($angle, $cx, $cy, $radius, $width, $tail, $color) { + global $image; + $point = anglepos($tail * -1, $cx, $cy, $angle + 180); + + $width *= .75; + + $point1 = anglepos($width, $point['x'], $point['y'], $angle - 90); + $point2 = anglepos($width, $point['x'], $point['y'], $angle + 90); + $point3 = anglepos($radius, $cx, $cy, $angle); +// $point3 = anglepos($radius, $cx, $cy, $angle - .5); +// $point4 = anglepos($radius, $cx, $cy, $angle + .5); + $point9 = anglepos($radius - 4, $cx, $cy, $angle); + + $points = array( + $point1['x'], $point1['y'], +// $point['x'], $point['y'], + $point2['x'], $point2['y'], +// $point4['x'], $point4['y'], + $point3['x'], $point3['y'], + ); + imagefilledpolygon($image, $points, 3, $color); + imagepolygon($image, $points, 3, $color); + imageline($image, $point9['x'], $point9['y'], $cx, $cy, 0xffffff); +// imagefilledpolygon($image, $points, 3, $color); + + } + + + function digits($x, $y, $n, $l = 4, $d = 2, $overlay = false) { + global $image; + + $numimage = imagecreatefrompng("images/digits4.png"); + $n = number_format($n, $d); + $n = str_replace(",", "", $n); + $n2 = explode(".", $n); + + $big = str_pad($n2[0], $l, ":", STR_PAD_LEFT); + $len = strlen($big); + + for($o = 0; $o < $len; $o++) { + $chrpos = ord($big{$o}) - 48; + imagecopy($image, $numimage, $x + ($o * 8), $y, $chrpos * 9, 0, 8, 14); + } + + $small = $n2[1]; + $slen = strlen($small) + $o - 1; + for(; $o <= $slen; $o++) { + $lp = $o - $len; + imagecopy($image, $numimage, $x + $o * 8, $y, $small{$lp} * 9, 14, 8, 14); + } + + $maxlen = strlen($big) + strlen($small); + imagerectangle($image, $x - 1, $y - 1, $x + $maxlen * 8, $y + 14, 0x000000); + + if ($overlay) imagefilledrectangle($image, $x, $y, $x + $maxlen * 8 - 1, $y + 13, $overlay); + } diff --git a/ext/xstats.php b/ext/xstats.php index 7eda991..0cbdb0e 100644 --- a/ext/xstats.php +++ b/ext/xstats.php @@ -5,8 +5,8 @@ $img = imagecreate(45, 37); $bg = imagecolorallocate($img, 100, 100, 100); - $num = imagecreatefrompng("digitstiny.png"); - + $num = imagecreatefrompng("images/digitstiny.png"); + $xk = $sql -> fetchq("SELECT * FROM `users` WHERE `id` = '1'"); $thread = $sql -> resultq("SELECT COUNT(`id`) FROM `threads` WHERE `user` = '1'"); diff --git a/favicon.gif b/favicon.gif deleted file mode 100644 index e69de29..0000000 diff --git a/favicon.php b/favicon.php deleted file mode 100644 index 7fd986f..0000000 --- a/favicon.php +++ /dev/null @@ -1,3 +0,0 @@ - - - uh oh - - -
-
This site has been blocked for your protection. -
-
http://insectduel.proboards82.com/ - Reason: fucking stupid -
-
If you are sure you want to visit this site (e.g., for humor), please click the button. -
-
- - - \ No newline at end of file diff --git a/digits4.png b/images/digits4.png similarity index 100% rename from digits4.png rename to images/digits4.png diff --git a/digits8.png b/images/digits8.png similarity index 100% rename from digits8.png rename to images/digits8.png diff --git a/digitstiny.png b/images/digitstiny.png similarity index 100% rename from digitstiny.png rename to images/digitstiny.png diff --git a/favicon-star.ico b/images/favicons/favicon-star.ico similarity index 100% rename from favicon-star.ico rename to images/favicons/favicon-star.ico diff --git a/images/favicons/favicon.ico b/images/favicons/favicon.ico new file mode 100644 index 0000000..ac63051 Binary files /dev/null and b/images/favicons/favicon.ico differ diff --git a/favicon1.ico b/images/favicons/favicon1.ico similarity index 100% rename from favicon1.ico rename to images/favicons/favicon1.ico diff --git a/favicon1x.ico b/images/favicons/favicon1x.ico similarity index 100% rename from favicon1x.ico rename to images/favicons/favicon1x.ico diff --git a/favicon2.ico b/images/favicons/favicon2.ico similarity index 100% rename from favicon2.ico rename to images/favicons/favicon2.ico diff --git a/favicon2x.ico b/images/favicons/favicon2x.ico similarity index 100% rename from favicon2x.ico rename to images/favicons/favicon2x.ico diff --git a/favicon3.ico b/images/favicons/favicon3.ico similarity index 100% rename from favicon3.ico rename to images/favicons/favicon3.ico diff --git a/favicon3x.ico b/images/favicons/favicon3x.ico similarity index 100% rename from favicon3x.ico rename to images/favicons/favicon3x.ico diff --git a/favicon4.ico b/images/favicons/favicon4.ico similarity index 100% rename from favicon4.ico rename to images/favicons/favicon4.ico diff --git a/favicon4x.ico b/images/favicons/favicon4x.ico similarity index 100% rename from favicon4x.ico rename to images/favicons/favicon4x.ico diff --git a/favicon5.ico b/images/favicons/favicon5.ico similarity index 100% rename from favicon5.ico rename to images/favicons/favicon5.ico diff --git a/favicon5x.ico b/images/favicons/favicon5x.ico similarity index 100% rename from favicon5x.ico rename to images/favicons/favicon5x.ico diff --git a/favicon6.ico b/images/favicons/favicon6.ico similarity index 100% rename from favicon6.ico rename to images/favicons/favicon6.ico diff --git a/favicon6x.ico b/images/favicons/favicon6x.ico similarity index 100% rename from favicon6x.ico rename to images/favicons/favicon6x.ico diff --git a/favicon7.ico b/images/favicons/favicon7.ico similarity index 100% rename from favicon7.ico rename to images/favicons/favicon7.ico diff --git a/favicon7x.ico b/images/favicons/favicon7x.ico similarity index 100% rename from favicon7x.ico rename to images/favicons/favicon7x.ico diff --git a/favicon8.ico b/images/favicons/favicon8.ico similarity index 100% rename from favicon8.ico rename to images/favicons/favicon8.ico diff --git a/favicon8x.ico b/images/favicons/favicon8x.ico similarity index 100% rename from favicon8x.ico rename to images/favicons/favicon8x.ico diff --git a/lib/downtime-bmf.php b/lib/downtime-bmf.php index 4162725..7d66139 100644 --- a/lib/downtime-bmf.php +++ b/lib/downtime-bmf.php @@ -1,6 +1,6 @@ The COM Port -- Down - + - + + +
@@ -83,4 +83,4 @@ die(); -?> \ No newline at end of file +?> diff --git a/lib/downtime.php b/lib/downtime.php index 4dfc03a..336aedd 100644 --- a/lib/downtime.php +++ b/lib/downtime.php @@ -1,7 +1,7 @@ Jul -- Temporarily down - + - +
@@ -94,4 +94,4 @@ \ No newline at end of file +?> diff --git a/lib/downtime2.php b/lib/downtime2.php index 1cc6de0..af43bb8 100644 --- a/lib/downtime2.php +++ b/lib/downtime2.php @@ -3,7 +3,7 @@ http_response_code(500); ?>Jul is offline for now - + - +
@@ -93,4 +93,4 @@ die(); -?> \ No newline at end of file +?> diff --git a/lib/function.php b/lib/function.php index fcc99cb..a53f33b 100644 --- a/lib/function.php +++ b/lib/function.php @@ -1266,7 +1266,6 @@ function dofilters($p){ $p=preg_replace("'(https?://.*?photobucket.com/)'si",'images/photobucket.png#\\1',$p); - $p=str_replace("http://insectduel.proboards82.com","http://jul.rustedlogic.net/idiotredir.php?",$p); // $p=str_replace("http://imageshack.us", "imageshit", $p); $p=preg_replace("'http://.{0,3}\.?tinypic\.com'si",'tinyshit',$p); $p=str_replace('',"",$p); @@ -1421,9 +1420,6 @@ function addslashes_array($data) { return "$str"; } - // additional includes - require_once "lib/datetime.php"; - function unescape($in) { diff --git a/lib/layout.php b/lib/layout.php index 0efab18..97e81ac 100644 --- a/lib/layout.php +++ b/lib/layout.php @@ -221,7 +221,6 @@ - Online users
Ranks - Rules/FAQ - - JCS - Stats - Latest Posts - Color Chart @@ -353,7 +352,7 @@ $header1="$windowtitle $metatag - + $css $body diff --git a/digits.png b/numgfx/bigdigits.png similarity index 100% rename from digits.png rename to numgfx/bigdigits.png diff --git a/numgfxbig.php b/numgfxbig.php index b3fe6f2..381dc5d 100644 --- a/numgfxbig.php +++ b/numgfxbig.php @@ -13,7 +13,7 @@ $img = imagecreate(26 * $l, 28); $bg = imagecolorallocate($img, 5, 5, 5); - $num = imagecreatefrompng("digits.png"); + $num = imagecreatefrompng("numgfx/bigdigits.png"); $o = $p; $na = str_split($n); @@ -21,14 +21,13 @@ $x = intval($x); $y = floor($x / 5) * 28; $x = ($x % 5) * 26; - + imagecopy($img, $num, $o * 26, 0, $x, $y, 26, 28); $o++; } - + imagecolortransparent($img, $bg); header("Content-type: image/png"); imagepng($img); imagedestroy($img); imagedestroy($num); - diff --git a/perfdata.php b/perfdata.php deleted file mode 100644 index 266e5e5..0000000 --- a/perfdata.php +++ /dev/null @@ -1,11 +0,0 @@ -"; - - print adminlinkbar("perfdata.php"); - - - - \ No newline at end of file