2006-09-21 Matt Lilek <pewtermoose@gmail.com>
[WebKit-https.git] / WebKitSite / blog / wp-content / themes / webkit / header.php
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
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_head(); ?>
34 </head>
35 <body>
36
37 <div id="title">
38 <h1><?php bloginfo('name'); ?></h1>
39 </div>
40
41 <div id="icon"></div>
42
43 <div id="content">