You are on page 1of 4

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.

org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title><?php $body_font = get_option("hades_body_font"); $body_font_color = get_option("hades_font_color"); $body_font_color = (!$body_font_color) ? "303030" : $body_font_ color; $link_font_color = get_option("hades_link_font_color"); $link_font_color = (!$link_font_color) ? "2d9dc7" : $link_font_ color; $link_hover_font_color = get_option("hades_link_hover_font_colo r"); $link_hover_font_color = (!$link_hover_font_color) ? "1a84ac" : $link_hover_font_color; $body_font = ($body_font == "") ? 'Droid Sans' : $body_font;

if($body_font=="Lucida Sans") $body_font = "Lucida"; switch($body_font) { case "PT Sans": $body_font_script = "http://fonts.googleapis.c om/css?family=PT+Sans"; $body_code= "font-family: 'PT Sans', arial, se rif"; $body_font = "custom_body_font"; break; case "Arimo" : $body_font_script = "http://fonts.googleapis.c om/css?family=Arimof" ; $body_code= "font-family: 'Arimo', arial, ser if"; $body_font = "custom_body_font"; break; case "Crimson": $body_font_script = "http://fonts.googleapis.c om/css?family=Crimson+Text" ; $body_code= "font-family: 'Crimson Text', ari al, serif"; $body_font = "custom_body_font"; break; case "Droid Serif": $body_font_script = "http://fonts.googleap is.com/css?family=Droid+Serif" ; $body_code= "font-family: 'Droid Serif', arial, serif"; $body_font = "custom_body_font"; break; case "Droid Sans" : $body_font_script = "http://fonts.googlea pis.com/css?family=Droid+Sans" ; $body_code= "font-family: 'Droid Sans', a rial, serif"; $body_font = "custom_body_font"; break; } if($body_font == "custom_body_font") wp_enqueue_style("webfont-body",$body_font_script); $logo = (get_option("hades_logo") == "") ? URL.'/sprites/i/logo. png' : get_option("hades_logo"); $favico = (get_option("hades_favico") == "") ? URL.'/images/fav icon.ico' : get_option("hades_favico");

if(is_home()) { echo bloginfo(__('name') , 'h-fr amework' ); } elseif(is_category()) { _e('Browsing the Category ' , ' h-framework' ); wp_title(' ', true, ''); } elseif(is_archive()){ wp_title(__(' ' , 'h-framework') , true,__( '' , 'h-framework') ); } elseif(is_search()) { _e( 'Search Results for "'.$s. '"' , 'h-framework' ); } elseif(is_404()) { _e( '404 - Page got lost!' , 'h-framework'); } else { bloginfo(__('name' , 'h-framewor k')); wp_title(__('-' , 'h-framework'), true, ''); } ?></title> <link href="<?php echo URL."/style.css"; ?>" rel="stylesheet" type="tex t/css" /><!-- Stylesheet --> <?php include(HPATH."/helper/dynamic.php"); ?><!-- Dynamic Stylesheet -> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="< ?php bloginfo('rss2_url'); ?>" /><!-- Feed --> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="shortcut icon" href="<?php echo $favico; ?>" />

<?php //if ( is_singular() && get_option( 'thread_comments' ) ) // wp_enqueue_script( 'comment-reply' ); wp_head(); ?> <!--[if IE 9]> <link rel="stylesheet" type="text/css" href="<?php echo URL; ?>/ie9. css" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="<?php echo URL; ?>/ie8. css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="<?php echo URL; ?>/ie7. css" /> <![endif]--> <?php echo "<style type='text/css'> \n"; if($body_font == "custom_body_font") echo ".custom_body_font { $body_code echo " } ";

body { color:#{$body_font_color}; } a { color:#{$link_font_color}; } a:hover { color:#{$link_hover_font_color}; } ";

echo " ?> </head>

</style>";

<body class="<?php echo $body_font; ?>">

<div class="top-section clearfix"> <div class="container"> <?php if(function_exists("wp_nav_menu")) { wp_nav_menu(array( 'theme_location'=>'top_nav', 'container'=>'', 'depth' => 3, 'container_class' => 'clearfix', 'menu_id' => 'topmenu') ); } ?> <ul id="top-social-menu"> <li class="twitter"> <a href="http://twitter.com/#!/<?php echo get_opt ion("hades_twitter_id"); ?>">Follow Us</a> </li> <li class="fb"> <a href="http://facebook.com/<?php echo get_option("ha des_fb_id"); ?>">Become a Fan</a> </li> <li class="rss"> <a href="<?php if(!get_option("hades_feedburner")) bl oginfo('rss2_url'); else echo "http://feeds.feedburner.com/".trim(get_option("ha des_feedburner")); ?>">Subscribe</a> </li> </ul> </div> </div> <div id="top-bar" class="clearfix container" > <a href="<?php echo home_url(); ?>" id="logo"><img src="<?php echo $logo; ?>" a lt="logo" /></a> <?php include(HPATH."/helper/topbanner.php"); ?>

</div> <div id="main-menu" class="container"> <?php if(function_exists("wp_nav_menu")) { wp_nav_menu(array( 'theme_location'=>'primary_nav', 'container'=>'', 'depth' => 2, 'container_class' => 'clearfix', 'menu_id' => 'menu') ); }

?> </div>

You might also like