File:  [mozdev] / cdn / www / index.php
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Mar 6 11:19:39 2003 UTC (16 years, 2 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"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2:     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3: <html xmlns="http://www.w3.org/1999/xhtml">
    4: <!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html -->
    5: 
    6: <head>
    7: <title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
    8: 
    9: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   10: <meta http-equiv="reply-to" content="<?php bloginfo('admin_email'); ?>" />
   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="print.css" />
   18: <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
   19: <link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
   20: <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
   21: <?php comments_popup_script() ?>
   22: 
   23: </head>
   24: <body>
   25: <div id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></div>
   26: 
   27: <div id="content">
   28: 
   29: 
   30: <!-- // b2 loop start -->
   31: 	<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
   32: 
   33: 
   34: <?php the_date("","<h2>","</h2>"); ?>
   35: <?php permalink_anchor(); ?>
   36: <div class="storyTitle"><?php the_title(); ?>
   37:    <a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a>&nbsp;-&nbsp;
   38: <span class="storyAuthor"><?php the_author() ?> - <?php the_author_email() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
   39: </div>
   40: 
   41: <div class="storyContent">
   42: <?php the_content(); ?>
   43: 
   44: <div class="rightFlush">
   45: <?php link_pages("<br />Pages: ","<br />","number") ?> 
   46: <?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?> 
   47: <?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?> 
   48: <?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?>
   49: 
   50: <?php trackback_rdf() ?>
   51: 
   52: <!-- this includes the comments and a form to add a new comment -->
   53: <?php include ("b2comments.php"); ?>
   54: 
   55: <!-- this includes the trackbacks -->
   56: <?php include ("b2trackback.php"); ?>
   57: 
   58: <!-- this includes the pingbacks -->
   59: <?php include ("b2pingbacks.php"); ?>
   60: 
   61: </div>
   62: 
   63: </div>
   64: 
   65: 
   66: <!-- // this is just the end of the motor - don't touch that line either :) -->
   67: 	<?php } ?> 
   68: 
   69: 
   70: </div>
   71: 
   72: <p class="centerP"><?php timer_stop(1); ?>
   73: [powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
   74: </p>
   75: 
   76: 
   77: <div id="menu">
   78: 
   79: <h4>quick links:</h4>
   80: 
   81: <a href="http://www.cafelog.com" title="b2's homepage">cafelog.com</a><br />
   82: <a href="http://some other site" title="another link">another link</a><br />
   83: <a href="http://some other site" title="another link">another link</a><br />
   84: <a href="http://some other site" title="another link">another link</a><br />
   85: 
   86: 
   87: <h4>categories:</h4>
   88: 
   89: <?php list_cats(0, 'All', 'name'); ?>
   90: 
   91: <h4>search:</h4>
   92: 
   93: <form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
   94: <p>
   95: <input type="text" name="s" size="15" /><br />
   96: <input type="submit" name="submit" value="search" />
   97: </p>
   98: </form>
   99: 
  100: <h4>archives:</h4>
  101: 
  102: <?php include("b2archives.php"); ?>
  103: <br />
  104: 
  105: 
  106: <h4>other:</h4>
  107: 
  108: <a href="b2login.php">login</a><br />
  109: <a href="b2register.php">register</a><br />
  110: <br />
  111: 
  112: <a href="b2rss.xml"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0"  /></a><br />
  113: <a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>
  114: 
  115: </div>
  116: 
  117: <div id="chaff">
  118: <a href="mailto:abuse@[127.0.0.1]" title="anti sp@mbot addrss">4 sp@mbots e-mail me</a>
  119: </div>
  120: <!-- BlueRobot was here. -->
  121: </body>
  122: </html>
  123: 

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