How can I print node author's last login date on page.tpl.php? I could easily find out how to print the current user's last login date but what about the node author's one?
It would be better to put this logic in an preprocess function rather than directly in the template file, but the code would probably be something like this:

if ($node = menu_get_object()) {
  $author = user_load($node-&gt;uid);
  $last_login = $author-&gt;login;
}