web/wp-content/themes/WNN-WP/header.php
changeset 1 0d28b7c10758
child 2 4f3e6ea1c867
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     3 <html xmlns="http://www.w3.org/1999/xhtml">
       
     4 <head profile="http://gmpg.org/xfn/11">
       
     5 
       
     6 	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
       
     7 	
       
     8 	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
       
     9 	<meta name="generator" content="WordPress <?php bloginfo('version'); ?> "/><!-- leave this for s please -->
       
    10 	
       
    11 	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen"/>
       
    12 	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
       
    13 	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
       
    14 	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
       
    15 	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/> 
       
    16 	
       
    17 	<?php wp_get_archives('type=monthly&format=link'); ?>
       
    18 	<?php //comments_popup_script(); //off by default ?>
       
    19 	<?php wp_head(); ?>
       
    20 </head>
       
    21 <?
       
    22 global $options;
       
    23 foreach ($options as $value) {
       
    24     if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
       
    25 }
       
    26 ?>
       
    27 <body>
       
    28 	<div id="header">
       
    29 		<div id="logo"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/logo.jpg" alt="<?php bloginfo('name'); ?>"/></a></div>
       
    30 		<div id="search">
       
    31 			<form action="<?php bloginfo('url'); ?>/?" method="get">
       
    32 				<table>
       
    33 					<tr>
       
    34 						<td><input name="s" id="searchinput" type="text" /></td>
       
    35 						<td><input type="image" src="<?php bloginfo('template_directory'); ?>/images/search_btn.gif" align="right" /></td>
       
    36 					</tr>
       
    37 				</table>
       
    38 			</form>
       
    39 		</div>
       
    40 	<div class="wnnNavStretch">
       
    41 		<div class="wnnHeaderNav">
       
    42 			<ul class="wnnNavigation">
       
    43 				<li><a class="wnnCurPage" href="/" title="<?php bloginfo('name'); ?>">Home</a></li>
       
    44 				<?php wp_list_cats('title_li=');?>
       
    45 				<li><a href="?feed=rss2" id="rss"><img src="<?php bloginfo('template_directory'); ?>/images/rss.png" /></a></li>
       
    46 			</ul>
       
    47 		</div>
       
    48 	</div>
       
    49 	<div id="pages">
       
    50 		<ul>
       
    51 			<span id="pgtitle">Pages : </span><?php wp_list_pages('title_li=');?>
       
    52 		</ul>
       
    53 	</div>
       
    54 	</div>
       
    55 	<div id="main">