Conditionals based on taxonomy
In D6, $node->taxonomy is an array of term objects keyed by the term id, eg:

  [145] =&gt; stdClass Object
    (
        [tid] =&gt; 145
        [vid] =&gt; 5
        [name] =&gt; nineohfour
        [description] =&gt; 
        [weight] =&gt; 0
    )

  [147] =&gt; stdClass Object
    (
        [tid] =&gt; 147
        [vid] =&gt; 5
        [name] =&gt; anotherterm
        [description] =&gt; 
        [weight] =&gt; 0
    )


Just put a drupal_set_message('&lt;pre&gt;' . print_r($node-&gt;taxonomy,true) . '&lt;/pre&gt;'); in your template to take a closer look.  You can then go through that array with a foreach (or in_array)to find if a term is set and then act upon that.  I would do this in a _preprocess_node() hook though and set a variable to act upon in your node template instead of putting all that php logic in it.