<a href="showthread.php?$session[sessionurl]do=post_thanks_add&p=$post[postid]" id="post_thanks_button_$post[postid]" onclick="post_thanks_give_$post[postid](); return false;" rel="nofollow">$post_thanks_button_image</a>