File: /home/c1190199/public_html/wp-content/wptouch-data/themes/classic-redux/default/comments.php
<?php if ( !empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) { ?>
die ( 'Please do not load this page directly. Thanks!' );
<?php } ?>
<?php if ( post_password_required() ) { return; } ?>
<script type="text/javascript">
<!--
function toggle_visibility(id) {
var x = document.getElementById(id);
if(x.style.display === 'block')
x.style.display = 'none';
else
x.style.display = 'block';
}
//-->
</script>
<?php if ( have_comments() ) { ?>
<ol class="commentlist" style="padding:4px;margin-top:25px;margin-bottom:20px;">
<?php
echo '<h3 style="margin-left:10px;"><a style="cursor:pointer;" onclick="toggle_visibility(\'commentoggle\')">'; $comment_string1 = __( 'Sin comentarios' );
$comment_string2 = __( '1 comentario' );
$comment_string3 = __( '% comentarios' );
comments_number( $comment_string1, $comment_string2, $comment_string3 );
echo '</a></h3>';
?>
<a onclick="toggle_visibility('commentoggle')" style="float:right;margin-top:-43px;margin-right:10px;" id="com-head"><i class="fa fa-comments fa-2x"></i></a>
</ol>
<ol class="commentlist" id="commentoggle" style="padding-top:15px;display:none;margin-bottom:20px;">
<?php wp_list_comments( 'type=comment&avatar_size=80&max_depth=1&callback=wptouch_fdn_display_comment' ); ?>
<?php if ( wptouch_fdn_comments_pagination() ) { ?>
<?php if ( get_option( 'default_comments_page' ) == 'newest' ) { ?>
<?php if ( get_previous_comments_link() ) { ?>
<li class="load-more-comments-wrap">
<?php previous_comments_link( __( 'Cargar más comentarios…' ) ); ?>
</li>
<?php } ?>
<?php } else { ?>
<?php if ( get_next_comments_link() ) { ?>
<li class="load-more-comments-wrap">
<?php next_comments_link( __( 'Cargar más comentarios…' ) ); ?>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
</ol>
<?php } else { ?>
<?php if ( comments_open() ) { ?>
<!-- If comments are open, but there are no comments -->
<h3 class="result-text coms-closed" style="color:#00cc33;text-align:center;margin-left:10px;margin-right:10px;margin-top:30px;margin-bottom:30px;">Sin comentarios aún...<br />¡Sé el primero en dejar uno!</h3>
<?php } else { ?>
<p class="nocomments" style="color:#00cc33;text-align:center;margin-left:10px;margin-right:10px;margin-top:30px;margin-bottom:30px;"><?php _e( 'Comentarios desactivados para esta entrada' ); ?></p>
<?php }?>
<?php } ?>
<!-- End of dealing with the comments, now the comment form -->
<!-- Contenido Coincidente START -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-6850029095430543"
data-ad-slot="2115403935"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Contenido Coincidente END -->
<?php if ( comments_open() ) { ?>
<div id="respond">
<h3 style="margin-top:30px !important;margin-left:5px;"><?php comment_form_title( __( 'Dejar un comentario' ) ); ?></h3>
<?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) { ?>
<p><?php echo sprintf( __( 'You must be %slogged in%s to post a comment.', 'wptouch-pro' ), '<a class="login-req" href="' . esc_url( wp_login_url( get_permalink() ) ) . '">', '</a>' ); ?></p>
<?php } else { ?>
<form action="<?php wptouch_bloginfo( 'wpurl' ); ?>/wp-comments-post.php" method="post" id="commentform" style="margin-right:2px;margin-left:2px;">
<?php comment_id_fields(); ?>
<?php if ( is_user_logged_in() ) { ?>
<p><?php _e( 'Logged in as', 'wptouch-pro' ); ?> <?php echo $user_identity; ?>. <a href="<?php echo esc_url( wp_logout_url( esc_url_raw( $_SERVER['REQUEST_URI'], array( 'http', 'https' ) ) ) ); ?>" title="Log out"><?php _e( 'Log out', 'wptouch-pro' ); ?> »</a></p>
<?php } else { ?>
<p><input type="text" name="author" id="author" value="<?php echo esc_attr( $comment_author ); ?>" size="22" <?php if ( $req ) echo "aria-required='true'"; ?> /> <label for="author" style="margin-left:3px;"><?php _e( 'Name', 'wptouch-pro' ); ?><?php if ( $req ) echo "*"; ?></label></p>
<p><input type="email" autocapitalize="off" name="email" id="email" value="<?php echo esc_attr( $comment_author_email ); ?>" size="22" <?php if ( $req ) echo "aria-required='true'"; ?> tabindex="11" /> <label for="email" style="margin-left:3px;">E-Mail<?php if ( $req ) echo "*"; ?></label></p>
<p><input type="url" autocapitalize="off" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" /> <label for="url" style="margin-left:3px;">Sitio Web</label></p>
<?php } ?>
<p><textarea name="comment" id="comment"></textarea></p>
<p><label for="wp-comment-cookies-consent"><input style="width:auto !important;box-shadow: none;" id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" <?php ' . $consent . ' ?> /> Guarda mis datos en este navegador para la próxima vez que comente.</label></p>
<?php do_action( 'comment_form', $post->ID ); ?>
<p><button name="submit" type="submit" id="submit" style="background-color:#00cc33;color:#111;" >ENVIAR COMENTARIO</button></p>
</form>
<?php } ?>
</div><!-- #respond // end dealing with the comment form -->
<?php }