HEX
Server: Apache
System: Linux c119.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/wp-content/themes/TheProfessional/home.php
<?php get_header(); ?>
	
	<div id="content-top"<?php if (get_option('professional_blog_style') == 'on') echo(' class="top-alt"'); ?>></div>
	<div id="content" class="clearfix<?php if (get_option('professional_blog_style') == 'on') echo(' content-alt'); ?>">
		<?php if (get_option('professional_blog_style') == 'false') { ?>

			<?php for ($i = 1; $i <= 3; $i++) { ?>
				<?php query_posts('page_id=' . get_pageId(html_entity_decode(get_option('professional_service_'.$i)))); while (have_posts()) : the_post(); ?>
					<div class="service">
						<?php $icon = '';
						$icon = get_post_meta($post->ID, 'Icon', true);
						$tagline = '';
						$tagline = get_post_meta($post->ID, 'Tagline', true); ?>
						
						<?php if ($icon <> '') { ?>
							<img class="service-icon" alt="" src="<?php echo $icon; ?>"/>
						<?php }; ?>
						
						<h3 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
						
						<?php if ($tagline <> '') { ?>
							<span class="tagline"><?php echo($tagline); ?></span>
						<?php }; ?>
						
						<div class="hr"></div>
						<?php global $more;   
						$more = 0;
						the_content(""); ?>
						<a href="<?php the_permalink(); ?>" class="readmore"><span><?php _e('leer más','Professional'); ?></span></a>
					</div> <!-- end .service -->
				<?php endwhile; wp_reset_query(); ?>
			<?php }; ?>
			
		<?php } else { ?>
			<div id="content-area">
				<?php if (get_option('professional_duplicate') == 'false') {
					$args=array(
						   'showposts'=>get_option('professional_homepage_posts'),
						   'post__not_in' => $ids,
						   'paged'=>$paged,
						   'category__not_in' => get_option('professional_exlcats_recent'),
					);
				} else {
					$args=array(
					   'showposts'=>get_option('professional_homepage_posts'),
					   'paged'=>$paged,
					   'category__not_in' => get_option('professional_exlcats_recent'),
					);
				};
				query_posts($args); ?>
				
				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
					<?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
				<?php endwhile; ?>
					<div class="hr-separator"></div>
					<div class="entry page-nav clearfix">
						<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
						else { ?>
							 <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
						<?php } ?>
					</div> <!-- end .entry -->
					
				<?php else : ?>
					<?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
				<?php endif; wp_reset_query(); ?>
			</div> <!-- end #content-area -->
			
			<?php get_sidebar(); ?>
			
		<?php }; ?>
		
	</div> <!-- end #content-->
	<div id="content-bottom"<?php if (get_option('professional_blog_style') == 'on') echo(' class="bottom-alt"'); ?>></div>
				
<?php get_footer(); ?>