ok, well heres one of the pages that an index.php page is replaced with:
this might be more help to you, as you can then see how things are accessed by my pages n stuff, all the templates are the same in dynamics...
i hope this can help!!!!
see attachment...its a php file