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/wptouch-data/themes/classic-redux/default/related-posts.php
<div>
		<h3 style="padding-bottom:5px;padding-top:10px;padding-left:15px;">Artículos relacionados</h3>
</div>
<?php
  $orig_post = $post;
  global $post;
  $tags = wp_get_post_tags($post->ID);
   
  if ($tags) {
  $tag_ids = array();
  foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id;
  $args=array(
  'tag__in' => $tag_ids,
  'post__not_in' => array($post->ID),
  'orderby' => 'rand',
  'posts_per_page'=>6, // Number of related posts to display.
  'caller_get_posts'=>1
  );
   
  $my_query = new wp_query( $args );
 
  while( $my_query->have_posts() ) {
  $my_query->the_post();
  ?>
<?php if( $my_query->current_post == 3) { ?>
<div align="center" style="margin-left:12px;margin-right:12px;margin-bottom:5px; display:block;text-align:center;vertical-align:middle;">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="fluid"
     data-ad-layout-key="-fe+5z+2p-fg+ht"
     data-ad-client="ca-pub-6850029095430543"
     data-ad-slot="5789581179"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<?php } ?>
<!-- Let's recommend cool stuff -->
<div class="box clearfix <?php if ( classic_should_show_thumbnail() ) { echo 'show-thumbnails'; } ?>" style="background-color:#1c1c1c;color:#eeeeee;">
	<?php if ( classic_should_show_thumbnail() && wptouch_has_post_thumbnail() ) { ?>
		<a href="<?php wptouch_the_permalink(); ?>" style="border-color:#656565 !important;float:left;margin-left:-1px;margin-right:5px !important;display:block;margin-top:3px;margin-bottom:20px;width:64px;height:64px;clear:both;"><img src="<?php echo get_template_directory_uri(); ?>/timthumb.php?src=<?php echo get_fbimage() ?>&w=120&h=120&zc=1" alt="thumbnail" class="post-thumbnail wp-post-image" style="border-color:#656565 !important;background-color:#656565 !important;border:1px solid #ccc;border-radius:3px !important;border-top-right-radius:3px !important;" width="64" height="64" /></a>
	<?php } else if ( classic_should_show_thumbnail() && !wptouch_has_post_thumbnail() ) { ?>
		<a href="<?php wptouch_the_permalink(); ?>" style="border-color:#656565 !important;margin-left:-1px;float:left;margin-right:5px !important;display:block;margin-top:3px;margin-bottom:20px;width:64px;height:64px;clear:both;"><img src="<?php echo get_template_directory_uri(); ?>/timthumb.php?src=<?php echo get_fbimage() ?>&w=120&h=120&zc=1" alt="thumbnail" class="post-thumbnail wp-post-image" style="border-color:#656565 !important;background-color:#656565 !important;border:1px solid #ccc;border-radius:3px !important;border-top-right-radius:3px !important;" width="64" height="64" /></a>
	<?php } ?>
	<div class="text-expand wptouch-icon-chevron-down" style="background-color:#006600 !important;color:#eeeeee !important;margin-left:2px;margin-right:-1px;padding:5px 5px 3px 5px;"></div>

	<h2 class="post-title heading-font" style="margin-left:-5px !important;">
		<a href="<?php wptouch_the_permalink(); ?>"><?php the_title(); ?></a>
	</h2>

	<div class="post-meta clearfix" style="position:relative;left:0px;margin-left:58px;" >
		<div class="time-author">
			<?php if ( classic_should_show_date() ) { ?>
				<i class="wptouch-icon-time"></i> <?php wptouch_the_time('j \d\e\ F \d\e\ Y'); ?>
			<?php } ?>
			<?php if ( classic_should_show_author() ) { ?>
				<div class="author">
					<?php if ( !classic_should_show_date() ) { ?>
						<i class="wptouch-icon-user"></i>
					<?php } ?>
					<em><?php _e( 'por', 'wptouch-pro' ); ?></em> <?php the_author(); ?>
				</div>
			<?php } ?>
		</div>

		<?php if ( wptouch_get_comment_count() > 0 && ( comments_open() || wptouch_have_comments() ) ) { ?>
			<div class="comments">
				<i class="wptouch-icon-comment"></i>
				<a href="<?php wptouch_the_permalink(); ?>#comments">
					<?php comments_number( __( 'Sin comentarios', 'wptouch-pro' ), __( '1 comentario', 'wptouch-pro' ), __( '% comentarios', 'wptouch-pro' ) ); ?>
				</a>
			</div>
		<?php } ?>

		<?php if ( classic_should_show_taxonomy() ) { ?>
			<?php if ( wptouch_has_categories() ) { ?>
				<div class="cat-tags"><i class="wptouch-icon-th"></i> <?php wptouch_the_categories(); ?></div>
			<?php } ?>

			<?php if ( wptouch_has_tags() ) { ?>
				<div class="cat-tags"><i class="wptouch-icon-tags"></i> <?php wptouch_the_tags(); ?></div>
			<?php } ?>
		<?php } ?>
	</div>

	<div class="post-content" style="display: none;">
		<?php wptouch_the_excerpt(); ?>
		<a class="read-more" href="<?php wptouch_the_permalink(); ?>">
			<?php if ( wptouch_should_load_rtl() ) { ?>
				<i class="wptouch-icon-chevron-left"></i>
			<?php } ?>

			<?php _e( 'Leer este artículo', 'wptouch-pro' ); ?>

			<?php if ( !wptouch_should_load_rtl() ) { ?>
				<i class="wptouch-icon-chevron-right"></i>
			<?php } ?>
		</a>
	</div>
    </div>
  <? }
  }
  $post = $orig_post;
  wp_reset_query();
  ?>

	<!-- no posts -->