File: /home/mmickelson/tfgarchive/wpblogtest1.old/wp-content/themes/rt_nexus_wp/header.php
<?php $option = get_option('nexus-options'); ?>
<?php require(TEMPLATEPATH.'/styles.php'); ?>
<?php
global $stylesList, $presetstyle, $headerstyle, $bodystyle, $showcasestyle, $primarycolor, $footerstyle;
rok_switcher();
?>
<!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" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<title><?php wp_title('-',true,'right'); ?> <?php bloginfo('name'); ?></title>
<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 if ($option['rokbox_enabled'] == 'true') { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/js/rokbox/themes/<?php echo $option['rokbox_style']; ?>/rokbox-style.css" type="text/css" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/js/rokbox/themes/<?php echo $option['rokbox_style']; ?>/rokbox-style-ie6.css" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/js/rokbox/themes/<?php echo $option['rokbox_style']; ?>/rokbox-style-ie7.css" type="text/css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/js/rokbox/themes/<?php echo $option['rokbox_style']; ?>/rokbox-style-ie8.css" type="text/css" />
<![endif]-->
<?php } ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/header-<?php echo $headerstyle; ?>.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/body-<?php echo $bodystyle; ?>.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/showcase.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/primary-<?php echo $primarycolor; ?>.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/footer.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/typography.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/menu-fusion.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/js/rokstories/css/rokstories.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/wp.css" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<style type="text/css">
<!--
<?php
$double = $option['left_sidebar_w']+$option['right_sidebar_w'];
$ie_col3 = $option['right_sidebar_w'] + 20;
?>
div.wrapper { margin: 0 auto; width: <?php echo $option['site_width']; ?>px;padding:0;}
#inset-block-left { width:0px;padding:0;}
#inset-block-right { width:0px;padding:0;}
#maincontent-block { margin-right:0px;margin-left:0px;}
.s-c-s .colmid { left:<?php echo $option['left_sidebar_w']; ?>px;}
.s-c-s .colright { margin-left:-<?php echo $double; ?>px;}
.s-c-s .col1pad { margin-left:<?php echo $double; ?>px;}
.s-c-s .col2 { left:<?php echo $option['right_sidebar_w']; ?>px;width:<?php echo $option['left_sidebar_w']; ?>px;}
.s-c-s .col3 { width:<?php echo $option['right_sidebar_w']; ?>px;}
.s-c-x .colright { left:<?php echo $option['left_sidebar_w']; ?>px;}
.s-c-x .col1wrap { right:<?php echo $option['left_sidebar_w']; ?>px;}
.s-c-x .col1 { margin-left:<?php echo $option['left_sidebar_w']; ?>px;}
.s-c-x .col2 { right:<?php echo $option['left_sidebar_w']; ?>px;width:<?php echo $option['left_sidebar_w']; ?>px;}
.x-c-s .colright { margin-left:-<?php echo $option['right_sidebar_w']; ?>px;}
.x-c-s .col1 { margin-left:<?php echo $option['right_sidebar_w']; ?>px;}
.x-c-s .col3 { left:<?php if(rok_isIe(6)) { echo $ie_col3; } else { echo $option['right_sidebar_w']; } ?>px;width:<?php echo $option['right_sidebar_w']; ?>px;}
-->
</style>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/mootools.js"></script>
<?php if (rok_isIe()) :?>
<!--[if IE 7]>
<link href="<?php bloginfo('template_directory'); ?>/css/template_ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php endif; ?>
<?php if (rok_isIe(6)) :?>
<!--[if lte IE 6]>
<link href="<?php bloginfo('template_directory'); ?>/css/template_ie6.css" rel="stylesheet" type="text/css" />
<script src="<?php bloginfo('template_directory'); ?>/js/DD_belatedPNG.js"></script>
<script type="text/javascript">
var pngClasses = ['.png', '#logo', '#showcase-section2', '.readon1-l', '.readon1-m', '.readon1-r', '#rocket', '.rokstories-tip', '.feature-block-title2', '.feature-block-title3', '.ext-img', '.feature-arrow-l', '.feature-arrow-r'];
pngClasses.each(function(fixMePlease) {
DD_belatedPNG.fix(fixMePlease);
});
</script>
<![endif]-->
<?php endif; ?>
<?php if ($option['rokbox_enabled'] == 'true') { ?>
<script type="text/javascript">var rokboxPath = "<?php bloginfo('template_directory'); ?>/js/rokbox/";</script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokbox/rokbox.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokbox/themes/<?php echo $option['rokbox_style']; ?>/rokbox-config.js"></script>
<?php } ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokfonts.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokutils.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokutils.inputs.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/roktabs/roktabs.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokstories/js/rokstories.js"></script>
<script type="text/javascript">var RokStoriesImage = {}, RokStoriesLinks = {};</script>
<?php if(rok_isIe(6) && $option['ie_warning'] == 'true') : ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/rokie6warn.js"></script>
<?php endif; ?>
<script type="text/javascript">
window.templatePath = '<?php bloginfo('template_directory'); ?>';
window.uri = '/joomla/nexus';
window.currentStyle = '<?php echo $presetstyle; ?>';
window.addEvent('domready', function() {
var modules = ['side-mod', 'showcase-panel', 'moduletable', 'moduletable2'];
var header = ['h3','h1'];
RokBuildSpans(modules, header);
});
InputsExclusion.push('.content_vote')
</script>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body id="<?php echo $option['font_face']; ?>" class="<?php echo $option['font_size']; ?> <?php echo $presetstyle; ?> head-<?php echo $headerstyle; ?> show-<?php echo $showcasestyle; ?> foot-<?php echo $footerstyle; ?> body-<?php echo $bodystyle; ?> iehandle">
<!-- Begin Top Bar -->
<div id="top-bar">
<div class="wrapper">
<div class="padding">
<?php if ($option['top_date'] == 'true') { ?>
<!-- Begin Date -->
<div class="date-block">
<span class="date1"><?php echo date_i18n('l'); ?></span>
<span class="date2"><?php echo date_i18n('F'); ?></span>
<span class="date3"><?php echo date_i18n('d , '); ?></span>
<span class="date4"><?php echo date_i18n('Y'); ?></span>
</div>
<!-- End Date -->
<?php } ?>
<?php if ($option['search_box'] == 'true') { ?>
<!-- Begin Search -->
<div id="searchmod">
<div class="moduletable">
<div id="searchmod-surround">
<form name="rokajaxsearch" id="rokajaxsearch" action="<?php bloginfo('home'); ?>/" method="get">
<div class="rokajaxsearch">
<div class="input-field-l">
<div class="input-field-r">
<input id="roksearch_search_str" name="s" type="text" class="inputbox" value=" <?php _re('Search...'); ?>" onblur="if(this.value=='') this.value=' <?php _re('Search...'); ?>';" onfocus="if(this.value==' <?php _re('Search...'); ?>') this.value='';" />
</div>
</div>
<input type="hidden" name="task" value="search" />
</div>
</form>
</div>
</div>
</div>
<!-- End Search -->
<?php } ?>
</div>
</div>
</div>
<!-- End Top Bar -->
<!-- Begin Header -->
<div id="header">
<div class="wrapper">
<div class="padding">
<?php if ($option['site_logo'] == 'true') { ?>
<!-- Begin Logo -->
<a href="<?php bloginfo('wpurl'); ?>" id="logo"></a>
<!--End Logo-->
<?php } ?>
<!-- Begin Top Banner Widget Position -->
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Top Banner') ) : ?>
<?php endif; ?>
<!-- End Top Banner Widget Position -->
</div>
</div>
</div>
<?php if(is_active_sidebar('top_menu')) { ?>
<!-- Begin Horizontal Menu -->
<div id="horiz-menu" class="fusion">
<div class="wrapper">
<div class="padding">
<div id="horizmenu-surround">
<div id="horizmenu-surround2"></div>
<div id="horizmenu-surround3"></div>
<div id="horizmenu-surround4"></div>
<div id="horizmenu-surround5"></div>
<?php dynamic_sidebar('Top Menu'); ?>
<div class="clr"></div>
</div>
</div>
</div>
</div>
<!-- End Horizontal Menu -->
<?php } ?>
<div id="menu-spacer"></div>
<!-- End Header -->