<!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<meta name="viewport" content="width=device-width" />
<?php
global $page, $paged;
$title = '';
$title .= wp_title('|', false, 'right');
$title .= get_bloginfo('name');
$site_description = get_bloginfo('description', 'display');
if ($site_description && (is_home() || is_front_page())) {
$title .= ' | ' . $site_description;
}
if ($paged >= 2 || $page >= 2) {
$title .= ' | ' . sprintf(__('Page %s', 'makintab'), max($paged, $page));
}
?>
<title><?php echo $title; ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
if (is_singular() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}
wp_head();
?>
</head>
<?php $singular = (is_singular() || is_404() ? 'singular' : ''); ?>
<body <?php body_class($singular); ?>>
<div id="container" class="hfeed">
<div id="header-wrap">
<div id="header">
<div id="branding">
<h1 id="site-title"><a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></h1>
<h2 id="site-description"><?php bloginfo('description'); ?></h2>
</div><!-- #branding -->
<div class="widget-area">
<div class="widget widget_socialnet">
<?php padd_theme_widget_socialnet(); ?>
</div><!-- .widget widget_search -->
</div>
<div class="clear"></div>
</div><!-- #header -->
</div><!-- #header-wrap -->
<div id="menubar-wrap">
<div id="menubar">
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'container' => false,
));
?>
</div><!-- #menubar -->
</div><!-- #menubar -->
<?php $slideshow = Padd_Option::get('slideshow_enable') == '1' ? true : false; ?>
<?php if (is_front_page() && $slideshow) : ?>
<div id="intro-wrap">
<div id="intro-slideshow">
<?php echo wp_bannerFlash_short_php(1,2,3,4,5); ?>
</div><!-- #intro-slideshow -->
<div id="intro-headlines">
<h2><?php echo __('Portafolios', PADD_THEME_SLUG); ?></h2>
<?php
$cat = Padd_Option::get('headline_category');
$args = array (
'cat_before' => '<h3 class="featured-category-title">Latest on',
'cat_after' => '</h3>',
'show_meta' => false
);
if (!empty($cat)) {
padd_category_items(intval($cat), $args);
}
?>
</div><!-- #intro-headlines -->
</div><!-- #intro-wrap -->
<?php endif; ?>
<div id="main">