Code: Select all
Parse error: syntax error, unexpected $end in /public_html/includes/template.php(187) : eval()'d code on line 147
Little late to the party...that error has to do with a mismatched <!-- ENDIF -->iCode86 wrote:Just installed this mod and now i get the following when i click on a members profileNot very good with this php lark so im unsure what this means. Any ideas?Code: Select all
Parse error: syntax error, unexpected $end in /public_html/includes/template.php(187) : eval()'d code on line 147
Code: Select all
}
$db->sql_freeresult($result);
}
// BEGIN BAN TEST
$sql = 'SELECT b.*, u.user_id
FROM ' . BANLIST_TABLE . ' b, ' . USERS_TABLE . ' u
WHERE (b.ban_end >= ' . time() . '
OR b.ban_end = 0)';
$result = $db->sql_query($sql);
$ban_list = array();
while ($row2 = $db->sql_fetchrow($result))
{
$ban_list[] = $row2['ban_userid'];
}
$db->sql_freeresult($result);
// END BAN TEST
unset($id_cache);
Code: Select all
'U_PROFILE' => $user_cache[$poster_id]['profile'],
'U_SEARCH' => $user_cache[$poster_id]['search'],
'S_USERID_BANNED' => (in_array($poster_id, $ban_list)) ? true : false,
Code: Select all
<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
<!-- IF postrow.S_USERID_BANNED --><dd><strong>{L_CURRENTLY_BANNED}</strong></dd><!-- ELSEIF postrow.POSTER_WARNINGS --><dd><strong>{L_WARNINGS}:</strong> {postrow.POSTER_WARNINGS}</dd><!-- ENDIF -->
Code: Select all
'COOKIES_DELETED' => 'All board cookies successfully deleted.',
'CURRENT_TIME' => 'It is currently %s',
'CURRENTLY_BANNED' => 'CURRENTLY BANNED',
Code: Select all
'CURRENT_TIME' => 'Текущее время: %s',
'CURRENTLY_BANNED' => 'Забанен',