Changeset 71
- Timestamp:
- 05/23/2003 10:25:05 PM (22 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
b2pingbacks.php (modified) (3 diffs)
-
b2pingbackspopup.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2pingbacks.php
r3 r71 10 10 <!-- you can START editing here --> 11 11 12 <a name="pingbacks"></a> 13 <div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div> 12 <h2>Pingbacks</h2> 14 13 15 14 <ol id="pingbacks"> 16 15 <?php /* this line is b2's motor, do not delete it */ $wxcvbn_pb=0; while($rowc = mysql_fetch_object($resultc)) { $wxcvbn_pb++; $commentdata = get_commentdata($rowc->comment_ID); ?> 17 16 … … 21 20 22 21 <!-- pingback --> 23 < p>22 <li> 24 23 <?php comment_text() ?> 25 <br /> 26 <strong><span style="color: #0099CC">·</span></strong> 27 <em>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <?php comment_time() ?></em> 28 </p> 29 <p> </p> 24 25 <div><cite>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <a href="#pb<?php comment_ID(); ?>"></a><?php comment_time() ?></a></cite></div> 26 </li> 30 27 <!-- /pingback --> 31 28 … … 35 32 36 33 <!-- this is displayed if there are no pingbacks so far --> 37 < p>No Pingback on this post so far.</p>34 <li>No pingbacks on this post so far.</li> 38 35 39 36 <?php /* if you delete this the sky will fall on your head */ } ?> 37 </ol> 40 38 41 39 42 <p> </p> 43 <div><b><span style="color: #0099CC">::</span> <a href="javascript:history.go(-1)">return to the blog</a></b></div> 40 <h3><a href="javascript:history.go(-1)">Go back.</a></h3> 44 41 45 42 -
trunk/b2pingbackspopup.php
r68 r71 5 5 <html xmlns="http://www.w3.org/1999/xhtml"> 6 6 <head> 7 <title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title> 8 9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 10 <meta http-equiv="reply-to" content="you@yourdomain.com" /> 11 <meta http-equiv="imagetoolbar" content="no" /> 12 <meta content="TRUE" name="MSSmartTagsPreventParsing" /> 13 14 <style type="text/css" media="screen"> 15 @import url( layout2b.css ); 16 </style> 17 <link rel="stylesheet" type="text/css" media="print" href="b2-include/print.css" /> 18 <link rel="alternate" type="text/xml" title="XML" href="<?php echo $siteurl ?>/b2rss.php" /> 7 <title><?php echo $blogname ?> - pingbacks on '<?php the_title() ?>'</title> 8 9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 10 11 <style type="text/css" media="screen"> 12 @import url( layout2b.css ); 13 body { 14 margin: 3px; 15 } 16 </style> 19 17 20 18 </head> 21 19 <body> 22 <div id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></div> 23 20 <h1 id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></h1> 24 21 <div id="contentcomments"> 25 22 … … 28 25 <?php /* do not delete this line */ $queryc = "SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_content LIKE '%<pingback />%' ORDER BY comment_date"; $resultc = mysql_query($queryc); if ($resultc) { ?> 29 26 30 <a name="pingbacks"></a> 31 <p> </p> 32 <div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div> 33 <p> </p> 27 <h2>Pingbacks</h2> 34 28 29 <ol id="pingbacks"> 35 30 <?php /* this line is b2's motor, do not delete it */ $wxcvbn_pb=0; while($rowc = mysql_fetch_object($resultc)) { $commentdata = get_commentdata($rowc->comment_ID); $wxcvbn_pb++; ?> 36 31 37 < a name="pb<?php comment_ID() ?>"></a>32 <li id="pb<?php comment_ID() ?>"> 38 33 39 34 <!-- pingback --> 40 <p>41 35 <?php comment_text() ?> 42 <br /> 43 <strong><span style="color: #0099CC">·</span></strong> 44 <em>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <?php comment_time() ?></em> 45 </p> 46 <p> </p> 36 37 <div><cite>Pingback from <a href="<?php comment_author_url(); ?>" title="<?php comment_author() ?>"><?php comment_author() ?></a> on <?php comment_date() ?> @ <a href="pb<?php comment_ID() ?>"><?php comment_time() ?></a></cite> 38 </div> 39 47 40 <!-- /pingback --> 48 41 … … 52 45 53 46 <!-- this is displayed if there are no pingbacks so far --> 54 < p>No Pingback on this post so far.</p>47 <li>No Pingbacks on this post so far.</li> 55 48 56 49 <?php /* if you delete this the sky will fall on your head */ } ?> 50 </ol> 57 51 58 <p> </p> 59 <div><b><span style="color: #0099CC">::</span> <a href="javascript:window.close()">close this window</a></b></div> 52 <h3> <a href="javascript:window.close()">Close this window</a>.</h3> 60 53 61 54 <?php /* if you delete this the sky will fall on your head */ } ?> … … 67 60 </div> 68 61 69 <p class="centerP"> 70 <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite> 71 </p> 62 63 <p class="credit"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite></p> 72 64 73 65
Note: See TracChangeset
for help on using the changeset viewer.