How does smarty reference the console and the template file through the console?

other templates referenced in the

template are {include file= "header.html"}
for example, index.php
template is $smarty- > display ("index.html"),
then the header template file {include file= "header.html"},

is referenced in index.html.

so if, in this header.html, there are some parameters that need to be controlled by his back-end console, that is, header.php, in this case, how can index.html refer to header.php, and let header.php output the template $smarty- > display ("header.html")?

how to deal with this situation? Thank you very much for your advice.

Mar.10,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35ef5-2bfb7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35ef5-2bfb7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?