-
+ 720CDB5387AFD7D31ABDEB5C04EE8AA5081CDD972B1349F3783A9E0A570E38057B31A9C288DDCC73B2C072061F35460E7EB159BB09DF51AA2DB356E408FE752B
mp-wp/wp-content/themes/classic/comments-popup.php
(0 . 0)(1 . 126)
65211 <?php
65212 /**
65213 * @package WordPress
65214 * @subpackage Classic_Theme
65215 */
65216 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
65217 <html xmlns="http://www.w3.org/1999/xhtml">
65218 <head>
65219 <title><?php echo get_option('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title>
65220
65221 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
65222 <style type="text/css" media="screen">
65223 @import url( <?php bloginfo('stylesheet_url'); ?> );
65224 body { margin: 3px; }
65225 </style>
65226
65227 </head>
65228 <body id="commentspopup">
65229
65230 <h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
65231
65232 <?php
65233 /* Don't remove these lines. */
65234 add_filter('comment_text', 'popuplinks');
65235 if ( have_posts() ) :
65236 while( have_posts()) : the_post();
65237 ?>
65238
65239 <h2 id="comments"><?php _e("Comments"); ?></h2>
65240
65241 <p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."); ?></a></p>
65242
65243 <?php if ('open' == $post->ping_status) { ?>
65244 <p><?php _e("The <abbr title=\"Universal Resource Locator\">URL</abbr> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>
65245 <?php } ?>
65246
65247 <?php
65248 // this line is WordPress' motor, do not delete it.
65249 $commenter = wp_get_current_commenter();
65250 extract($commenter);
65251 $comments = get_approved_comments($id);
65252 $commentstatus = get_post($id);
65253 if ( post_password_required($commentstatus) ) { // and it doesn't match the cookie
65254 echo(get_the_password_form());
65255 } else { ?>
65256
65257 <?php if ($comments) { ?>
65258 <ol id="commentlist">
65259 <?php foreach ($comments as $comment) { ?>
65260 <li id="comment-<?php comment_ID() ?>">
65261 <?php comment_text() ?>
65262 <p><cite><?php comment_type(_c('Comment|noun'), __('Trackback'), __('Pingback')); ?> <?php _e("by"); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
65263 </li>
65264
65265 <?php } // end for each comment ?>
65266 </ol>
65267 <?php } else { // this is displayed if there are no comments so far ?>
65268 <p><?php _e("No comments yet."); ?></p>
65269 <?php } ?>
65270
65271 <?php if ('open' == $commentstatus->comment_status) { ?>
65272 <h2><?php _e("Leave a comment"); ?></h2>
65273 <p><?php _e("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>
65274
65275 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
65276 <?php if ( $user_ID ) : ?>
65277 <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo wp_logout_url(); ?>" title="<?php echo attribute_escape(__('Log out of this account')); ?>"><?php _e('Log out »'); ?></a></p>
65278 <?php else : ?>
65279 <p>
65280 <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
65281 <label for="author"><?php _e("Name"); ?></label>
65282 </p>
65283
65284 <p>
65285 <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
65286 <label for="email"><?php _e("E-mail"); ?></label>
65287 </p>
65288
65289 <p>
65290 <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
65291 <label for="url"><?php _e("<abbr title=\"Universal Resource Locator\">URL</abbr>"); ?></label>
65292 </p>
65293 <?php endif; ?>
65294
65295 <p>
65296 <label for="comment"><?php _e("Your Comment"); ?></label>
65297 <br />
65298 <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
65299 </p>
65300
65301 <p>
65302 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
65303 <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />
65304 <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
65305 </p>
65306 <?php do_action('comment_form', $post->ID); ?>
65307 </form>
65308 <?php } else { // comments are closed ?>
65309 <p><?php _e("Sorry, the comment form is closed at this time."); ?></p>
65310 <?php }
65311 } // end password check
65312 ?>
65313
65314 <div><strong><a href="javascript:window.close()"><?php _e("Close this window."); ?></a></strong></div>
65315
65316 <?php // if you delete this the sky will fall on your head
65317 endwhile; //endwhile have_posts()
65318 else: //have_posts()
65319 ?>
65320 <p>Sorry, no posts matched your criteria.</p>
65321 <?php endif; ?>
65322
65323 <!-- // this is just the end of the motor - don't touch that line either :) -->
65324 <?php //} ?>
65325 <p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>WordPress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p>
65326 <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
65327 <script type="text/javascript">
65328 <!--
65329 document.onkeypress = function esc(e) {
65330 if(typeof(e) == "undefined") { e=event; }
65331 if (e.keyCode == 27) { self.close(); }
65332 }
65333 // -->
65334 </script>
65335 </body>
65336 </html>