Can template conditional replace this function????
<?php include 'footer.php';?>
You should be a little clearer on what you want to do. But basically whatever you include within the if statement, if it's true it will execute
use php in templates instead