web/wp-content/themes/newsworthy/header.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" title="style (screen)" />

<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/tabs.css" type="text/css" media="screen" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/tabber.js"></script>



<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>



<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />



<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>



<?php wp_head(); ?>

</head>



<body>

<div id="wrap">

	

<div id="sitemeta">

	<?php wp_loginout(); ?><?php wp_register(' | ', ''); ?>

</div>

<div id="content">

<form id="searchform" method="get" action="<?php bloginfo('url'); ?>/">

<input type="text" name="s" class="search" value="Search..." onfocus="if

(this.value==this.defaultValue) this.value='';" /> 

</form>

<h1 class="head"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

<h2 class="head"><?php bloginfo('description'); ?></h2>

<div id="menubar">

  <ul class="nav">

	<li><a class="meta" href="<?php bloginfo('rss2_url'); ?>">Subscribe</a></li>

<li<?php if (is_home() || is_paged() || is_page() || is_404()) { echo ' class="up"'; } ?>><a href="<?php echo get_option('home'); ?>">Home</a></li>

<?php wp_list_categories('title_li=&depth=1'); ?>

	<li><div class="clearboth">&nbsp;</div></li>

  </ul>

</div>

<div id="submenu">

<ul>

<?php

if (is_category()) {

  $this_category = get_category($cat);

  if (get_category_children($this_category->cat_ID) != "") {

    wp_list_categories('orderby=id&show_count=0&title_li=

&use_desc_for_title=1&child_of='.$this_category->cat_ID);

  }

} else { wp_list_pages('title_li=&depth=1'); } ?>

	<li><div class="clearboth">&nbsp;</div></li>

</ul>

</div>

<div id="maincontent">