hmm... looks like you still did not get the crux of the problem. Consider this part of the code:
htmlspecialchars($title) . "</a><img src="imba.bmp" alt="Imba"</img></td>"
So, you have the output of a function, htmlspecialchars($title). This is concatenated with the string literal "</a><img src=". Then out of nowhere you have this piece of code: imba.bmp
Can you see that imba.bmp is not within a string literal? It is out of place, and hence results in a parse error.
Personal taste aside, I recommend using double quotes to quote your HTML element attribute values because htmlspecialchars() does not escape single quotes by default. If you use double quotes to quote your HTML element attribute values, then it follows that using single quotes to quote the PHP strings that contain the HTML code makes things easier (and vice versa).
In your case, you are inconsistently not quoting your HTML element attribute values (a Bad Thing), quoting them with single quotes, and quoting them with double quotes. This gets you into trouble when you fail to correctly escape the quotes in the PHP string.