Hi there
You see this part the part i have made yellow and bold i think you will find thats the problem.
''.TABLE_PREFIX.'
PHP Code:
version for the right syntax to use near ''.TABLE_PREFIX.' league_news' at line 1
then look at bit closer it tells you were the problem is and i think you will find it should look like this.
From line 95
PHP Code:
$db->query_write("DROP TABLE IF EXISTS ".TABLE_PREFIX."league_news");
If yours does not look like this change that part to this.