How can I call node id in template file? Using Drupal 7.

I have a page--front.tpl.php template file. And I want import a node in this file.

How can I do it?
Here is my solution:

&lt;?php
$view_mode = 'teaser'; // Or 'full' for example

$node = node_load(2);

$view = node_view($node, $view_mode);

print render($view);
?&gt;