Import a class via template.php or other ways I'm using Drupal 7 and have this structure:

&lt;div id="node-11" class="node node-ortaklar-cv node-promoted node-teaser node-type-ortaklar_cv node-teaser-ortaklar_cv" typeof="sioc:Item foaf:Document" about="/tr/node/11"&gt;   
        &lt;h2 datatype="" property="dc:title"&gt;&lt;a href="/tr/node/11"&gt;Lorem Ipsum&lt;/a&gt;&lt;/h2&gt;
    &lt;div class="field field-name-field-cv-tr field-type-file field-label-hidden d_tr"&gt;
...
    &lt;/div&gt;


I want add a class top of this structure. E.G.

**&lt;div class="HEADER"&gt;**
   &lt;div id="node-11" class="node node-ortaklar-cv node-promoted node-teaser node-type-ortaklar_cv node-teaser-ortaklar_cv" typeof="sioc:Item foaf:Document" about="/tr/node/11"&gt;   
            &lt;h2 datatype="" property="dc:title"&gt;&lt;a href="/tr/node/11"&gt;Lorem Ipsum&lt;/a&gt;&lt;/h2&gt;
        &lt;div class="field field-name-field-cv-tr field-type-file field-label-hidden d_tr"&gt;
    ...
        &lt;/div&gt;
**&lt;/div&gt;**


I don't use page.tpl.php files because using Views module. I put this code in template.php but don't working:

function mysite_preprocess_image(&amp;$variables) {
if ($variables['style_name'] == 'node-ortaklar-cv') {
$variables['attributes']['class'][] = 'header';
}


}

Is is possible put a div in structure via template.php or some way? And how? Thanks.
The code needs to go in node.tpl.php, not page.tpl.php or template.php. Just follow these steps:


If you haven't already, copy the code from node.tpl.php into a file with the same name inside your theme's folder.
Edit the node.tpl.php file and add your markup around the main node div
Flush Drupal's caches (or at least the theme reigstry)


Then your nodes will all be wrapped in the markup you need.

If you just need to do this for a specific content type (I'm going to guess at one called image here), your template file will need to be called node--image.tpl.php. You'll still need the original node.tpl.php file in your theme though, as node template overrides won't work without it.