All pastes #1833777 Raw Edit

header.php

public text v1 · immutable
#1833777 ·published 2010-03-11 14:21 UTC
rendered paste body
<!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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="author" content="HPA" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<title><?php
if (is_home()) {
	bloginfo('name');
} elseif (is_404()) {
	echo '404 Not Found'; echo ' | '; bloginfo('name');
} elseif (is_category()) {
	echo 'Category:'; wp_title(''); echo ' | '; bloginfo('name');
} elseif (is_search()) {
	echo 'Search Results'; echo ' | '; bloginfo('name');
} elseif ( is_day() || is_month() || is_year() ) {
	echo 'Archives:'; wp_title(''); echo ' | '; bloginfo('name');
} else {
	echo wp_title(''); echo ' | '; bloginfo('name');
}
global $codename,$$codename; ?>
</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'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/slide.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/widgets.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/comments.css" type="text/css" media="screen" />

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.2.6-packed.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.ifixpng.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slide.noconflict.js"></script>

<style type="text/css">
<?php if ($$codename->option['imageLogo']) : ?>
#blog-title {
	background:url('<?php echo $$codename->option['imageLogo']; ?>') no-repeat 0 0;
	text-indent:-9999px;
	height:38px;
	margin:28px 0 0;
}
#blog-title a {
	display:block;
	height:28px;
}
<?php endif ?>
<?php if($$codename->option['topAdv']) : ?>
#branding {
	float:left;
	width:465px;
}

#top-adv {
	float:right;
	width:468px;
	height:60px;
	margin-top:22px;
}
<?php endif ?>
</style>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
	jQuery.ifixpng('<?php bloginfo('template_directory'); ?>/images/pixel.gif');
<?php if ($$codename->option['imageLogo']) : ?>
	jQuery('#blog-title').ifixpng();
<?php endif ?>
	jQuery('#blog-description-left, #blog-description-right, #page-menu').ifixpng();
	jQuery('.widget ul li').each(function() {
		jQuery(this).hover(
			function() {
				jQuery(this).addClass('hover');
			},
			function() {
				jQuery(this).removeClass('hover');
			}
		);
	});
})
</script>
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/style-ie.css" />
<![endif]-->
<?php wp_head(); ?>
</head>
<body><div id="body-in" class="clearfix">
<div id="wrapper">
	<div id="header" class="clearfix">
		<span id="right-now" class="icon"><?php echo date('jS F Y') ?></span>
		<div id="header-tools">
			<a id="rss-icon" class="icon" href="<?php bloginfo('rss2_url'); ?>" title="Subscribe to RSS"><span></span></a>
			<form id="subcribe-form" action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=<?php echo $$codename->option['feedBurnerID'] ?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
				<input type="hidden" value="http://feeds.feedburner.com/~e?ffid=<?php echo $$codename->option['feedBurnerID'] ?>" name="url"/>
				<input type="hidden" value="<?php bloginfo('name');?>" name="title" />
				<input type="hidden" name="loc" value="en_US" />
				<label for="rss-email">Subscribe to Rss</label> 
				<input type="text" name="email" id="rss-email" class="input-text" size="19"/>
				<input type="submit" class="input-submit" value="" />
			</form>
		</div>

		<div id="branding">
			<span id="blog-title"><a href="<?php echo get_option('home') ?>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?></a></span>
			<span id="blog-description-left"></span>
			<?php if (is_home()) : $home = ' current_page_item'; ?>
			<h1 id="blog-description"><?php bloginfo('description') ?></h1>
			<?php else: $home=''; ?>
			<div id="blog-description"><?php bloginfo('description') ?></div>
			<?php endif ?>
			<span id="blog-description-right"></span>
		</div><!-- /branding -->
		<?php if($$codename->option['topAdv']) : ?>

		<div id="top-adv" class="advertisement">
			<?php echo $$codename->option['topAdv'] ?>
		</div>
		<?php endif ?>

		<div id="page-menu" class="menu">
			<div id="page-menu-in">
			<ul>
				<li class="page_item <?php if(is_home()): ?>current_page_item<?php endif ?>"><a href="<?php echo get_option('home'); ?>/">Home</a></li>
				<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
			</ul>
			</div>
		</div>
	</div><!-- /header -->

	<div id="container" class="clearfix">