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/footer.php
<?php
		global $portadaParentPost;

		$Validation=new Portada_ThemeValidation();
		$WidgetArea=new Portada_ThemeWidgetArea();

		$widgetAreaData=$WidgetArea->getWidgetAreaByPost($portadaParentPost->post,true,true);
		$class=$WidgetArea->getWidgetAreaCSSClass($widgetAreaData);

		if($widgetAreaData['location']==1)
		{
?>	
						</div>
<?php
		}
		elseif($widgetAreaData['location']==2)
		{
?>
						</div>
						<div class="theme-column-right"><?php $WidgetArea->create($widgetAreaData); ?></div>	
<?php
		}
?>
					</div>
				
				</div>
				
				<div class="theme-footer theme-clear-fix">					
<?php
		/***/

		

		if(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_instagram_enable')==1)
		{
			$Instagram=new Portada_ThemeInstagram();
			echo $Instagram->getLatestUserFeed(Portada_ThemeOption::getOption('footer_instagram_username'),Portada_ThemeOption::getOption('footer_instagram_feed_count'));
		}

		/***/
		
		if(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_menu_1')>0)
		{
			$menuAttribute=array
			(
				'menu'				=>	Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_menu_1'),
				'menu_class'		=>	'theme-clear-fix',
				'depth'				=>	1,
				'echo'				=>	0,
				'items_wrap'		=>	'<ul class="theme-reset-list %2$s">%3$s</ul>'
			);
?>
					<div class="theme-footer-menu-1 theme-clear-fix">
						<?php echo wp_nav_menu($menuAttribute); ?>
					</div>
<?php
		}
		
		/***/
		
		if(in_array(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_logo_enable'),array(null,1)))
		{
			if($Validation->isNotEmpty(Portada_ThemeOption::getOption('footer_logo_src')))
			{
?> 
					<div class="theme-main theme-footer-logo theme-clear-fix">
						<a href="<?php echo esc_url(get_home_url()); ?>" title="<?php bloginfo('name'); ?>">
							<img src="<?php echo esc_url(Portada_ThemeOption::getOption('footer_logo_src')); ?>" alt="<?php bloginfo('name'); ?>"/>
						</a>
					</div>
<?php			
			}
		}
		
		/***/
		
		for($i=2;$i<=3;$i++)
		{
			if(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_menu_'.$i)>0)
			{
				$menuAttribute=array
				(
					'menu'				=>	Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_menu_'.$i),
					'menu_class'		=>	'theme-clear-fix',
					'depth'				=>	1,
					'echo'				=>	0,
					'items_wrap'		=>	'<ul class="theme-reset-list %2$s">%3$s</ul>'
				);
?>
					<div class="theme-main theme-footer-menu-2 theme-clear-fix">
						<?php echo wp_nav_menu($menuAttribute); ?>
					</div>
<?php
			}
		}
		
		/***/
		
		if(in_array(Portada_ThemeOption::getGlobalOption($portadaParentPost->post,'footer_bottom_enable'),array(null,1)))
		{
			if($Validation->isNotEmpty(Portada_ThemeOption::getOption('footer_bottom_content')))
			{
?>
					<div class="theme-main theme-footer-bottom theme-clear-fix">
						<?php echo Portada_ThemeOption::getOption('footer_bottom_content'); ?>
					</div>					
<?php
			}
		}
		
		/***/
?>
				</div>
<?php	
		if($Validation->isNotEmpty(Portada_ThemeOption::getOption('custom_js_code')))
		{
?>
				<script type="text/javascript">
					<?php echo Portada_ThemeOption::getOption('custom_js_code'); ?>
				</script>
<?php
		}

		if(Portada_ThemeOption::getOption('go_to_page_top_enable')==1)
		{
?>
				<a href="<?php echo esc_url('#'.Portada_ThemeOption::getOption('go_to_page_top_hash')); ?>" id="theme-go-to-top"></a>
<?php
		}
		
		wp_footer();
?>
			</body>
			
		</html>