-
+ 93F30C1E6E23C73675CEA9A757B592E191C7B28AA732F41D8AF05A9C18FBE0A43A8F568DCC86E7CE4241039C73A175766961AD8F985E01BDD814DF3E7239D994
mp-wp/wp-content/themes/default/comments.php
(0 . 0)(1 . 99)
66487 <?php
66488 /**
66489 * @package WordPress
66490 * @subpackage Default_Theme
66491 */
66492
66493 // Do not delete these lines
66494 if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
66495 die ('Please do not load this page directly. Thanks!');
66496
66497 if ( post_password_required() ) { ?>
66498 <p class="nocomments">This post is password protected. Enter the password to view comments.</p>
66499 <?php
66500 return;
66501 }
66502 ?>
66503
66504 <!-- You can start editing here. -->
66505
66506 <?php if ( have_comments() ) : ?>
66507 <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
66508
66509 <div class="navigation">
66510 <div class="alignleft"><?php previous_comments_link() ?></div>
66511 <div class="alignright"><?php next_comments_link() ?></div>
66512 </div>
66513
66514 <ol class="commentlist">
66515 <?php wp_list_comments(); ?>
66516 </ol>
66517
66518 <div class="navigation">
66519 <div class="alignleft"><?php previous_comments_link() ?></div>
66520 <div class="alignright"><?php next_comments_link() ?></div>
66521 </div>
66522 <?php else : // this is displayed if there are no comments so far ?>
66523
66524 <?php if ('open' == $post->comment_status) : ?>
66525 <!-- If comments are open, but there are no comments. -->
66526
66527 <?php else : // comments are closed ?>
66528 <!-- If comments are closed. -->
66529 <p class="nocomments">Comments are closed.</p>
66530
66531 <?php endif; ?>
66532 <?php endif; ?>
66533
66534
66535 <?php if ('open' == $post->comment_status) : ?>
66536
66537 <div id="respond">
66538
66539 <h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
66540
66541 <div class="cancel-comment-reply">
66542 <small><?php cancel_comment_reply_link(); ?></small>
66543 </div>
66544
66545 <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
66546 <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
66547 <?php else : ?>
66548
66549 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
66550
66551 <?php if ( $user_ID ) : ?>
66552
66553 <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p>
66554
66555 <?php else : ?>
66556
66557 <?php $suffix = substr(md5(date('Y-m-d').$_SERVER['REMOTE_ADDR']).$_SERVER['HTTP_USER_AGENT'],6,7); ?>
66558 <p><input type="text" name="author<?php echo $suffix;?>" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
66559 <label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
66560
66561 <p><input type="text" name="email<?php echo $suffix;?>" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
66562 <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
66563
66564 <p><input type="text" name="url<?php echo $suffix;?>" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
66565 <label for="url"><small>Website</small></label></p>
66566
66567
66568 <?php endif; ?>
66569
66570 <!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
66571
66572 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
66573
66574 <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
66575 <input type="hidden" name="comment_post_time" value="<?php echo time(),"-",$_SERVER['REMOTE_ADDR']; ?>" />
66576 <?php comment_id_fields(); ?>
66577 </p>
66578 <?php do_action('comment_form', $post->ID); ?>
66579
66580 </form>
66581
66582 <?php endif; // If registration required and not logged in ?>
66583 </div>
66584
66585 <?php endif; // if you delete this the sky will fall on your head ?>