4aa02b05a42c3e73d90bc48057af40534c56a018
[WebKit-https.git] / WebKitSite / blog / wp-content / themes / webkit / header.php
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
5
6         <title><?php bloginfo('name'); if ( is_single() ) { ?> - Blog Archive <?php } wp_title(); ?></title>
7
8         <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
9
10         <link rel="stylesheet" type="text/css" href="/css/main.css" />
11         <link rel="stylesheet" type="text/css" href="/css/green.css" title="green" />
12         <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
13
14 <?php
15     $msie = '/msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i';
16     $agent = $_SERVER['HTTP_USER_AGENT'];
17     if( isset($agent) && preg_match($msie, $agent) && ! preg_match('/opera/i', $agent)) {
18 ?>
19         <link rel="stylesheet" type="text/css" href="/css/ie.css" />
20 <?php } else { ?>
21         <link rel="alternate stylesheet" type="text/css" href="/css/blue.css" title="blue" />
22         <link rel="alternate stylesheet" type="text/css" href="/css/yellow.css" title="yellow" />
23         <link rel="alternate stylesheet" type="text/css" href="/css/pink.css" title="pink" />
24         <link rel="alternate stylesheet" type="text/css" href="/css/purple.css" title="purple" />
25         <link rel="alternate stylesheet" type="text/css" href="/css/gray.css" title="gray" />
26 <?php } ?>
27
28         <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
29         <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
30         <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
31         <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
32
33         <?php wp_get_archives('type=monthly&format=link'); ?>
34
35         <?php wp_head(); ?>
36 </head>
37 <body>
38
39 <div id="title">
40 <h1><?php bloginfo('name'); ?></h1>
41 </div>
42
43 <div id="icon"></div>
44
45 <div id="content">