<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Por favor, no cargue esta página directamente. Gracias!'); if ( post_password_required() ) { ?> <p class="nocomments">Protegido por contraseña.</p> <?php return; } ?> <div class="comments-box"> <a name="comments" id="comments"></a> <?php if ( have_comments() ) : ?> <h3> <?php comments_number('0 Comentarios', '1 Comentario', '% Comentarios' );?> </h3> <div class="navigation"> <div class="previous"> <?php previous_comments_link() ?> </div> <div class="next"> <?php next_comments_link() ?> </div> </div> <ol class="commentlist"> <?php wp_list_comments('type=comment&callback=mytheme_comment'); ?> </ol> <div class="navigation"> <div class="left"> <?php previous_comments_link() ?> </div> <div class="right"> <?php next_comments_link() ?> </div> </div> <?php else : ?> <?php if ('open' == $post->comment_status) : ?> <?php else : ?> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <div id="respond"> <h3>Comentar</h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p><a href="http://www.familiapixel.com/login" id="boton"><?php print 'Inicia sesión'; ?></a></p></br> <p><a href="http://www.familiapixel.com/login/?action=register" id="boton"><?php print 'Regístrate'; ?></a></p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p><?php print 'Registrado como'; ?> <a href="http://www.familiapixel.com/login/?action=profile"><?php echo $user_identity; ?></a>. <a href="http://www.familiapixel.com/login/?action=logout&_wpnonce=a364a94548" title="Descanectarse"><?php print 'Desconectarse'; ?> »</a></p> <?php else : ?> <p> <input class="author" type="text" value="Nombre" onclick="this.value='';" name="author" id="author" size="22" tabindex="1"/> <label for="author"><small> <?php if ($req) echo "(Requerido)"; ?> </small></label> </p> <p> <input class="email" type="text" value="Correo electrónico" onclick="this.value='';" name="email" id="email" size="22" tabindex="2"/> <label for="email"><small>(No será publicado) <?php if ($req) echo " (Requerido)"; ?> </small></label> </p><?php endif; ?><p> <textarea name="comment" id="comment"></textarea> </p> <p> <?php do_action('comment_form', $post->ID); ?> <input type="submit" name="wp-submit" id="wp-submit1" value="Comentar"> <?php comment_id_fields(); ?> </p> </form> <?php endif; ?> </div> <?php endif; ?> </div>