Problems in recovering the fields with php
In node.tpl.php, the title is available as $title.

http://api.drupal.org/api/drupal/modules%21node%21node.tpl.php/7

In the case of full-page view of nodes, the title may be printed via page.tpl.php, so you may also need to modify that template to get the desired behavior.

http://api.drupal.org/api/drupal/modules%21system%21page.tpl.php/7