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

<!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 profile="http://gmpg.org/xfn/11">

	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
	
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?> "/><!-- leave this for s please -->
	
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen"/>
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/> 
	
	<?php wp_get_archives('type=monthly&format=link'); ?>
	<?php //comments_popup_script(); //off by default ?>
	<?php wp_head(); ?>
</head>
<?php
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<body>
	<div id="header">
		<div id="logo"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo.jpg" alt="<?php bloginfo('name'); ?>"/></a></div>
		<div id="search">
			<form action="<?php bloginfo('url'); ?>/?" method="get">
				<table>
					<tr>
						<td><input name="s" id="searchinput" type="text" /></td>
						<td><input type="image" src="<?php bloginfo('template_directory'); ?>/images/search_btn.gif" align="right" /></td>
					</tr>
				</table>
			</form>
		</div>
	<div class="wnnNavStretch">
		<div class="wnnHeaderNav">
			<ul class="wnnNavigation">
				<li><a class="wnnCurPage" href="/" title="<?php bloginfo('name'); ?>">Home</a></li>
				<?php wp_list_cats('title_li=');?>
				<li><a href="?feed=rss2" id="rss"><img src="<?php bloginfo('template_directory'); ?>/images/rss.png" /></a></li>
			</ul>
		</div>
	</div>
	<div id="pages">
		<ul>
			<span id="pgtitle">Pages : </span><?php wp_list_pages('title_li=');?>
		</ul>
	</div>
	</div>
	<div id="main">