File:  [mozdev] / cdn / www / b2.php
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Mar 6 11:19:39 2003 UTC (16 years, 5 months 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 ! */ $blog=1; include ("blog.header.php"); ?>
    2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    3: "http://www.w3.org/TR/xhtml/DTD/xhtml-transitional.dtd">
    4: <html xmlns="http://www.w3.org/1999/xhtml">
    5: <head>
    6: <title><?php echo $blogname ?></title>
    7: 
    8: <!-- Change charset if needed(?)  But please do not remove this metatag -->
    9: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   10: <meta http-equiv="reply-to" content="you@somewhere.zzz" />
   11: <meta http-equiv="imagetoolbar" content="no" />
   12: <meta content="TRUE" name="MSSmartTagsPreventParsing" />
   13: <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
   14: <link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
   15: <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
   16: <?php comments_popup_script() ?>
   17: </head>
   18: 
   19: <body>
   20: 
   21: 	<!-- // b2 loop start -->
   22: 	<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
   23: 
   24: 
   25: <?php the_date("d.m.y","<h1>","</h1>"); ?>
   26: 
   27: <p>
   28: <?php permalink_anchor(); ?>
   29: 
   30: <strong><?php the_title(); ?></strong> (category: <strong><?php the_category() ?></strong>)<br />
   31: <?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
   32: <br />
   33: <em>posted by <strong><?php the_author() ?></strong> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a></em>
   34: <br />
   35: <?php comments_popup_link("comments ?", "1 comment", "% comments") ?>
   36: 
   37: </p>
   38: 
   39: <?php include ("b2comments.php"); ?>
   40: 
   41: 
   42: 	<!-- // this is just the end of the motor - don't touch that line either :) -->
   43: 	<?php } ?> 
   44: 
   45: <div align="right">[powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]<br />
   46: <br />
   47: <a href="b2login.php">login</a><br />
   48: <a href="b2register.php">register</a></div>
   49: 
   50: <?php
   51: if ($debug=="1") {
   52: 	echo "<p>$querycount queries - ".number_format(timer_stop(),3)." seconds</p>";
   53: }
   54: ?>
   55: 
   56: </body>
   57: </html>

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