<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<?php if (is_search()) { ?>
<meta name="robots" content="index, follow" />
<?php } ?>
<title>
<?php
if (get_option(DESIGNARE_SHORTNAME."_seo_sitetitle")) { echo get_option(DESIGNARE_SHORTNAME."_seo_sitetitle"); }
else{
if (function_exists('is_tag') && is_tag()) {
single_tag_title("Tag Archive for ""); echo '" - '; }
elseif (is_archive()) {
wp_title(''); echo ' Archive - '; }
elseif (is_search()) {
echo 'Search for "'.wp_specialchars($s).'" - '; }
elseif (!(is_404()) && !(is_front_page()) && (is_single()) || (is_page() && !(is_front_page()))) {
wp_title(''); echo ' - ';
}
elseif (is_404()) {
echo 'Not Found - '; }
if (is_home() || is_front_page()) {
bloginfo('name'); echo ' - '; bloginfo('description'); }
else {
bloginfo('name'); }
if ($paged>1) {
echo ' - page '. $paged; }
}
?>
</title>
<meta name="keywords" content="<?php if(get_option(DESIGNARE_SHORTNAME."_seo_keywords")) echo get_option(DESIGNARE_SHORTNAME."_seo_keywords"); ?>">
<meta name="description" content="<?php if(get_option(DESIGNARE_SHORTNAME."_seo_description")) echo get_option(DESIGNARE_SHORTNAME."_seo_description"); ?>">
<link rel="shortcut icon" href="<?php if (get_option(DESIGNARE_SHORTNAME."_favicon")) echo get_option(DESIGNARE_SHORTNAME."_favicon"); ?>">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/default.css">
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/blog.css">
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/css/portfolio.css">
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/editor-style.css">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Serif">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Quicksand">
<link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<!-- Custom Menu/Typo stylesheet -->
<style type="text/css">
a{
<?php if(get_option(DESIGNARE_SHORTNAME."_links_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_links_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_links_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_links_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_links_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_links_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_links_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
a:hover{
<?php if(get_option(DESIGNARE_SHORTNAME."_links_color_hover")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_links_color_hover") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_links_bg_color_hover")) echo "background: #" . get_option(DESIGNARE_SHORTNAME."_links_bg_color_hover") . ";"; else echo "background: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . ";"; ?>
}
p, .colsp{
<?php if(get_option(DESIGNARE_SHORTNAME."_p_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_p_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_p_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_p_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_p_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_p_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_p_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
word-wrap: break-word;
}
h1{
<?php if(get_option(DESIGNARE_SHORTNAME."_h1_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_h1_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h1_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_h1_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h1_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_h1_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_h1_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
h2{
<?php if(get_option(DESIGNARE_SHORTNAME."_h2_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_h2_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h2_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_h2_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h2_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_h2_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_h2_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
h3{
<?php if(get_option(DESIGNARE_SHORTNAME."_h3_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_h3_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h3_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_h3_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h3_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_h3_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_h3_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
h4{
<?php if(get_option(DESIGNARE_SHORTNAME."_h4_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_h4_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h4_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_h4_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h4_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_h4_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_h4_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
h5{
<?php if(get_option(DESIGNARE_SHORTNAME."_h5_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_h5_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h5_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_h5_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h5_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_h5_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_h5_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
h6{
<?php if(get_option(DESIGNARE_SHORTNAME."_h6_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_h6_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h6_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_h6_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_h6_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_h6_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_h6_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
/* MENU */
#content #nav, #nav ul.no-lava{
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_menu_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_menu_custom_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_menu_custom_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_menu_pattern") . "') 0 0 repeat;";
} ?>
}
#content #nav a, ul.no-lava a{
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_menu_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_font_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_menu_font_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_font_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_menu_font_color") . ";"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_menu_font_style"));
foreach ($styles as $style){
switch($style){
case "italic":
echo "font-style: italic; ";
break;
case "bold":
echo "font-weight: bold; ";
break;
case "underline":
echo "text-decoration: underline; ";
break;
}
}
?>
}
#content #nav a:hover, .selectedLava a, .jqueryslidemenu ul li ul li a:hover {
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_selected_hover_font_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_menu_selected_hover_font_color") . " !important;"; ?>
}
#menulava li.backLava{
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_selected_hover_font_color")) echo "border-top: 3px solid #" . get_option(DESIGNARE_SHORTNAME."_menu_selected_hover_font_color") . ";"; ?>
}
.selectedLava .sub-menu a{
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_font_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_menu_font_color") . " !important;"; ?>
}
.footer_content .title, .footer-widget h4, .footer_content .latest-testi{
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_title_font")) echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_footer_title_font") . "';"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_title_size")) echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_footer_title_size")) . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_title_color")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_footer_title_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_title_bg_type") == "none") echo "background: none"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_title_bg_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_footer_title_bg_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_title_bg_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_custom_footer_title_bg_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_custom_footer_title_bg_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_footer_title_bg_pattern") . "') 0 0 repeat;";
} ?>
}
.jqueryslidemenu ul li ul li:hover{
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_shadow_color")) echo "moz-box-shadow: inset 2px 2px 8px 0 #" . get_option(DESIGNARE_SHORTNAME."_menu_shadow_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_shadow_color")) echo "-webkit-box-shadow: inset 2px 2px 8px 0 #" . get_option(DESIGNARE_SHORTNAME."_menu_shadow_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_menu_shadow_color")) echo "box-shadow: inset 2px 2px 8px 0 #" . get_option(DESIGNARE_SHORTNAME."_menu_shadow_color") . ";"; ?>
}
/* HOVERS */
.projectInfoContent .title, .blog_recent_posts .closeRecentPosts:hover{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "color: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . ";"; ?>
}
#commentform #engodoComments:hover, .comments-selector .numberOfComments:hover, .comments-selector .leaveComment:hover, .contact-form .submit:hover, .blog_recent_posts .post .readmore .readmore_text, #wrapper > .scrollbar .track .thumb, .recicle .post-content .thumb, .new .post-content .thumb, .text-bg{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "background: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . ";"; ?>
}
#next_project .info a.open_info:hover, #next_project .arrows_projects a.previous_proj:hover, #next_project .arrows_projects a.next_proj:hover, #next_image a.previous_proj:hover, #next_image a.next_proj:hover{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "background: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . ";"; ?>
}
#next_project .thumbs .play:hover, #next_project .thumbs .pause:hover{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "background-color: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . ";"; ?>
}
#flickr li img:hover{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "border: 2px solid #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . ";"; ?>
}
::selection{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "background: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . "; color: #000"; ?>
}
::-moz-selection{
<?php if(get_option(DESIGNARE_SHORTNAME."_default_style_colors")) echo "background: #" . get_option(DESIGNARE_SHORTNAME."_default_style_colors") . "; color: #000"; ?>
}
</style>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.6.1.min.js?version=2.0"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.easing.1.3.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.lavalamp-1.3.5.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.mousewheel.min.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/menu.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/tabs.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.cycle.lite.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.quicksand.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery-css-transform.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jQuerytools.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/scrollPosts/jquery.tinyscrollbar.min.js?version=2.0"></script>
<!- jQuery Mobile ->
<script type="text/javascript">
$(function() {
if (isMobile.any()) {
var enc = $('').text('<script type="text/javascript" src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"><\/script>').html();
$("head").append(enc);
}
});
</script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jflickrfeed.js?version=2.0"></script>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js?version=2.0"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
<script type="text/javascript">
(function($) {
function init() {
$("#navT").remove();
$('#testimonials2')
.before('<div id="navT">')
.cycle({
fx: 'scrollLeft', // choose your transition type, ex: fade, scrollUp, scrollRight, shuffle
pager: '#navT'
});
$('#testimonials2').mouseover(function() {
$('#testimonials2').cycle('pause');
});
$('#testimonials2').mouseout(function() {
$('#testimonials2').cycle('resume');
});
//$( ".shortcode-tabs" ).tabs();
//$("#accordion").tabs("#accordion div.pane", {tabs: 'h2', effect: 'slide', initialIndex: null});
$(".tabs").tabs(".panes > div", {effect: "fade"});
//$("#accordion").tabs("#accordion div.pane", {tabs: 'h2', effect: 'slide', initialIndex: 0});
$("#menulava li").eq(0).addClass("first");
$("#menulava ul.sub-menu").each(function(){
$(this).addClass("no-lava");
$(this).parent().addClass("arrowdrop");
})
// Disable the lavalamp effect on the drop-down menu links
if ( jQuery().lavaLamp ) {
$( '.no-lava li' ).attr( 'rel', 'noLava');
$( '.no-lava li a').css('color' , '#666 !important');
$('.no-lava li a').hover(function(){
$(this).css('color','#fff !important');
}, function(){
$(this).css('color','#666 !important');
});
}
//Google Maps
initializeMaps();
initProjs();
$(".projectCategories").html($("#cat_helper").html());
$("#cat_helper").html("");
quicksandstart();
window.setTimeout(function(){$('.bg-color').css('display','block');},1000);
window.firstTime = 1;
}
$(document).ready(init);
})(jQuery);
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30223674-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<?php wp_head(); ?>