Changing which content appears at which parts of site I would like to make different divs in the template, that show up at different parts of a site: eg. div#1 shows at pages from Menu-01 + it's sub-menus; div#2 shows up at pages from Menu-02 + its' sub-menus, div#3 at Blog pages, and so on.

How can this be achieved? Coming from the Wordpress world it is something like 

&lt;?php 
if ( is_category ('1') ) {  
//something for category 1
} 
if (is_page ('6') ){
 // something for page 6
}
// other functions for descendant checks possible with custom made checkers in functions.php 
?&gt;


In Drupal I only found the front page check

drupal_is_front_page()


But I've found no other types of checkings with this method.

Any help please?
Thanks.
There is many ways to do this:
- you might use the arg() values and act based on that

        if (arg(0) == 'node' &amp;&amp; arg(1) == 'add' &amp;&amp; arg(2) == 'YOUR-CONTENT-TYPE') {
               // do something
         }



or you can use template_preprocess_node function in your theme, and act based on the node values.