<?php get_header(); ?>
<script type="text/javascript">
window.smallResolution = false;
$(document).ready(function() {
recheckPreloadedImages();
/* Social toolTip */
$('#social a').hover( function() {
$(this).find( '.socialname' ).stop().animate({ left: '28px', opacity: 1 }, 500, 'easeInOutExpo');
}, function() {
$(this).find( '.socialname' ).stop().animate({ left: '20px', opacity: 0 }, 500, 'easeInOutExpo');
});
/* Lock toolTip */
$('#lock_content').hover( function() {
$(this).find( '.blocktext' ).stop().animate({ right: '50px', opacity: 1 }, 500, 'easeInOutExpo');
}, function() {
$(this).find( '.blocktext' ).stop().animate({ right: '25px', opacity: 0 }, 500, 'easeInOutExpo');
});
$('ul#menulava').lavaLamp();
//$('.bg_hover').each(function(){
$('.latest-proj, .latest-blog').hover(function(){
$(this).children('.bg_hover').animate({ marginTop: '-19px'}, 100);
}, function(){
$(this).children('.bg_hover').animate({ marginTop: '0px' }, 100);
});
//});
if ( checkResolution() < 1280){
window.smallResolution = true;
}
/*
$('.content').height( $('.gotop').offset().top + $('.gotop').height() );
$('.white_content').height($('.gotop').offset().top + $('.gotop').height() );
*/
blockContent();
window.openingRecentPosts = false;
$('.post .text a').each(function(){
$(this).click(function(){
if ($(this).parents('.post').find('.readmore_text').html() != $("#my_close_text").html())
$(this).parent().siblings('.readmore').click();
});
});
$('.readmore').each(function(){
//HOVER READMORE BEHAVIOR
$(this).children('.readmore_arrow').hover(function(){
$(this).siblings('.readmore_text').stop().animate({
'left': '0px'
}, {
duration: 300,
easing: 'easeInOutExpo'
});
});
$(this).mouseleave(function(){
$(this).children('.readmore_text').stop().animate({
'left': '89px'
},{
duration: 300,
easing: 'easeInOutExpo'
});
});
});
updateReadmoreBehavior();
});
</script>
<!-- HELPERS TO THE LAYOUTS -->
<script type="text/javascript">
/*
jQuery(document).ready(function(){
//$('#dragger_container').height($(window).height());
$(document).mousemove(function(e){
$('#status').html(e.pageY);
var isso = $(window).height()-$('#dragger').height()-20;
$('#status').append('<p style="color:green;">'+$('#dragger').css('top')+'</p>');
//if ( e.pageY > ($(window).height()-$('#dragger').height()) && window.dragging ){
if ( (parseInt($('#dragger').css('top')) > isso || parseInt($('#dragger').css('top')) < 0 ) && window.dragging ){
$('#status').append('<p style="color:red;">mouse f.d up</p>');
$('#dragger').mouseup();
$('#dragger').css('top',$(window).height()-$('#dragger').height()-20);
}
});
});
*/
</script>
</head>
<body onload="window.monitor = setInterval('monitorPercent()',1);">
<div style="display:none;" id="loader-startPage"><?php echo $paged; ?></div>
<div style="display:none;" id="loader-maxPages"><?php if(isset($max)) echo $max; ?></div>
<div style="display:none;" id="loader-nextLink"><?php if(isset($max)) echo next_posts($max, false); ?></div>
<div style="display:none;" id="reading_option"><?php if(isset($reading_option)) echo $reading_option; ?></div>
<div id="status" style="display:none; position: fixed; width: 150px; height: 30px; font-size: 30px; color: white;background: black; top: 0; right: 0; z-index: 99999999;">0</div>
<div id="percent" style="display:none; position: fixed; width: 150px; height: 30px; font-size: 30px; color: #ffcc33;background: black; top: 150px; right: 0; z-index: 99999999;">0</div>
<input type="text" id="inputHeight" style=" display:none; position: fixed; width: 150px; height: 30px; font-size: 30px; color: white; background: black; top: 250px; right: 0; z-index: 99999999;" value="0" />
<div id="templatepath" style="display:none;"><?php echo get_template_directory_uri()."/"; ?></div>
<div id="everything" style="position: relative;">
<div id="wrapper" width="70%">
<div id="gogotop" onclick="gogotop();" style="visibility: hidden;"></div>
<div class="viewport">
<div class="overview">
<!-- start content white -->
<div id="content">
<!-- <div id="slider-vertical" style="height: 150px; position: relative; float: right;"></div> -->
<div class="pattern_left" style="
<?php if(get_option(DESIGNARE_SHORTNAME."_vertical_lines_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_vertical_lines_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_vertical_lines_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_vertical_lines_custom_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_vertical_lines_custom_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_vertical_lines_pattern") . "') 0 0 repeat;";
} ?>
"></div>
<div class="pattern_right" style="
<?php if(get_option(DESIGNARE_SHORTNAME."_vertical_lines_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_vertical_lines_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_vertical_lines_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_vertical_lines_custom_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_vertical_lines_custom_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_vertical_lines_pattern") . "') 0 0 repeat;";
} ?>
"></div>
<div class="white_content" style="
<?php if(get_option(DESIGNARE_SHORTNAME."_body_type") == "none") echo "background: none;"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_body_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_body_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_body_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_custom_body_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_custom_body_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_body_pattern") . "') 0 0 repeat;";
} ?>
">
<div id="top"></div>
<div class="header" style="
<?php if(get_option(DESIGNARE_SHORTNAME."_header_type") == "none") echo "background: none;"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_header_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_header_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_header_type") == "image") echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_header_image") . "') 0 0 no-repeat; background-size: 100% 100%;"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_header_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_header_custom_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_header_custom_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_header_pattern") . "') 0 0 repeat;";
} ?>
">
<div class="top_bar" style="
<?php if(get_option(DESIGNARE_SHORTNAME."_top_line_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_top_line_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_top_line_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_top_line_custom_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_top_line_custom_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_top_line_pattern") . "') 0 0 repeat;";
} ?>
"></div>
<div class="social" id="social">
<ul>
<?php
$column = 0;
$class = "";
if(get_option(DESIGNARE_SHORTNAME."_social_facebook")) {
echo '<li><a href="' . get_option(DESIGNARE_SHORTNAME."_social_facebook") . '" target="_blank" class="facebook" title=""><span class="socialname">Facebook<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_twitter")) {
echo '<li><a href="' . get_option(DESIGNARE_SHORTNAME."_social_twitter") . '" target="_blank" class="twitter" title=""><span class="socialname">Twitter<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_deviantart")) {
echo '<li><a href="' . get_option(DESIGNARE_SHORTNAME."_social_deviantart") . '" target="_blank" class="deviantart" title=""><span class="socialname">DeviantArt<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_forrst")) {
echo '<li><a href="' . get_option(DESIGNARE_SHORTNAME."_social_forrst") . '" target="_blank" class="forrst" title=""><span class="socialname">Forrst<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_stumble")) {
echo '<li><a href="' . get_option(DESIGNARE_SHORTNAME."_social_stumble") . '" target="_blank" class="stumble" title=""><span class="socialname">Stumble<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_picasa")) {
echo '<li><a href="' . get_option(DESIGNARE_SHORTNAME."_social_picasa") . '" target="_blank" class="picasa" title=""><span class="socialname">Picasa<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_flickr")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_flickr") . '" target="_blank" class="flickr" title=""><span class="socialname">Flickr<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_linkedin")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_linkedin") . '" target="_blank" class="linkedin" title=""><span class="socialname">LinkedIn<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_vimeo")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_vimeo") . '" target="_blank" class="vimeo" title=""><span class="socialname">Vimeo<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_youtube")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_youtube") . '" target="_blank" class="youtube" title=""><span class="socialname">Youtube<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_delicious")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_delicious") . '" target="_blank" class="delicious" title=""><span class="socialname">Delicious<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_skype")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_skype") . '" target="_blank" class="skype" title=""><span class="socialname">Skype<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_digg")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_digg") . '" target="_blank" class="digg" title=""><span class="socialname">Digg<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_myspace")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_myspace") . '" target="_blank" class="myspace" title=""><span class="socialname">MySpace<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_yahoo")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_yahoo") . '" target="_blank" class="yahoo" title=""><span class="socialname">Yahoo<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_rss")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_rss") . '" target="_blank" class="rss" title=""><span class="socialname">RSS<span class="arrow"></span></span></a></li>';
$column++;
}
if(get_option(DESIGNARE_SHORTNAME."_social_amazon")) {
if($column >= 6 && $column < 12) $class = 'secondcol';
if($column >= 12) $class = 'thirdcol';
echo '<li class="' . $class . '"><a href="' . get_option(DESIGNARE_SHORTNAME."_social_amazon") . '" target="_blank" class="amazon" title=""><span class="socialname">Amazon<span class="arrow"></span></span></a></li>';
$column++;
}
?>
</ul>
</div>
<!-- YourLogo -->
<!-- <h1><a href="#" class="logo">LOGO</a></h1> -->
<?php
if(get_option(DESIGNARE_SHORTNAME."_logo_type") == "text"){
?>
<h1 class="logo"><a href="javascript:;" onclick="loadContent($('#homeUrl').html());" style="
<?php echo "background: none;"; ?>
<?php echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_logo_font") . "';"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_logo_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;
}
}
?>
<?php echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_logo_size")) . ";"; ?>
<?php echo "color: #" . get_option(DESIGNARE_SHORTNAME."_logo_color") . ";"; ?>
"><?php echo get_option(DESIGNARE_SHORTNAME."_logo_text"); ?></a></h1>
<?php
} else {
?>
<h1 class="logo"><a href="javascript:;" onclick="loadContent($('#homeUrl').html());"><img src="<?php echo get_option(DESIGNARE_SHORTNAME."_logo_image_url"); ?>" alt="<?php _e("my logo"); ?>" title="<?php _e("my logo"); ?>" <?php if(get_option(DESIGNARE_SHORTNAME."_logo_width")) echo "width='" . get_option(DESIGNARE_SHORTNAME."_logo_width") . "'"; ?>></a></h1>
<?php
}
?>
<?php
if(get_option(DESIGNARE_SHORTNAME."_slogan") == "on"){
?>
<div class="slogan" style="
<?php echo "background: none;"; ?>
<?php echo "font-family: '" . get_option(DESIGNARE_SHORTNAME."_slogan_font") . "';"; ?>
<?php
$styles = explode(',', get_option(DESIGNARE_SHORTNAME."_slogan_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;
}
}
?>
<?php echo "font-size: " . str_replace(" ", "", get_option(DESIGNARE_SHORTNAME."_slogan_size")) . ";"; ?>
<?php echo "color: #" . get_option(DESIGNARE_SHORTNAME."_slogan_color") . ";"; ?>
"><?php echo get_bloginfo( 'description' ); ?></div>
<?php
}
?>
<div class="lockk">
<div class="bg-color"></div>
<div class="lock_content" id="lock_content" onclick="toggleBlock();"><span class="blocktext">Unlock Content<span class="arrow"></span></span></div>
</div>
</div>
<div id="nav" class="jqueryslidemenu">
<!--
<ul class="menu" id="menulava">
<li><a href="#">HOME</a></li>
<li><a href="#">PAGES</a></li>
<li><a href="#">PORTFOLIO</a></li>
<li><a href="#">BLOG</a></li>
<li><a href="#">BUY THEME</a></li>
</ul>
-->
<!-- Start Menu -->
<?php wp_nav_menu( array( 'theme_location' => 'Primary Navigation', 'container' => false, 'menu_class' => 'menu', 'menu_id' => 'menulava' ) ); ?>
<!-- End Menu -->
</div>
<!-- start Content -->
<div class="content">
<div class="properContent">
<?php print_sidebar('default'); ?>
<div class="clear"></div>
</div>
<div class="footer">
<p class="copy"><?php if (get_option(DESIGNARE_SHORTNAME."_copyrights")) echo get_option(DESIGNARE_SHORTNAME."_copyrights"); ?></p>
<a href="#" class="gotop" <?php if (get_option(DESIGNARE_SHORTNAME."_show_footer") == 'off') { ?> style="display:none" <?php } ?>></a>
<div class="footer_content" <?php if (get_option(DESIGNARE_SHORTNAME."_show_footer") == 'off') { ?> style="display:none" <?php } ?> style="
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_type") == "color") echo "background: #" . get_option(DESIGNARE_SHORTNAME."_footer_color") . ";"; ?>
<?php if(get_option(DESIGNARE_SHORTNAME."_footer_type") == "pattern"){
if(get_option(DESIGNARE_SHORTNAME."_custom_footer_pattern"))
echo "background: url('" . get_option(DESIGNARE_SHORTNAME."_custom_footer_pattern") . "') 0 0 repeat;";
else
echo "background: url('" . DESIGNARE_PATTERNS_URL . get_option(DESIGNARE_SHORTNAME."_footer_pattern") . "') 0 0 repeat;";
} ?>
">
<?php
if(get_option(DESIGNARE_SHORTNAME . "_footer_number_cols") == "one"){ ?>
<div class="onecol"><?php print_sidebar('footer-one-column'); ?></div>
<?php }
if(get_option(DESIGNARE_SHORTNAME . "_footer_number_cols") == "two"){ ?>
<div class="twocol-one"><?php print_sidebar('footer-two-column-left'); ?></div>
<div class="twocol-one last"><?php print_sidebar('footer-two-column-right'); ?></div>
<?php }
if(get_option(DESIGNARE_SHORTNAME . "_footer_number_cols") == "three"){
if(get_option(DESIGNARE_SHORTNAME . "_footer_columns_order") == "one_three"){ ?>
<div class="threecol-one"><?php print_sidebar('footer-three-column-left'); ?></div>
<div class="threecol-one"><?php print_sidebar('footer-three-column-center'); ?></div>
<div class="threecol-one last"><?php print_sidebar('footer-three-column-right'); ?></div>
<?php }
if(get_option(DESIGNARE_SHORTNAME . "_footer_columns_order") == "one_two_three"){ ?>
<div class="threecol-one"><?php print_sidebar('footer-three-column-left-1_3'); ?></div>
<div class="threecol-two last"><?php print_sidebar('footer-three-column-right-2_3'); ?></div>
<?php }
if(get_option(DESIGNARE_SHORTNAME . "_footer_columns_order") == "two_one_three"){ ?>
<div class="threecol-two"><?php print_sidebar('footer-three-column-left-2_3'); ?></div>
<div class="threecol-one last"><?php print_sidebar('footer-three-column-right-1_3'); ?></div>
<?php }
}
?>
</div>
</div> <!-- fim do footer -->
</div> <!-- end of content -->
</div> <!-- end of white-content -->
</div>
</div>
</div>
<div class="scrollbar">
<div class="track">
<div class="thumb" style="text-align:">
<div class="up" style="position: absolute; top: 4px; width: 100%;"></div>
<div class="down" style="position: absolute; bottom: 4px; width: 100%;"></div>
</div>
</div>
</div>
<!-- <div id="dragger_container"><div id="dragger"></div></div> -->
</div>
<div id="bg">
<div id="next_project">
<div class="thumbs">
<a href="javascript:;" class="open_thumbs">
<span class="p_min">01</span>
<span class="bar"></span>
<span class="p_max">08</span>
</a>
<a href="javascript:;" class="toggleSlideshow play" onclick="toggleSlideshow($(this));">pause</a>
<div class="scrool_thumbs"></div>
</div>
<div class="arrows_projects">
<a href="javascript:;" onclick="clickPreviousImage($(this));" class="previous_proj disable"><</a>
<a href="javascript:;" onclick="clickNextImage($(this));" class="next_proj">></a>
</div>
<div class="info">
<a href="javascript:;" class="open_info" id="open_info">+</a>
<div class="more_info"></div>
</div>
<div class="projectInfoContent">
<?php
$port_category = get_option('walker_main_projects_portfolio_filter');
if($port_category == 'all')
$port_category = null;
$orderby = get_option('walker_main_projects_orderby');
$ob = explode('_', $orderby);
$p_id = 0;
if(get_option(DESIGNARE_SHORTNAME . "_main_projects_first_project") != "default")
$p_id = get_option(DESIGNARE_SHORTNAME . "_main_projects_first_project");
//set the query_posts args
$args= array(
'p' => $p_id,
'posts_per_page' => 1,
'post_type' => DESIGNARE_PORTFOLIO_POST_TYPE,
'orderby' => $ob[0],
'order' => $ob[1],
'portfolio_type' => $port_category
);
$project_id = 1;
query_posts($args);
if(have_posts()) {
while (have_posts()) {
the_post();
$cat_class = "";
$cat_name = "";
$cat_type = "";
$p_type = "";
$terms = get_the_terms($post->ID, 'portfolio_category');
if ( $terms && ! is_wp_error( $terms ) ) {
foreach ( $terms as $t ) {
$cat_class .= $t->slug . " ";
$cat_name .= $t->name . ", ";
}
}
$terms2 = get_the_terms($post->ID, 'portfolio_type');
if ( $terms2 && ! is_wp_error( $terms2 ) ) {
foreach ( $terms2 as $t2 ) {
$cat_type .= $t2->name . ", ";
}
}
$totalImg = 0;
$coll = designare_get_slider_data(get_post_meta($post->ID, 'collection_value', true));
foreach($coll['posts'] as $c){
$p = get_post_meta($c->ID, 'custom_image_url');
if($totalImg == 0) $firstImg = $p[0];
$p_type = $c->post_type;
$totalImg++;
}
?>
<script type="text/javascript">
$(function(){
<?php if($p_type == "photo_collection"){ ?>
getProject(<?php echo $post->ID ?>);
<?php } else { ?>
getVideoProject(<?php echo $post->ID ?>);
<?php } ?>
});
</script>
<div class="title"><?php echo get_the_title(); ?></div>
<div id="projectScroll" class="contentContainer">
<div class="viewport">
<div class="overview">
<div class="contentBG"></div>
<div class="contentText">
<div class="specifications">
<div class="labels"> <?php _e('CATEGORY'); ?> </div>
<div class="inputs category"> <?php echo substr_replace($cat_name, '', -2); ?> </div>
<div class="labels"> <?php _e('PORTFOLIO'); ?> </div>
<div class="inputs project"> <?php echo substr_replace($cat_type, '', -2); ?> </div>
<div class="separator"></div>
</div>
<div class="projectInfo">
<?php echo do_shortcode(get_the_content()); ?>
</div>
</div>
</div>
</div>
<div class="scrollbar">
<div class="track">
<div class="thumb"></div>
</div>
</div>
</div>
<?php } } ?>
<script type="text/javascript">
<?php if ($totalImg < 10){ ?>
$('.open_thumbs .p_max').html('0'+<?php echo $totalImg; ?>);
<?php } else { ?>
$('.open_thumbs .p_max').html('<?php echo $totalImg; ?>');
<?php } ?>
</script>
</div>
</div>
<div id="next_image">
<a href="javascript:;" onclick="clickPreviousProject($(this));" class="previous_proj disable"><span class="seta"><</span> <?php _e('Previous Project'); ?></a>
<a href="javascript:;" onclick="clickNextProject($(this));" class="next_proj"><?php _e('Next Project'); ?> <span class="seta">></span></a>
<div class="img_counter" style="display:none;">
<div class="p_min">0</div>
<div class="p_max"></div>
</div>
</div>
<img src="<?php echo $firstImg; ?>" title="" id="bgimg" />
<div id="bg">
<div id="preloader" style="display:none;">
<div id="roseta_dark">
<div id="rosetagif_dark" title="loading"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/walker.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.hoverIntent.min.js?version=2.0"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jqueryslidemenu.js?version=2.0"></script>
<?php get_footer(); ?>