Once you have finished using the database connection on a page you should close it.  So far you have not but on a busy server that could cause problems.  No need to go back and change the pages but just remember that on every PHP page which uses SQL you should have this line somewhere near the end:

mysqli_close($dbconnection);

You will do that from now on so it is time to make a new template (next).