I made a slight change allows image to become the link too
Code:
<td class="alt2" nowrap="nowrap"><if condition="$forum['link']">
<if condition="$forum['forumid'] == X"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if>
<if condition="$forum['forumid'] == XX"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if>
<if condition="$forum['forumid'] == XXX"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if>
<if condition="$forum['forumid'] ==XXXX"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if><else />$forum[lastpostinfo]</if></td>
Hope you don't mind and thanks again you can even add a paypal donation button like this after getting the html from paypal
Code:
<td class="alt2" nowrap="nowrap"><if condition="$forum['link']">
<if condition="$forum['forumid'] == X"><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="you@your domain.com">
<input type="hidden" name="item_name" value="Domain and Maintenance Donations">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form></if><else />$forum[lastpostinfo]</if></td>