refactoring page.tpl.php