PHP code in templates will not work. Templates are created for separating layout and PHP code, and there could be nothing related to PHP.
But - there is another way to insert dynamic values in templates. As you might see, every template contains {$variable} tags. Each {$variable} means value of 'natural' $variable formed in PHP code.
So, if you want to include your own dynamic content in templates, assign this content to some $variable within your code, then paste {$variable} tag into the template. This code may be generated in bb_plugins.php file, as this is the most common file of all miniBB custom additions.
For example, if in bb_plugins.php we have:
$myDate='Today is '.date('D F jS, Y');
and then paste in templates/main_footer.html
{$myDate}
it will generate today's date like
Wed October 11th, 2006We hope this gives you enough imagination of how you can add custom PHP output to the templates. Please, address all other custom questions to our
paid support team.