Header aşağıda yardımcı olacak arkadaşım varsa çok sevinirim.

<?php include_once(dirname(__FILE__).'/functions.php') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset') ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version') ?>" />
<title><?php if ( get_bloginfo('version') < '2' ) : echo wp_title('',false); if ( !is_home() ) : echo ' - '; endif;
elseif ( is_search() ) : echo wp_specialchars($s).' - ';
elseif ( is_category() ) : single_cat_title(''); echo ' - ';
elseif ( is_year() ) : echo get_the_time('F').' - ';
elseif ( is_month() ) : echo get_the_time('F Y').' - ';
elseif ( is_day() ) : echo get_the_time('F jS, Y').' - ';
elseif ( is_404() ) : echo "Not found - ";
elseif ( !is_home() ) : if ( get_the_title() ){ the_title(); }else{ echo "Untitled"; }; echo " - ";
endif // is_search() ?>
<?php bloginfo('name') ?></title>
<?php if ( is_home() ) : ?>
<?php if ( get_bloginfo('description') ) : ?>
<meta name="description" content="<?php bloginfo('description'); ?>">
<?php endif // get_bloginfo('description') ?>
<?php elseif ( is_single() ) : ?>
<?php if ( trim(get_the_excerpt()) != "" ) : ?>
<meta name="description" content="<?php echo wp_specialchars(trim(get_the_excerpt())); ?>">
<?php endif // trim(get_the_excerpt()) != "" ?>
<?php endif // is_home() ?>
<link rel="shortcut icon" href="<?php bloginfo('template_directory') ?>/img/favicon.ico">
<link rel="alternate" href="<?php bloginfo('rss2_url') ?>" type="application/rss+xml" title="Articles" />
<link rel="alternate" href="<?php bloginfo('comments_rss2_url') ?>" type="application/rss+xml" title="Comments" />
<?php if ( is_single() || is_page() ) : ?>
<?php if ( 'open' == $post->comment_status ) : ?>
<link rel="alternate" href="<?php echo comments_rss() ?>" type="application/rss+xml" title="Comments on this article" />
<?php endif // 'open' == $post->comment_status ?>
<?php if ( 'open' == $post->ping_status ) : ?>
<link rel="trackback" href="<?php trackback_url(true) ?>" title="Trackback this article" />
<?php endif // 'open' == $post->ping_status ?>
<?php endif // is_single() || is_page() ?>
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" title="Pingback this article" />
<?php wp_meta() ?>
<style type="text/css" media="all">
@import url(<?php bloginfo('stylesheet_url') ?>);
<?php if ( color_scheme() ) : ?>
@import url(<?php bloginfo('template_directory') ?>/style-scheme-<?php echo color_scheme() ?>.css);
<?php endif // color_scheme() ?>
<?php if ( trackbacks_color() ) : ?>
@import url(<?php bloginfo('template_directory') ?>/style-trackbacks-<?php echo trackbacks_color() ?>.css);
<?php endif // trackbacks_color() ?>
</style>
<?php wp_head() ?>
</head>
<body>
<?php if ( is_home() && !is_paged()) : ?>
<div id="header"><?php bloginfo('name') ?></div>
<?php else : ?>
<div id="header"><a href="<?php bloginfo('home') ?>/" title="Back to home"><?php bloginfo('name') ?></a></div>
<?php endif // is_home() && !is_paged() ?>
<?php include (TEMPLATEPATH.'/ad1.php') ?>