Update template.php

Penambahan variabel index ['foot']
----
The addition of variable index ['foot']