Move a bunch of files around to clean things up
@ -4,12 +4,12 @@
|
|||||||
header("Cache-Control: no-cache");
|
header("Cache-Control: no-cache");
|
||||||
|
|
||||||
if ($_GET['z']) {
|
if ($_GET['z']) {
|
||||||
die( "<body bgcolor=#111122><META HTTP-EQUIV=REFRESH CONTENT=0;URL=newyear.php?z=". rand(0,9999) ."><center><br><br><br><br><img src=newyear.php width=100%>");
|
die( "<body bgcolor=#111122><META HTTP-EQUIV=REFRESH CONTENT=1;URL=newyear.php?z=". rand(0,9999) ."><center><br><br><br><br><img src=newyear.php width=100%>");
|
||||||
}
|
}
|
||||||
|
|
||||||
// require "lib/function.php";
|
// 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']);
|
$time = microtime(true) + (3600 * $_GET['to']);
|
||||||
$left = $bombday - $time;
|
$left = $bombday - $time;
|
||||||
$left = max(0, $left);
|
$left = max(0, $left);
|
||||||
@ -28,7 +28,7 @@
|
|||||||
// $teststring = "00d00:00:00.01";
|
// $teststring = "00d00:00:00.01";
|
||||||
|
|
||||||
$image = imagecreate(64, 9);
|
$image = imagecreate(64, 9);
|
||||||
$imagenum = imagecreatefrompng("digits8.png");
|
$imagenum = imagecreatefrompng("../images/digits8.png");
|
||||||
$bg = imagecolorallocate($image, 255, 0, 255);
|
$bg = imagecolorallocate($image, 255, 0, 255);
|
||||||
$black = imagecolorallocate($image, 0, 0, 0);
|
$black = imagecolorallocate($image, 0, 0, 0);
|
||||||
|
|
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
chdir("../");
|
||||||
require "lib/function.php";
|
require "lib/function.php";
|
||||||
//$sql->selectdb("sonicret_s2bivb");
|
//$sql->selectdb("sonicret_s2bivb");
|
||||||
|
|
||||||
@ -187,7 +188,7 @@
|
|||||||
function digits($x, $y, $n, $l = 4, $d = 2, $overlay = false) {
|
function digits($x, $y, $n, $l = 4, $d = 2, $overlay = false) {
|
||||||
global $image;
|
global $image;
|
||||||
|
|
||||||
$numimage = imagecreatefrompng("digits4.png");
|
$numimage = imagecreatefrompng("images/digits4.png");
|
||||||
$n = number_format($n, $d);
|
$n = number_format($n, $d);
|
||||||
$n = str_replace(",", "", $n);
|
$n = str_replace(",", "", $n);
|
||||||
$n2 = explode(".", $n);
|
$n2 = explode(".", $n);
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
$img = imagecreate(45, 37);
|
$img = imagecreate(45, 37);
|
||||||
$bg = imagecolorallocate($img, 100, 100, 100);
|
$bg = imagecolorallocate($img, 100, 100, 100);
|
||||||
$num = imagecreatefrompng("digitstiny.png");
|
$num = imagecreatefrompng("images/digitstiny.png");
|
||||||
|
|
||||||
$xk = $sql -> fetchq("SELECT * FROM `users` WHERE `id` = '1'");
|
$xk = $sql -> fetchq("SELECT * FROM `users` WHERE `id` = '1'");
|
||||||
$thread = $sql -> resultq("SELECT COUNT(`id`) FROM `threads` WHERE `user` = '1'");
|
$thread = $sql -> resultq("SELECT COUNT(`id`) FROM `threads` WHERE `user` = '1'");
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
<?php
|
|
||||||
header("Location: favicon". rand(1,8) .".ico");
|
|
||||||
return;
|
|
@ -1,28 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
if (!$_POST['go']) {
|
|
||||||
|
|
||||||
?>
|
|
||||||
<html>
|
|
||||||
<title> uh oh </title>
|
|
||||||
<body style="background: #000 url('images/bombbg.png'); color: #f00;">
|
|
||||||
<font style="font-family: Verdana, sans-serif;">
|
|
||||||
<center>
|
|
||||||
<br><font style="color: #f88; size: 175%;"><big><b>This site has been blocked for <i>your protection</i>.</b></big></font>
|
|
||||||
<br>
|
|
||||||
<br><font style="color: #f55;">http://insectduel.proboards82.com/ - Reason: <b>fucking stupid</b></font>
|
|
||||||
<br>
|
|
||||||
<br>If you are sure you want to visit this site (e.g., for humor), please click the button.
|
|
||||||
<br>
|
|
||||||
<br><form style="margin: 0; padding: 0;" action="idiotredir.php" method="post"><input type="submit" name="go" value="I'm sure" style="border: 1px solid #c99; background: #833; color: #fdd; font-weight: bold; font-family: Verdana, sans-serif; padding: 5px;"><input type="hidden" value="<?php print $_SERVER['QUERY_STRING']; ?>" name="url"></form>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
header("Location: http://insectduel.proboards82.com". $_POST['url']);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
BIN
images/favicons/favicon.ico
Normal file
After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
header("HTTP/1.1 503 Service Unavailable");
|
header("HTTP/1.1 503 Service Unavailable");
|
||||||
?><html><head><title>Jul -- Temporarily down</title>
|
?><html><head><title>Jul -- Temporarily down</title>
|
||||||
<link rel="shortcut icon" href="/favicon3x.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="/images/favicons/favicon3.ico" type="image/x-icon">
|
||||||
<style>
|
<style>
|
||||||
a:link,a:visited,a:active,a:hover{text-decoration:none;font-weight:bold}
|
a:link,a:visited,a:active,a:hover{text-decoration:none;font-weight:bold}
|
||||||
a {
|
a {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
http_response_code(500);
|
http_response_code(500);
|
||||||
|
|
||||||
?><html><head><title>Jul is offline for now</title>
|
?><html><head><title>Jul is offline for now</title>
|
||||||
<link rel="shortcut icon" href="/favicon3.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="/images/favicons/favicon3.ico" type="image/x-icon">
|
||||||
<style>
|
<style>
|
||||||
a:link,a:visited,a:active,a:hover{text-decoration:none;font-weight:bold}
|
a:link,a:visited,a:active,a:hover{text-decoration:none;font-weight:bold}
|
||||||
a {
|
a {
|
||||||
|
@ -1266,7 +1266,6 @@ function dofilters($p){
|
|||||||
$p=preg_replace("'(https?://.*?photobucket.com/)'si",'images/photobucket.png#\\1',$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=str_replace("http://imageshack.us", "imageshit", $p);
|
||||||
$p=preg_replace("'http://.{0,3}\.?tinypic\.com'si",'tinyshit',$p);
|
$p=preg_replace("'http://.{0,3}\.?tinypic\.com'si",'tinyshit',$p);
|
||||||
$p=str_replace('<link href="http://pieguy1372.freeweb7.com/misc/piehills.css" rel="stylesheet">',"",$p);
|
$p=str_replace('<link href="http://pieguy1372.freeweb7.com/misc/piehills.css" rel="stylesheet">',"",$p);
|
||||||
@ -1421,9 +1420,6 @@ function addslashes_array($data) {
|
|||||||
return "<marquee scrollamount='". mt_rand(1, 50) ."' scrolldelay='". mt_rand(1, 50) ."' direction='". pick_any(array("left", "right")) ."'>$str</marquee>";
|
return "<marquee scrollamount='". mt_rand(1, 50) ."' scrolldelay='". mt_rand(1, 50) ."' direction='". pick_any(array("left", "right")) ."'>$str</marquee>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// additional includes
|
|
||||||
require_once "lib/datetime.php";
|
|
||||||
|
|
||||||
|
|
||||||
function unescape($in) {
|
function unescape($in) {
|
||||||
|
|
||||||
|
@ -221,7 +221,6 @@
|
|||||||
- <a href='online.php'>Online users</a><br>
|
- <a href='online.php'>Online users</a><br>
|
||||||
<a href='ranks.php'>Ranks</a>
|
<a href='ranks.php'>Ranks</a>
|
||||||
- <a href='faq.php'>Rules/FAQ</a>
|
- <a href='faq.php'>Rules/FAQ</a>
|
||||||
- <a href='acs.php'>JCS</a>
|
|
||||||
- <a href='stats.php'>Stats</a>
|
- <a href='stats.php'>Stats</a>
|
||||||
- <a href='latestposts.php'>Latest Posts</a>
|
- <a href='latestposts.php'>Latest Posts</a>
|
||||||
- <a href='hex.php' title='Color Chart' class='popout' target='_blank'>Color Chart</a>
|
- <a href='hex.php' title='Color Chart' class='popout' target='_blank'>Color Chart</a>
|
||||||
@ -353,7 +352,7 @@
|
|||||||
|
|
||||||
$header1="<html><head><meta http-equiv='Content-type' content='text/html; charset=utf-8'><meta name='viewport' content='width=device-width, initial-scale=1'><title>$windowtitle</title>
|
$header1="<html><head><meta http-equiv='Content-type' content='text/html; charset=utf-8'><meta name='viewport' content='width=device-width, initial-scale=1'><title>$windowtitle</title>
|
||||||
$metatag
|
$metatag
|
||||||
<link rel=\"shortcut icon\" href=\"/favicon". (!$x_hacks['host'] ? rand(1,8) ."" : "" ) .".ico\" type=\"image/x-icon\">
|
<link rel=\"shortcut icon\" href=\"/images/favicons/favicon". (!$x_hacks['host'] ? rand(1,8) ."" : "" ) .".ico\" type=\"image/x-icon\">
|
||||||
$css
|
$css
|
||||||
</head>
|
</head>
|
||||||
$body
|
$body
|
||||||
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
$img = imagecreate(26 * $l, 28);
|
$img = imagecreate(26 * $l, 28);
|
||||||
$bg = imagecolorallocate($img, 5, 5, 5);
|
$bg = imagecolorallocate($img, 5, 5, 5);
|
||||||
$num = imagecreatefrompng("digits.png");
|
$num = imagecreatefrompng("numgfx/bigdigits.png");
|
||||||
$o = $p;
|
$o = $p;
|
||||||
|
|
||||||
$na = str_split($n);
|
$na = str_split($n);
|
||||||
@ -31,4 +31,3 @@
|
|||||||
imagepng($img);
|
imagepng($img);
|
||||||
imagedestroy($img);
|
imagedestroy($img);
|
||||||
imagedestroy($num);
|
imagedestroy($num);
|
||||||
|
|
||||||
|
11
perfdata.php
@ -1,11 +0,0 @@
|
|||||||
<?php
|
|
||||||
require 'lib/function.php';
|
|
||||||
require 'lib/layout.php';
|
|
||||||
if (!$isadmin) { die(); }
|
|
||||||
print "$header<br>";
|
|
||||||
|
|
||||||
print adminlinkbar("perfdata.php");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|