Hey! I just tried to install Powergamers for 0.3+. Everything works fine except the Exp History. This error I get when I try to enter my Experience History:
Below is how my 19 first rows from exphist looks like:
Below is how my layout.php rows 159-173 looks like (this means the row 173 is just a '}':
Ofcourse rep+ if help! Thanks in advance!
Code:
Fatal error: Cannot redeclare coloured_value() (previously declared in D:\xampp\htdocs\exphist.php:4) in D:\xampp\htdocs\layouts\lay\layout.php on line 173
Below is how my 19 first rows from exphist looks like:
PHP:
<?PHP
$limit = 300;
$type = $_REQUEST['type'];
function coloured_value($valuein)
{
$value2 = $valuein;
while(strlen($value2) > 3)
{
$value .= '.'.substr($value2, -3, 3);
$value2 = substr($value2, 0, strlen($value2)-3);
}
$value = $value2.$value;
if($valuein > 0)
return '<font color="green">+'.$value.'</font>';
elseif($valuein < 0)
return '<font color="red">'.$value.'</font>';
else
return '<font color="black">'.$value.'</font>';
}
Below is how my layout.php rows 159-173 looks like (this means the row 173 is just a '}':
PHP:
{
$value2 = $valuein;
while(strlen($value2) > 3)
{
$value .= '.'.substr($value2, -3, 3);
$value2 = substr($value2, 0, strlen($value2)-3);
}
$value = $value2.$value;
if($valuein > 0)
return '<font color="green">+'.$value.'</font>';
elseif($valuein < 0)
return '<font color="red">'.$value.'</font>';
else
return '<font color="black">'.$value.'</font>';
}
Ofcourse rep+ if help! Thanks in advance!