-
+ 10367854B5E3954B6E037469E5FECE559A76ED62D0F13AE8F1662264B257DFF416A111ECD9CEFDEA99209F655B5CCE3F318C679CE143993B2ED271776823E300
mp-wp/wp-content/themes/default/comments-popup.php
(0 . 0)(1 . 126)
66357 <?php
66358 /**
66359 * @package WordPress
66360 * @subpackage Default_Theme
66361 */
66362 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
66363 <html xmlns="http://www.w3.org/1999/xhtml">
66364 <head>
66365 <title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title>
66366
66367 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
66368 <style type="text/css" media="screen">
66369 @import url( <?php bloginfo('stylesheet_url'); ?> );
66370 body { margin: 3px; }
66371 </style>
66372
66373 </head>
66374 <body id="commentspopup">
66375
66376 <h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
66377
66378 <?php
66379 /* Don't remove these lines. */
66380 add_filter('comment_text', 'popuplinks');
66381 if ( have_posts() ) :
66382 while ( have_posts() ) : the_post();
66383 ?>
66384 <h2 id="comments">Comments</h2>
66385
66386 <p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
66387
66388 <?php if ('open' == $post->ping_status) { ?>
66389 <p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
66390 <?php } ?>
66391
66392 <?php
66393 // this line is WordPress' motor, do not delete it.
66394 $commenter = wp_get_current_commenter();
66395 extract($commenter);
66396 $comments = get_approved_comments($id);
66397 $post = get_post($id);
66398 if ( post_password_required($post) ) { // and it doesn't match the cookie
66399 echo(get_the_password_form());
66400 } else { ?>
66401
66402 <?php if ($comments) { ?>
66403 <ol id="commentlist">
66404 <?php foreach ($comments as $comment) { ?>
66405 <li id="comment-<?php comment_ID() ?>">
66406 <?php comment_text() ?>
66407 <p><cite><?php comment_type('Comment', 'Trackback', 'Pingback'); ?> by <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
66408 </li>
66409
66410 <?php } // end for each comment ?>
66411 </ol>
66412 <?php } else { // this is displayed if there are no comments so far ?>
66413 <p>No comments yet.</p>
66414 <?php } ?>
66415
66416 <?php if ('open' == $post->comment_status) { ?>
66417 <h2>Leave a comment</h2>
66418 <p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
66419
66420 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
66421 <?php if ( $user_ID ) : ?>
66422 <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>
66423 <?php else : ?>
66424 <?php $suffix = substr(md5(date('Y-m-d').COMMENT_SALT),0,6); ?>
66425 <p>
66426 <input type="text" name="author<?php echo $suffix;?>" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
66427 <label for="author">Name</label>
66428 </p>
66429
66430 <p>
66431 <input type="text" name="email<?php echo $suffix;?>" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
66432 <label for="email">E-mail</label>
66433 </p>
66434
66435 <p>
66436 <input type="text" name="url<?php echo $suffix;?>" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
66437 <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label>
66438 </p>
66439 <?php endif; ?>
66440
66441 <p>
66442 <label for="comment">Your Comment</label>
66443 <br />
66444 <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
66445 </p>
66446
66447 <p>
66448 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
66449 <input type="hidden" name="comment_post_time" value="<?php echo time(),"-",$_SERVER['REMOTE_ADDR']; ?>" />
66450 <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
66451 <input name="submit" type="submit" tabindex="5" value="Say It!" />
66452 </p>
66453 <?php do_action('comment_form', $post->ID); ?>
66454 </form>
66455 <?php } else { // comments are closed ?>
66456 <p>Sorry, the comment form is closed at this time.</p>
66457 <?php }
66458 } // end password check
66459 ?>
66460
66461 <div><strong><a href="javascript:window.close()">Close this window.</a></strong></div>
66462
66463 <?php // if you delete this the sky will fall on your head
66464 endwhile; //endwhile have_posts()
66465 else: //have_posts()
66466 ?>
66467 <p>Sorry, no posts matched your criteria.</p>
66468 <?php endif; ?>
66469 <!-- // this is just the end of the motor - don't touch that line either :) -->
66470 <?php //} ?>
66471 <p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p>
66472 <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
66473 <script type="text/javascript">
66474 <!--
66475 document.onkeypress = function esc(e) {
66476 if(typeof(e) == "undefined") { e=event; }
66477 if (e.keyCode == 27) { self.close(); }
66478 }
66479 // -->
66480 </script>
66481 </body>
66482 </html>