How can I access the variable from other .tpl.php file?
You can add custom variables using hook_preprocess_node() in your theme's template.php file.

Here's how to add the account name:

function YOUR_THEME_preprocess_node(&amp;$variables) {
  $variables['account_name'] = format_username($variables['account']);
}