HEX
Server: Apache
System: Linux c124.dattaweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: c1190199 (57165)
PHP: 7.4.33
Disabled: mail, system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd, eval, dl, imap_mail, libvirt_connect, gnupg_init, unsetenv, apache_setenv, pcntl_exec, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_getpriority, pcntl_setpriority, pcntl_async_signals, opcache_get_status, opcache_reset, opcache_get_configuration
Upload Files
File: /home/c1190199/public_html/_alex/wp-content/themes/portada/header.php
<?php ob_start(); ?>
<!DOCTYPE html>
<?php
		global $post,$portadaParentPost;

		$Theme=new Portada_Theme();
		
		$Post=new Portada_ThemePost();
		$Page=new Portada_ThemePage();
		$Menu=new Portada_ThemeMenu();
		$Plugin=new Portada_ThemePlugin();
		$Validation=new Portada_ThemeValidation();
		$WooCommerce=new Portada_ThemeWooCommerce();
		
		if(($portadaParentPost=$Post->getPost())===false) 
		{
			$portadaParentPost=new stdClass();
			$portadaParentPost->post=$post;
		}
?>
		<html xmlns="http://www.w3.org/1999/xhtml" <?php echo (Portada_ThemeOption::getOption('open_graph_enable')==1 ? ' prefix="og:http://ogp.me/ns#"' : null); ?> <?php language_attributes(); ?>>

			<head>
				<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
				<meta name="format-detection" content="telephone=no"/>
				<?php echo $Theme->createOpenGraphMetaTag(); ?>
<?php
		if(Portada_ThemeOption::getOption('responsive_mode_enable')==1)
		{
?>
				<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<?php
		}
?>
				<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php				
		wp_site_icon();
		wp_head(); 
?>
			</head>

			<body <?php body_class(); ?>>

				<div class="theme-header">
<?php
		if((Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_top_social_icon_enable')==1) || (Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_top_bar_search_enable')==1))
		{
?>	
					<div class="theme-header-top-bar">
						
						<div class="theme-main theme-clear-fix">
<?php
			if(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_top_social_icon_enable')==1)
			{
?>
							<div class="theme-header-top-bar-social-icon">
<?php
				$SocialProfile=new Portada_ThemeSocialProfile();
				echo $SocialProfile->createSocialProfile();
?>
							</div>
<?php
			}
				
			if(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_top_bar_search_enable')==1)
			{
?>
							<div class="theme-header-top-bar-search">
								<form action="<?php echo get_site_url(); ?>" method="GET">
									<div>
										<label class="theme-infield-label" for="s_"><?php esc_attr_e('Type and hit enter...','portada'); ?></label>
										<input type="text" id="s_" name="s" value=""/>
									</div>
								</form>
							</div>						
<?php
			}
			
			if(Portada_ThemePlugin::isActive('WooCommerce'))
			{
				global $woocommerce;
?>
							<div class="theme-header-top-bar-woocommerce-icon">
								<a class="theme-woocommerce-icon" href="<?php echo esc_url(wc_get_cart_url()); ?>">
									<span><?php echo (int)$woocommerce->cart->cart_contents_count; ?></span>
								</a>
							</div>
<?php				
			}
?>
						</div>
							
					</div>
<?php
		}
		
		$headerType='text';
		
		if(in_array(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_logo_enable'),array(null,1)))
		{
			if($Validation->isNotEmpty(Portada_ThemeOption::getOption('header_logo_src')))
			{
				$headerType='logo';
?>
					<div class="theme-main">
						<div class="theme-header-logo">
							<a href="<?php echo esc_url(get_home_url()); ?>" title="<?php bloginfo('name'); ?>">
								<img src="<?php echo esc_url(Portada_ThemeOption::getOption('header_logo_src')); ?>" alt="<?php bloginfo('name'); ?>"/>
							</a>
						</div>		
					</div>
<?php			
			}
		}	
?>
					<div class="theme-main">
<?php
		echo $Menu->create();
		if($Plugin->isActive('RevSliderSlider'))
		{
			if(!in_array(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_revolution_slider_id'),array('0','-1')))
			{
?>
						<div class="theme-header-revolution-slider">
							<?php echo do_shortcode('[rev_slider alias="'.Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'header_revolution_slider_id').'"]'); ?>
						</div>								
<?php
			}
		}
?>
					</div>
					
				</div>
						
				<div class="theme-content">
<?php
		global $portada_sidebarEnable;
		
		$portada_sidebarEnable=false;
	
		$WidgetArea=new Portada_ThemeWidgetArea();
						
		$widgetAreaData=$WidgetArea->getWidgetAreaByPost($portadaParentPost->post,true,true);
		$class=$WidgetArea->getWidgetAreaCSSClass($widgetAreaData);			
?>
					<div class="theme-main theme-clear-fix <?php echo esc_attr($class); ?>">	
<?php
		if($widgetAreaData['location']==1)
		{
			$portada_sidebarEnable=true;
?>
						<div class="theme-column-left"><?php $WidgetArea->create($widgetAreaData); ?></div>
						<div class="theme-column-right">
<?php
		}
		elseif($widgetAreaData['location']==2)
		{
			$portada_sidebarEnable=true;
?>
						<div class="theme-column-left">
<?php
		}
		
		if(!is_single()) 
		{
			$Post->getTitle();
		}