Well, your code is wrong - there is no such thing as a </img> tag.
But, you really need to post the exact code you are currently using, with about 5 lines above and below it, and post a link so we can see it. You keep making us just guess.
The code you posted looks fine (except the comments I made about it in post 37), but you said you wanted to change it and that you did and that it didn't work. So, I was asking exactly how you changed it.
I see, That was with regard to the condition that I tried in front of the "<form action="search - But it didn't work. I replaced your 'xxx' with the threadid, and it didn't work.