<?php
/**
 * @version    $Id$
 * @package    IT_Theme_Framework
 * @author     InnoThemes Team <support@innothemes.com>
 * @copyright  Copyright (C) 2012 InnoThemes.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Websites: http://www.innothemes.com
 */

// Get theme options
global $it_options;

if ( $it_options['logo_image'] ) {
	?>
				<a class="desktop-logo" href="<?php echo home_url(); ?>"><img src="<?php echo esc_url( $it_options['logo_image'] ); ?>" /></a>
				<small class="it-slogan"><?php bloginfo( 'description' ); ?></small>
	<?php
} else {
	?>
				<a class="desktop-logo" href="<?php echo home_url(); ?>" rel="home">
					<h1 id="it-logo-text"><?php bloginfo( 'name' ); ?></h1>
					<small class="it-slogan"><?php bloginfo( 'description' ); ?></small>
				</a>
	<?php
}

if ( $it_options['logo_image_retina'] ) {
	?>
				<a class="retina-logo" href="<?php echo home_url(); ?>"><img src="<?php echo esc_url( $it_options['logo_image_retina'] ); ?>" /></a>
	<?php
} else {
	?>
				<a class="retina-logo" href="<?php echo home_url(); ?>" rel="home"><h1 id="it-logo-text"><?php bloginfo( 'name' ); ?></h1></a>
	<?php
}

if ( $it_options['logo_image_responsive'] ) {
	?>
				<a class="responsive-logo" href="<?php echo home_url(); ?>"><img src="<?php echo esc_url( $it_options['logo_image_responsive'] ); ?>" /></a>
	<?php
} else {
	?>
				<a class="responsive-logo" href="<?php echo home_url(); ?>" rel="home"><h1 id="it-logo-text"><?php bloginfo( 'name' ); ?></h1></a>
	<?php
}
