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!)";
}
*/
$pwlnames=array('-2'=>'Permabanned','-1'=>'Banned','Normal','Normal +','Moderator','Administrator','Sysadmin');
$nmcol[0]=array('-2'=>'6a6a6a','-1'=>'888888','97ACEF','D8E8FE','AFFABE','FFEA95');
$nmcol[1]=array('-2'=>'767676','-1'=>'888888','F185C9','FFB3F3','C762F2','C53A9E');
$nmcol[2]=array('-2'=>'767676','-1'=>'888888','7C60B0','EEB9BA','47B53C','F0C413');
$linkcolor='FFD040';
$linkcolor2='F0A020';
$linkcolor3='FFEA00';
$linkcolor4='FFFFFF';
$textcolor='E0E0E0';
$font ='Verdana, sans-serif';
$font2 ='Verdana, sans-serif';
$font3 ='Tahoma, sans-serif';
$newpollpic = '
';
$newreplypic = '
';
$newthreadpic = '
';
$closedpic = '
';
$numdir ='jul/';
$statusicons['new'] = '
';
$statusicons['newhot'] = '
';
$statusicons['newoff'] = '
';
$statusicons['newhotoff'] = '
';
$statusicons['hot'] = '
';
$statusicons['hotoff'] = '
';
$statusicons['off'] = '
';
$statusicons['getnew'] = '
';
$statusicons['getlast'] = '
';
$statusicons['sticky'] = 'Sticky:';
$statusicons['poll'] = 'Poll:';
$statusicons['stickypoll'] = 'Sticky poll:';
$schemetime = -1; // mktime(9, 0, 0) - time();
// $numfil='numnes';
$schemepre = false;
$scheme = filter_int($scheme);
if (isset($_GET['scheme']) && is_numeric($_GET['scheme'])) {
$scheme = intval($_GET['scheme']);
$schemepre = true;
} elseif (isset($_GET['scheme'])) {
$scheme = 0;
}
// Force Xmas scheme (cue whining, as always)
if (false && !($log && $loguserid == 2100)) { // ... just ... not now please.
if (!$x_hacks['host']) $scheme = 3;
$x_hacks['rainbownames'] = true;
}
$schemerow = $sql -> fetchq("SELECT `name`, `file` FROM schemes WHERE id='$scheme'");
$filename = "";
if ($schemerow) {
$filename = $schemerow['file'];
} else {
$filename = "night.php";
$schemepre = false;
}
# if (!$x_hacks['host'] && true) {
# $filename = "ymar.php";
# }
require "schemes/$filename";
if ($schemepre) {
$boardtitle .= "
Previewing scheme \"". $schemerow['name'] ."\"";
}
# if (!$x_hacks['host'] && true) {
# $boardtitle .= "
Now with more celebrations!";
# }
# hack for compat
if (!$inputborder) $inputborder = $tableborder;
$newpic = $statusicons['new']; # hack for compat
if ($loguser['powerlevel'] <= 0) {
$nmcol[0][1] = $nmcol[0][0];
$nmcol[1][1] = $nmcol[1][0];
$nmcol[2][1] = $nmcol[2][0];
}
//$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.";
} */