What are the advantages and disadvantages of using include 'footer.php' versus include 'templates/footer.tpl.php' for including footer elements in a PHP page?

When including footer elements in a PHP page, using include 'footer.php' is more straightforward and easier to understand for most developers. However, using include 'templates/footer.tpl.php' allows for better organization and separation of concerns by keeping template files separate from PHP logic. The latter approach can make it easier to manage and maintain code in the long run, especially for larger projects.

<?php
// Using include 'footer.php'
include 'footer.php';
?>

<?php
// Using include 'templates/footer.tpl.php'
include 'templates/footer.tpl.php';
?>