Displaying a block only for nodes of a specific content type, how do I check the content type using PHP?
// Only show if $match is true
$match = FALSE;

// Which node types
$types = ['kYn'];

// Match current node type with array of types
if (arg(0) == 'node' &amp;&amp; is_numeric(arg(1))) {
  $nid = arg(1);
  $node = node_load($nid);
  $type = $node-&gt;type;
  $match |= in_array($type, $types);
}

return $match;


source : http://drupal.org/node/115419