PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/photostockmall.online/wp-content/themes/stockyr/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/photostockmall.online/wp-content/themes/stockyr/header.php

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
	<head>
		<?php global $edd_options; ?>
		<meta charset="<?php bloginfo( 'charset' ); ?>">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
		<title><?php global $page, $paged;

				wp_title( '|', true, 'right' );

				// Add the blog name.
				bloginfo( 'name' );

				// Add the blog description for the home/front page.
				$site_description = get_bloginfo( 'description', 'display' );
				if ( $site_description && ( is_home() || is_front_page() ) )
				echo " | $site_description";

				// Add a page number if necessary:
				if ( $paged >= 2 || $page >= 2 )
					echo ' | ' . sprintf( __( 'Page %s', 'designcrumbs' ), max( $paged, $page ) ); ?>
		</title>
		<link rel="profile" href="http://gmpg.org/xfn/11">
		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
		
		<?php if (of_get_option('favicon') != '') { ?>
		<link rel="shortcut icon" href="<?php echo stripslashes(of_get_option('favicon')); ?>" />
		<?php } ?>
		
		<?php wp_head(); //important, don't touch me ?>
	</head>
	<body <?php body_class('button_'. stripslashes(of_get_option('button_text')) .' '. stripslashes(of_get_option('layout')) .''); ?>>
		<section id="site_wrap">
		
			<?php if (!is_page_template( 'page-login.php' )) { // don't show this if we're on a login screen ?>
		
			<header class="wrapper" id="header" data-stellar-background-ratio="0.5">
				<div class="container">
					
					<div id="menu_wrap" class="clearfix">
						
						<?php if (!is_front_page()) { ?>
					
						<div id="logo_wrap">
						<?php get_template_part( 'logo' ); ?>
						</div>
						
						<?php } ?>
						
						<a href="#" id="menu_toggle"></a>
						
						<a href="#" id="search_toggle"></a>

						<div id="cart_links" class="clearfix">
							<ul>
							
								<?php if (is_user_logged_in()) { ?>
								
								<li>
									<a href="<?php echo wp_logout_url( home_url() ); ?>" title="<?php _e('Logout', 'designcrumbs'); ?>" id="stocky_logout"><span><?php _e('Logout', 'designcrumbs'); ?></span></a>
								</li>
								
								<?php } else { ?>
								
									<?php if (of_get_option('member_login') != '') { ?>
									<li>
										<a href="<?php echo stripslashes(of_get_option('member_login')) ?>" title="<?php _e('Member Login', 'designcrumbs'); ?>" id="stocky_login">
											<span><?php _e('Member Login', 'designcrumbs'); ?></span>
										</a>
									</li>
									<?php } ?>
									
								<?php } if(function_exists('edd_get_settings')) { ?>
								
								<li>
									<a href="<?php echo get_permalink($edd_options['purchase_page']); ?>" title="<?php _e('Cart', 'designcrumbs'); ?>" id="head_cart">
										<span><?php _e('Cart', 'designcrumbs'); ?> (<span id="header_cart_count" class="edd-cart-quantity"><?php echo edd_get_cart_quantity(); ?></span>)</span>
									</a>
								</li>
								
								<?php } ?>
								
							</ul>
						</div>
						
						<div id="search_wrap">
							<?php get_template_part("searchform","downloads"); ?>
						</div>
						
					</div>
					
					<nav id="main_menu" class="clearfix">
						<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'stocky_menu', 'container_id' => 'stocky_menu_container' ) ); ?>
					</nav>
					
					<?php if ((is_front_page()) || ('download' == get_post_type() && is_search()) || (is_page_template('page-vendor.php')) || ((is_page_template('page-contact.php')) && (((of_get_option('address') != '')) || (of_get_option('phone') != '')) ) ) { ?>
					
					<div id="header_inner" class="<?php echo stripslashes(of_get_option('header_text_color')); if (!(is_front_page())) echo ' search_result_header' ?>">
						
						<?php if ('download' == get_post_type() && is_search()) { ?>
						
							<?php /* Product Search Count */
							$allsearch = new WP_Query("s=$s&showposts=-1&post_type=download");
							$count = $allsearch->post_count;
							if ('0' != $count) { ?>
							
							<h2>
							<?php if ('1' == $count) {
								$string = sprintf( __('1 Product Result for <em>%2$s</em>', 'designcrumbs'), $count, get_search_query() );
							} else {
								$string = sprintf( __('%1$s Product Results for <em>%2$s</em>', 'designcrumbs'), $count, get_search_query() );
							}
							echo $string; ?>
							</h2>
							
							<?php get_template_part("searchform","downloads"); ?>
							
							<?php } ?>
						
						<?php } elseif (is_front_page()) { ?>
						
							<?php get_template_part( 'logo' ); ?>
						
							<h2 id="slogan"><?php echo bloginfo('description'); ?></h2>
							
							<?php get_template_part("searchform","downloads"); ?>
						
						<?php } elseif (is_page_template('page-contact.php')) { ?>

							<div id="stocky_contact_info">
								<div id="stocky_contact_inner" class="clearfix">
									
									<?php if (of_get_option('address') != '') { ?>
										<div class="contact-address">
											<?php echo stripslashes(of_get_option('address')); ?>
										</div>
									<?php } if (of_get_option('phone') != '') { ?>
										<div class="contact-phone">
											<?php echo stripslashes(of_get_option('phone')); ?>
										</div>
									<?php } ?>
									
								</div>
							</div>
							
						<? } if (is_page_template('page-vendor.php')) { 
							
							$author = get_query_var( 'vendor' );
							$author = get_user_by( 'slug', $author );
							
						?>
						
							<h2><?php printf( __( 'The Shop of %s', 'designcrumbs' ), esc_attr( $author->display_name ) ); ?></h2>
						
						<?php } ?>
					
					</div>
					<?php } ?>
					
				</div>
			</header>
			
			<?php } /* end if is page-login.php */ ?>
			
			<section class="wrapper" id="content"><?php // #content ends in footer.php ?>
				<div class="container clearfix"><?php // .container ends in footer.php ?>