Cannot read smarty php class
===

I have problem with smarty php class.Apache cannot read smarty templates.I put something on bottom of my file with smarty confis and includes and it just shows that text.

How  can i fix it ? Thanks.