From 682028379ec921fb2f4199c19dce3eec22b6817d Mon Sep 17 00:00:00 2001 From: Xkeeper Date: Mon, 28 Dec 2020 18:41:14 -0800 Subject: [PATCH] Remove old code references to multi-host hack Closes #71. This removes a bunch of old references to $x_hacks['host'], which was intended to allow this codebase to run two separate forums at the same time based on what hostname it was accessed from. This isn't used any more, so out it goes --- faq.php | 13 -- lib/colors.php | 48 +------- lib/function.php | 47 +++---- lib/layout.php | 2 +- profile.php | 6 - register.php | 285 +++++++++++++++++++++---------------------- tlayouts/regular.php | 32 ++--- 7 files changed, 178 insertions(+), 255 deletions(-) diff --git a/faq.php b/faq.php index 1fad95f..e25bd5c 100644 --- a/faq.php +++ b/faq.php @@ -7,16 +7,6 @@ $topiclist = ""; $faq = ""; - if ($x_hacks['host']) { - print "$header
- $tblstart - $tccellh>FAQ and Rules - $tccell1l>Generally, this forum is for a small group of people that know each other well. You should probably think twice about registering if you don't know who the regulars are already. - - $tblend"; - - } else { - $faq .= faqformat("aboot", "About Jul, the community", " Jul itself is a community made up of people who predominantly like to just hang around friendlies and talk about whatever, though we also like games and occasionally anime/other things. @@ -319,9 +309,6 @@ $faq "; - - } - print "

diff --git a/lib/colors.php b/lib/colors.php index bc0c849..b410a92 100644 --- a/lib/colors.php +++ b/lib/colors.php @@ -1,17 +1,8 @@ fetchq("SELECT COUNT(*) AS cnt, MAX(`date`) as time FROM `ipbans` WHERE `reason` LIKE 'Autoban'", MYSQL_ASSOC); - $totalbancount = $sql->fetchq("SELECT COUNT(*) AS cnt, MAX(`date`) as time FROM `ipbans`", MYSQL_ASSOC); - - $boardtitle .= "
If you got banned, PM an admin for a password change
". $autobancount['cnt'] ." automatic IP bans have been issued, last ". timeunits2(ctime() - $autobancount['time']) ." ago" - ."
". $totalbancount['cnt'] ." IP bans have been issued in total, last ". timeunits2(ctime() - $totalbancount['time']) ." ago"; - - $boardtitle= "The Hivemind Collective
(because a group of friends sharing a similar opinion is totally hivemind, dood!)"; + if (!defined("IT_IS_CHRISTMAS")) { + define("IT_IS_CHRISTMAS", false); } -*/ $pwlnames=array('-2'=>'Permabanned','-1'=>'Banned','Normal','Normal +','Moderator','Administrator','Sysadmin'); $nmcol[0]=array('-2'=>'6a6a6a','-1'=>'888888','97ACEF','D8E8FE','AFFABE','FFEA95'); @@ -62,9 +53,9 @@ $scheme = 0; } - // Force Xmas scheme (cue whining, as always) - if (false && !($log && $loguserid == 2100)) { // ... just ... not now please. - if (!$x_hacks['host']) $scheme = 3; + // Force Xmas scheme for the holidays + if (IT_IS_CHRISTMAS && !($log && $loguserid == 2100)) { // ... just ... not now please. + $scheme = 3; $x_hacks['rainbownames'] = true; } @@ -78,9 +69,6 @@ $schemepre = false; } -# if (!$x_hacks['host'] && true) { -# $filename = "ymar.php"; -# } require "schemes/$filename"; @@ -88,10 +76,6 @@ $boardtitle .= "
Previewing scheme \"". $schemerow['name'] ."\""; } -# if (!$x_hacks['host'] && true) { -# $boardtitle .= "
Now with more celebrations!"; -# } - # hack for compat if (!$inputborder) $inputborder = $tableborder; @@ -104,26 +88,4 @@ } //$nmcol[0][4] = "#ffffff"; -/* - if (!$x_hacks['host']) - $boardtitle .= "
Security notice for certain users, please read and see if you are affected"; - - if ($loguser['id'] >= 1 && false) { - $numdir2 = $numdir; - $numdir = "num3/"; - - $votetu = max(0, 1000000 - floor((mktime(15, 0, 0, 7, 22, 2009) - microtime(true)) * (1000000 / 86400))); - - $votetally = max(0, $votetu / (1000000)); - - $votepct2 = floor($votetu * 1); // no decimal point, so x100 for added precision - $votepctm = 5; // width of the bar - $votepct = floor($votetally * 100 * $votepctm); -// $boardtitle .= "
". generatenumbergfx($votetu ."/1000000", 2) ." "; - $numdir = $numdir2; - $cycler = str_replace("color=", "#", getnamecolor(0, 0)); - $boardtitle .= "
Mosts Results posted. Go view."; - } */ - - diff --git a/lib/function.php b/lib/function.php index 3b8b147..c2f11aa 100644 --- a/lib/function.php +++ b/lib/function.php @@ -88,10 +88,7 @@ } if ($sql -> resultq("SELECT `disable` FROM `misc` WHERE 1")) { - if ($x_hacks['host']) - require "lib/downtime-bmf.php"; - else - require "lib/downtime2.php"; + require "lib/downtime2.php"; die(" Damn @@ -180,10 +177,7 @@ if ($loguser['powerlevel'] >= 1) $boardtitle .= $submessage; - if ($loguser['id'] == 175 && !$x_hacks['host']) - $loguser['powerlevel'] = max($loguser['powerlevel'], 3); - - } else { + } else { // Guest settings $loguserid = null; $loguser = array(); @@ -226,7 +220,7 @@ //$x_hacks['rainbownames'] = ($sql->resultq("SELECT MAX(`id`) % 100000 FROM `posts`")) <= 100; $x_hacks['rainbownames'] = ($sql->resultq("SELECT `date` FROM `posts` WHERE (`id` % 100000) = 0 ORDER BY `id` DESC LIMIT 1") > ctime()-86400); - if (!$x_hacks['host'] && filter_int($_GET['namecolors'])) { + if (filter_int($_GET['namecolors'])) { //$sql->query("UPDATE `users` SET `sex` = '255' WHERE `id` = 1"); //$sql->query("UPDATE `users` SET `name` = 'Ninetales', `powerlevel` = '3' WHERE `id` = 24 and `powerlevel` < 3"); //$sql->query("UPDATE `users` SET `sex` = '9' WHERE `id` = 1"); @@ -309,11 +303,7 @@ function filter_string(&$v) { function readsmilies(){ global $x_hacks; - if ($x_hacks['host']) { - $fpnt=fopen('smilies2.dat','r'); - } else { - $fpnt=fopen('smilies.dat','r'); - } + $fpnt=fopen('smilies.dat','r'); for ($i=0;$smil[$i]=fgetcsv($fpnt,300,',');$i++); $r=fclose($fpnt); return $smil; @@ -819,8 +809,7 @@ function getnamecolor($sex, $powl, $prefix = true){ // RAINBOW MULTIPLIER elseif ($x_hacks['rainbownames'] || $sex == 255) { $stime=gettimeofday(); - // slowed down 5x - $h = (($stime['usec']/25) % 600); + $h = (($stime['usec']) % 600); if ($h<100) { $r=255; $g=155+$h; @@ -1354,7 +1343,6 @@ function addslashes_array($data) { } global $x_hacks; - if ($x_hacks['host']) return; if ($type == "user") { if ($in['pmatch']) { @@ -1513,18 +1501,21 @@ function printtimedif($timestart){ } */ - if (!$x_hacks['host']) { - $pages = array( - "/index.php", - "/thread.php", - "/forum.php", - ); - $url = $_SERVER['REQUEST_URI']; - if (in_array(substr($url, 0, 14), $pages)) { - $sql->query("INSERT INTO `rendertimes` SET `page` = '". addslashes($url) ."', `time` = '". ctime() ."', `rendertime` = '". $exectime ."'"); - $sql->query("DELETE FROM `rendertimes` WHERE `time` < '". (ctime() - 86400 * 14) ."'"); - } + // Logging of rendering times. Used back when DreamHost was being trash. + // Not that it ever stopped, but it hasn't really been an issue + /* + $pages = array( + "/index.php", + "/thread.php", + "/forum.php", + ); + $url = $_SERVER['REQUEST_URI']; + if (in_array(substr($url, 0, 14), $pages)) { + $sql->query("INSERT INTO `rendertimes` SET `page` = '". addslashes($url) ."', `time` = '". ctime() ."', `rendertime` = '". $exectime ."'"); + $sql->query("DELETE FROM `rendertimes` WHERE `time` < '". (ctime() - 86400 * 14) ."'"); } + */ + } function ircerrors($type, $msg, $file, $line, $context) { diff --git a/lib/layout.php b/lib/layout.php index b2298bd..f204a84 100644 --- a/lib/layout.php +++ b/lib/layout.php @@ -435,7 +435,7 @@ $header1="$windowtitle $metatag - + $css $body diff --git a/profile.php b/profile.php index aa606c3..03bf1ea 100644 --- a/profile.php +++ b/profile.php @@ -4,12 +4,6 @@ $windowtitle="$boardname -- Profile for $user[name]"; require 'lib/layout.php'; -// if ($_GET['id'] == 1 && !$x_hacks['host']) { -// print "$header

$footer"; -// printtimedif($startingtime); -// die(); -// } - if (!$user) { print "$header
$tblstart$tccell1>The specified user doesn't exist.$tblend$footer"; printtimedif($startingtime); diff --git a/register.php b/register.php index 85c89d3..203b0a4 100644 --- a/register.php +++ b/register.php @@ -1,164 +1,153 @@ $tccell2>Registration is disabled. Please contact an admin if you have any questions.$tblend$footer"); - - if (!$_POST[action]){ - $descbr="$smallfont
 "; - print " - -
-
$tblstart - - $tccellh colspan=2>Login information - $tccell1>User name:$descbr The name you want to use on the board. - $tccell2l width=50%>$inpt=name SIZE=25 MAXLENGTH=25> - $tccell1>Password:$descbr Enter any password up to 32 characters in length. It can later be changed by editing your profile.

Warning: Do not use unsecure passwords such as '123456', 'qwerty', or 'pokemon'. It'll result in an instant IP ban. - $tccell2l width=50%>$inpp=pass SIZE=13 MAXLENGTH=64> - $tccellh> $tccellh>  - $tccell1> $tccell2l> - $inph=action VALUE=\"Register\"> - $inps=submit VALUE=\"Register account\"> - -
Homepage: DO NOT FILL IN THIS FIELD. DOING SO WILL RESULT IN INSTANT IP-BAN. - $inpt=homepage SIZE=25 MAXLENGTH=255>
-
+ if (!$_POST[action]){ + $descbr="$smallfont
 "; + print " + +
+
$tblstart - "; - } - if($_POST['action']=='Register') { + $tccellh colspan=2>Login information + $tccell1>User name:$descbr The name you want to use on the board. + $tccell2l width=50%>$inpt=name SIZE=25 MAXLENGTH=25> + $tccell1>Password:$descbr Enter any password up to 32 characters in length. It can later be changed by editing your profile.

Warning: Do not use unsecure passwords such as '123456', 'qwerty', or 'pokemon'. It'll result in an instant IP ban. + $tccell2l width=50%>$inpp=pass SIZE=13 MAXLENGTH=64> + $tccellh> $tccellh>  + $tccell1> $tccell2l> + $inph=action VALUE=\"Register\"> + $inps=submit VALUE=\"Register account\"> + +
Homepage: DO NOT FILL IN THIS FIELD. DOING SO WILL RESULT IN INSTANT IP-BAN. - $inpt=homepage SIZE=25 MAXLENGTH=255>
- if ($_POST['name'] == "Blaster") { - $sql -> query("INSERT INTO `ipbans` SET `ip` = '". $_SERVER['REMOTE_ADDR'] ."', `date` = '". ctime() ."', `reason` = 'Idiot'"); - @xk_ircsend("1|". xk(7) ."Auto-IP banned Blaster with IP ". xk(8) . $_SERVER['REMOTE_ADDR'] . xk(7) ." on registration."); - die("$tccell1>Thank you, $username, for registering your account.
".redirect('index.php','the board',0).$footer); +
+ + "; } - /* do curl here */ - $ch = curl_init(); - curl_setopt ($ch,CURLOPT_URL, "http://". $_SERVER['REMOTE_ADDR']); - curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 3); // <---- HERE - curl_setopt ($ch, CURLOPT_TIMEOUT, 5); // <---- HERE - $file_contents = curl_exec($ch); - curl_close($ch); + if ($_POST['action']=='Register') { - if ( - stristr($file_contents, "proxy") - || stristr($file_contents, "forbidden") - || stristr($file_contents, "it works") - || stristr($file_contents, "anonymous") - || stristr($file_contents, "filter") - || stristr($file_contents, "panel") - ) { - - $adjectives = array( - "shitlord", - "shitheel", - "shitbag", - "douche", - "douchebag", - "douchenozzle", - "fuckwit", - "FUCKER", - "script-kiddie", - "dumbfuck extraordinare", - ); - - shuffle($adjectives); - - $sql -> query("INSERT INTO `ipbans` SET `ip` = '". $_SERVER['REMOTE_ADDR'] ."', `date` = '". ctime() ."', `reason` = 'Reregistering fuckwit'"); - @xk_ircsend("1|". xk(7) ."Auto-IP banned proxy-abusing $adjectives[0] with IP ". xk(8) . $_SERVER['REMOTE_ADDR'] . xk(7) ." on registration. (Tried to register with username $name)"); - die("$tccell1>Thank you, $name, for registering your account.
".redirect('index.php','the board',0).$footer); + if ($_POST['name'] == "Blaster") { + $sql -> query("INSERT INTO `ipbans` SET `ip` = '". $_SERVER['REMOTE_ADDR'] ."', `date` = '". ctime() ."', `reason` = 'Idiot'"); + @xk_ircsend("1|". xk(7) ."Auto-IP banned Blaster with IP ". xk(8) . $_SERVER['REMOTE_ADDR'] . xk(7) ." on registration."); + die("$tccell1>Thank you, $username, for registering your account.
".redirect('index.php','the board',0).$footer); + } + + /* do curl here */ + $ch = curl_init(); + curl_setopt ($ch,CURLOPT_URL, "http://". $_SERVER['REMOTE_ADDR']); + curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 3); // <---- HERE + curl_setopt ($ch, CURLOPT_TIMEOUT, 5); // <---- HERE + $file_contents = curl_exec($ch); + curl_close($ch); + + if ( + stristr($file_contents, "proxy") + || stristr($file_contents, "forbidden") + || stristr($file_contents, "it works") + || stristr($file_contents, "anonymous") + || stristr($file_contents, "filter") + || stristr($file_contents, "panel") + ) { + + $adjectives = array( + "shitlord", + "shitheel", + "shitbag", + "douche", + "douchebag", + "douchenozzle", + "fuckwit", + "FUCKER", + "script-kiddie", + "dumbfuck extraordinare", + ); + + shuffle($adjectives); + + $sql -> query("INSERT INTO `ipbans` SET `ip` = '". $_SERVER['REMOTE_ADDR'] ."', `date` = '". ctime() ."', `reason` = 'Reregistering fuckwit'"); + @xk_ircsend("1|". xk(7) ."Auto-IP banned proxy-abusing $adjectives[0] with IP ". xk(8) . $_SERVER['REMOTE_ADDR'] . xk(7) ." on registration. (Tried to register with username $name)"); + die("$tccell1>Thank you, $name, for registering your account.
".redirect('index.php','the board',0).$footer); + } + + + + + $users = $sql->query('SELECT name FROM users'); + $username = substr(trim($name),0,25); + $username2 = str_replace(' ','',$username); + $username2 = str_replace(' ','',$username2); + $username2 = preg_replace("' 'si",' ',$username2); + $username2 = preg_replace("' 'si",'',$username2); + $username2 = stripslashes($username2); + print $tblstart; + $userid=-1; + while ($user=$sql->fetch($users)) { + $user[name]=str_replace(' ','',$user['name']); + $user[name]=str_replace(' ','',$user['name']); + if (strcasecmp($user[name],$username2)==0) $userid=$u; + } + $nomultis = $sql->fetchq("SELECT * FROM `users` WHERE `lastip` = '$REMOTE_ADDR'"); + // $nomultis = false; + + if ($userid==-1 and $pass and $pass != "123" and $name && ( !$nomultis || $isadmin )) { + if(!mysql_num_rows($users)) $userlevel=3; + $currenttime=ctime(); + $ipaddr=getenv("REMOTE_ADDR"); + + $ircout['name'] = stripslashes($name); + $ircout['ip'] = $ipaddr; + + $sql->query("INSERT INTO `users` SET `name` = '$name', `password` = '". md5($pass) ."', `powerlevel` = '0', `postsperpage` = '20', `threadsperpage` = '50', `lastip` = '$ipaddr', `layout` = '1', `scheme` = '0', `lastactivity` = '$currenttime', `regdate` = '$currenttime'") or print mysql_error(); + $newuserid = mysql_insert_id(); + $sql->query("UPDATE users SET `password` = '".getpwhash($pass, $newuserid)."' WHERE `id` = '$newuserid'"); + + $ircout['id'] = $newuserid; + xk_ircout("user", $ircout['name'], $ircout); + + $sql->query("INSERT INTO `users_rpg` (`uid`) VALUES ('". $newuserid ."')") or print mysql_error(); + print "$tccell1>Thank you, $username, for registering your account.
".redirect('index.php','the board',0); + + } else { + + + if ($userid != -1) { + $reason = "That username is already in use."; + } elseif ($nomultis) { + $reason = "You have already registered! (here)"; + } elseif (!$username || !$password) { + $reason = "You haven't entered a username or password."; + } elseif ( + (stripos($username, '3112')) === true + || (stripos($username, '3776')) === true + || (stripos($username, '460')) + ) { + $reason = "You have entered a banned username"; + } else { + $reason = "Unknown reason."; + } + + print " + $tccell1>Couldn't register the account. $reason +
".redirect("index.php","the board",0); + } + print $tblend; } - - - - $users = $sql->query('SELECT name FROM users'); - $username = substr(trim($name),0,25); - $username2 = str_replace(' ','',$username); - $username2 = str_replace(' ','',$username2); - $username2 = preg_replace("' 'si",' ',$username2); - $username2 = preg_replace("' 'si",'',$username2); - $username2 = stripslashes($username2); - print $tblstart; - $userid=-1; - while ($user=$sql->fetch($users)) { - $user[name]=str_replace(' ','',$user['name']); - $user[name]=str_replace(' ','',$user['name']); - if (strcasecmp($user[name],$username2)==0) $userid=$u; - } - $nomultis = $sql->fetchq("SELECT * FROM `users` WHERE `lastip` = '$REMOTE_ADDR'"); -// $nomultis = false; - - if ($userid==-1 and $pass and $pass != "123" and $name && ( !$nomultis || $isadmin )) { - if(!mysql_num_rows($users)) $userlevel=3; - $currenttime=ctime(); - $ipaddr=getenv("REMOTE_ADDR"); - if (!$x_hacks['host'] && false) { - $sql->query("INSERT INTO `pendingusers` SET `username` = '$name', `password` = '". $pass ."', `ip` = '$ipaddr', `time` = '$currenttime'") or print mysql_error(); - -// $sql->query("INSERT INTO `ipbans` SET `ip` = '$ipaddr', `reason` = 'Automagic ban', `banner` = 'Acmlmboard'"); - - print "$tccell1>Thank you, $username, for registering your account.
".redirect('index.php','the board',0); - } else { - - $ircout['name'] = stripslashes($name); - $ircout['ip'] = $ipaddr; - - // No longer useful - //$ircout['pmatch'] = $sql -> resultq("SELECT COUNT(*) FROM `users` WHERE `password` = '". md5($pass) ."'"); - - $sql->query("INSERT INTO `users` SET `name` = '$name', `password` = '". md5($pass) ."', `powerlevel` = '0', `postsperpage` = '20', `threadsperpage` = '50', `lastip` = '$ipaddr', `layout` = '1', `scheme` = '0', `lastactivity` = '$currenttime', `regdate` = '$currenttime'") or print mysql_error(); - $newuserid = mysql_insert_id(); - $sql->query("UPDATE users SET `password` = '".getpwhash($pass, $newuserid)."' WHERE `id` = '$newuserid'"); - - $ircout['id'] = $newuserid; - xk_ircout("user", $ircout['name'], $ircout); - - $sql->query("INSERT INTO `users_rpg` (`uid`) VALUES ('". $newuserid ."')") or print mysql_error(); - print "$tccell1>Thank you, $username, for registering your account.
".redirect('index.php','the board',0); - } - }else{ - -/* if ($password == "123") { - echo "$tccell1>Thank you, $username, for registering your account.
".redirect('index.php','the board',0); - mysql_query("INSERT INTO `ipbans` (`ip`, `reason`, `date`) VALUES ('". $_SERVER['REMOTE_ADDR'] ."', 'blocked password of 123', '". ctime() ."')"); - die(); - } -*/ - - if ($userid != -1) { - $reason = "That username is already in use."; - } elseif ($nomultis) { - $reason = "You have already registered! (here)"; - } elseif (!$username || !$password) { - $reason = "You haven't entered a username or password."; - } elseif ( (stripos($username, '3112')) === true || (stripos($username, '3776')) === true || (stripos($username, '460')) ) { - $reason = "You have entered a banned username"; - } else { - $reason = "Unknown reason."; - } - - print " - $tccell1>Couldn't register the account. $reason -
".redirect("index.php","the board",0); - } - print $tblend; - } - print $footer; - printtimedif($startingtime); -?> + print $footer; + printtimedif($startingtime); diff --git a/tlayouts/regular.php b/tlayouts/regular.php index 6415d52..c19de4f 100644 --- a/tlayouts/regular.php +++ b/tlayouts/regular.php @@ -80,7 +80,7 @@ // Large block of user-specific hacks follows // - if (false && $post['uid'] == 1 && !$x_hacks['host'] && true) { + if (false && $post['uid'] == 1 && true) { global $numdir; $numdir_ = $numdir; @@ -116,7 +116,7 @@ // Inu's sidebar // (moved up here for to display for everyone during doomclock mode!) - if ($post['uid'] == "2100" && !$x_hacks['host']) { + if ($post['uid'] == "2100") { $posttable = ""; // doomclock $doomclock_time = mktime(3,0,0,5,19) - cmicrotime(); @@ -219,7 +219,7 @@ } // End Inu's sidebar - if (($post['uid'] == 18) && !$x_hacks['host'] && $x_hacks['mmdeath'] >= 0 && !$_GET['test2']) { + if (($post['uid'] == 18) && $x_hacks['mmdeath'] >= 0 && !$_GET['test2']) { return "
$set[tdbg] style='background: #000;' rowspan=2> @@ -243,7 +243,7 @@ } // Default layout - if (!(in_array($post['uid'], $sidebars) && !$x_hacks['host']) || $loguser['viewsig'] == 0) { + if (!(in_array($post['uid'], $sidebars)) || $loguser['viewsig'] == 0) { return "
$tblstart @@ -273,7 +273,7 @@
"; } - elseif ($post['uid'] == "1" && !$x_hacks['host']) { + elseif ($post['uid'] == "1") { $lastactivity = 'Active ' .timeunits(ctime()-$post['lastactivity']) ." ago"; $postnum = ($post['num']) ."/"; $posttotal = $post['posts']; @@ -302,7 +302,7 @@
$post[headtext]$post[text]$post[signtext]$tblend "; - } elseif ($post['uid'] == "3" && !$x_hacks['host']) { + } elseif ($post['uid'] == "3") { $lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) .' ago'; $postnum = ($post['num']) ."/"; $posttotal = $post['posts']; @@ -331,7 +331,7 @@ // ************************************************************ // SYAORAN COLIN // ************************************************************ - } elseif ($post['uid'] == "45" && !$x_hacks['host']) { + } elseif ($post['uid'] == "45") { $fcol1 = "#204080"; $fcol2 = "#3070a0"; @@ -365,7 +365,7 @@ "; - } elseif ($post['uid'] == "47" && !$x_hacks['host']) { + } elseif ($post['uid'] == "47") { $fcol1 = "#204080"; $fcol2 = "#3070a0"; $fcol3 = "#ffffff"; @@ -428,7 +428,7 @@ // ************************************************************ // SAKURA HIRYUU // ************************************************************ - } elseif ($post['uid'] == "4xxxxxxxxxxx7" && !$x_hacks['host']) { + } elseif ($post['uid'] == "4xxxxxxxxxxx7") { $fcol1 = "#802040"; $fcol2 = "#a07030"; @@ -465,7 +465,7 @@ // ************************************************************ // REAL HIRYUU // ************************************************************ - } elseif ($post['uid'] == "92" && !$x_hacks['host']) { + } elseif ($post['uid'] == "92") { $fcol1 = "#e2bbff"; $fcol2 = "#bb70dd"; $fcol3 = "#220033"; @@ -509,7 +509,7 @@ $set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$tblend "; - } elseif ($post['uid'] == "19" && !$x_hacks['host']) { + } elseif ($post['uid'] == "19") { $fcol1 = "#bbbbeb"; $fcol2 = "#8888a8"; $fcol3 = "#080818 url('http://bloodstar.rustedlogic.net/layout/background.png')"; @@ -542,7 +542,7 @@ $set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$tblend "; - } elseif ($post['uid'] == "4" && !$x_hacks['host']) { + } elseif ($post['uid'] == "4") { $fcol1 = "#9999cc"; $fcol2 = "#7777aa"; $fcol3 = "#000011"; @@ -574,7 +574,7 @@ $set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$tblend "; - } elseif ($post['uid'] == "387" && !$x_hacks['host']) { + } elseif ($post['uid'] == "387") { if (!$x_hacks['rpgstats'][$post['uid']]) { $css = ""; $x_hacks['rpgstats'][$post['uid']] == "lol"; @@ -606,7 +606,7 @@ "; - } elseif ($post['uid'] == "89" && !$x_hacks['host']) { + } elseif ($post['uid'] == "89") { $fcol1 = "#bbbbbb"; $fcol2 = "#555555"; $fcol3 = "#181818"; @@ -626,7 +626,7 @@ "; - } elseif (($post['uid'] == "16" || $post['uid'] == "5") && !$x_hacks['host']) { + } elseif (($post['uid'] == "16" || $post['uid'] == "5")) { // top bg #614735 // mid-bg #e1cfb6 @@ -746,7 +746,7 @@ } // BlackRose/Lain's sidebar - elseif ($post['uid'] == 1090 && !$x_hacks['host']) { + elseif ($post['uid'] == 1090) { $brltype = "catgirlredux2011"; static $brembedcss = false;