Check if page view is example node/page
Well if I understand you right...

In template.php

function mytheme_preprocess_page(&amp;$variables) {
  $node = menu_get_object('node');

  if (isset($node) {
    $variables['node_type'] = $node-&gt;type;
  }
}


In page.tpl.php

&lt;?php if ($node_type == 'your_type') : ?&gt;
  // something here for node type your_type
&lt;?php endif; ?&gt;


Additionally, you can simply add new template suggestions.

In template.php

function mytheme_preprocess_page(&amp;$variables) {
  $node = menu_get_object('node'); 

  if (isset($node)) {
    $variables['node_type'] = $node-&gt;type;
    $variables['theme_hook_suggestions'][] = 'page__node__' . $node-&gt;type;
  }
}


After clearing your cache, you can create page--node--(node_type).tpl.php and put page specific markup for that node type there.