When you decode the original pasted above it is more base_64 code. I had to decode it more than 40 times. I wrote a little script that did all the work for me though.
The final output is:
PHP Code:
include("../config.php");
$bgcolor = $_SESSION['bracketsbgcolor'];
$bordercolor = $_SESSION['bracketsborder'];
if($bgcolor == "") { $bgcolor = "black"; }
if($bordercolor == "") { $bordercolor = "white"; }
echo "
<html>
<head>
<title>Chatboard</title>
<link rel='stylesheet' type='text/css' href='../themes/$theme/style.css'>
<style>
scrollbar-3d-light-color:$bgcolor;
scrollbar-arrow-color:$bordercolor;
scrollbar-base-color:$bordercolor;
scrollbar-dark-shadow-color:white;
scrollbar-face-color:000000;
scrollbar-highlight-color:$bgcolor;
scrollbar-shadow-color:$bordercolor;
</style>
</head>
<body topmargin='1' leftmargin='1'>
<table border='1' bordercolor='$bgcolor' width='140' cellspacing='1' cellpadding='1'>
";
$query = "SELECT * FROM {$dbprefix}news WHERE type = 'chatboard' ORDER BY id DESC";
$result = mysql_query($query)
or die(mysql_error());
while($row = mysql_fetch_array($result))
{
extract($row);
foreach($row AS $key => $value) { ${$key} = textFilter($value); }
$dispname = addslashes(textFilter(getMemberInfoByID("username", $poster)));
echo "
<tr>
<td class='main' bordercolor='$bordercolor'>
<b>$dispname:</b><br>
$content
</td>
</tr>
";
}
echo "</table>";
Now the question is, why and what are you decrypting?