I found the second part.
try looking for this:
Code:
// ###################### Start getpostbit #######################
function construct_postbit($post, $maintemplatename = 'postbit', $alternate = '')
{
// sorts through all the stuff to return the postbit template
and if you don't find exactly that, try looking for parts of it. It should be around line 85
I coudn't find the first part in the functions_showthread file either...