for sure it ==0 in your case! but i dont think, that a php-file should be used as template! because mvc is about dividing programm-logic and template-views. u should not have any programm-logic in your template!