File:  [mozdev] / cdn / www / b2pingbackspopup.php
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Mar 6 11:19:39 2003 UTC (16 years, 1 month ago) by cdn
Branches: MAIN
CVS tags: HEAD
b2 blog cafelog.com

    1: <?php /* Don't remove this line, it calls the b2 function files ! */
    2: $blog=1; include ("blog.header.php"); while($row = mysql_fetch_object($result)) { start_b2();
    3: ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    4:     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    5: <html xmlns="http://www.w3.org/1999/xhtml">
    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" />
   19: 
   20: </head>
   21: <body>
   22: <div id="header"><a title="<?php echo $blogname ?>"><?php echo $blogname ?></a></div>
   23: 
   24: <div id="contentcomments">
   25: 
   26: <div class="storyContent">
   27: 
   28: 	<?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: 
   30: <a name="pingbacks"></a>
   31: <p>&nbsp;</p>
   32: <div><strong><span style="color: #0099CC">::</span> pingbacks</strong></div>
   33: <p>&nbsp;</p>
   34: 
   35: 	<?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: 	
   37: <a name="pb<?php comment_ID() ?>"></a>
   38: 	
   39: <!-- pingback -->
   40: <p>
   41: <?php comment_text() ?>
   42: <br />
   43: <strong><span style="color: #0099CC">&middot;</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>&nbsp;</p>
   47: <!-- /pingback -->
   48: 
   49: 
   50: 	<?php /* end of the loop, don't delete */ }
   51: 	if (!$wxcvbn_pb) { ?>
   52: 
   53: <!-- this is displayed if there are no pingbacks so far -->
   54: <p>No Pingback on this post so far.</p>
   55: 
   56: 	<?php /* if you delete this the sky will fall on your head */ } ?>
   57: 
   58: <p>&nbsp;</p>
   59: <div><b><span style="color: #0099CC">::</span> <a href="javascript:window.close()">close this window</a></b></div>
   60: 
   61: 	<?php /* if you delete this the sky will fall on your head */ } ?>
   62: 
   63: </div>
   64: 
   65: 	<?php /* this is just the end of the motor - don't touch that line either :) */ } ?> 
   66: 
   67: </div>
   68: 
   69: <p class="centerP">
   70: [powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
   71: </p>
   72: 
   73: 
   74: </body>
   75: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>