File:  [mozdev] / cdn / www / index.php.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Mar 6 19:42:24 2003 UTC (16 years, 5 months ago) by cdn
Branches: MAIN
CVS tags: HEAD
OOo

    1: <div id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></div>
    2: 
    3: <div id="content">
    4: 
    5: 
    6: <!-- // b2 loop start -->
    7: <?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
    8: 
    9: 
   10: <?php the_date("","<h2>","</h2>"); ?>
   11: <?php permalink_anchor(); ?>
   12: <div class="storyTitle"><?php the_title(); ?>
   13:    <a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a>&nbsp;-&nbsp;
   14: <span class="storyAuthor"><?php the_author() ?> - <?php the_author_email() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
   15: </div>
   16: 
   17: <div class="storyContent">
   18: <?php the_content(); ?>
   19: 
   20: <div class="rightFlush">
   21: <?php link_pages("<br />Pages: ","<br />","number") ?> 
   22: <?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?> 
   23: <?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?> 
   24: <?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?>
   25: 
   26: <?php trackback_rdf() ?>
   27: 
   28: <!-- this includes the comments and a form to add a new comment -->
   29: <?php include ($b2blah.'/b2comments.php'); ?>
   30: 
   31: <!-- this includes the trackbacks -->
   32: <?php include ($b2blah.'/b2trackback.php'); ?>
   33: 
   34: <!-- this includes the pingbacks -->
   35: <?php include ($b2blah.'/b2pingbacks.php'); ?>
   36: 
   37: </div>
   38: 
   39: </div>
   40: 
   41: 
   42: <!-- // this is just the end of the motor - don't touch that line either :) -->
   43: 	<?php } ?> 
   44: 
   45: 
   46: </div>
   47: 
   48: <p class="centerP"><?php timer_stop(1); ?>
   49: [powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
   50: </p>
   51: 
   52: 
   53: <div id="menu">
   54: 
   55: <h4>quick links:</h4>
   56: 
   57: <a href="http://www.cafelog.com" title="b2's homepage">cafelog.com</a><br />
   58: <a href="http://some other site" title="another link">another link</a><br />
   59: <a href="http://some other site" title="another link">another link</a><br />
   60: <a href="http://some other site" title="another link">another link</a><br />
   61: 
   62: 
   63: <h4>categories:</h4>
   64: 
   65: <?php list_cats(0, 'All', 'name'); ?>
   66: 
   67: <h4>search:</h4>
   68: 
   69: <form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
   70: <p>
   71: <input type="text" name="s" size="15" /><br />
   72: <input type="submit" name="submit" value="search" />
   73: </p>
   74: </form>
   75: 
   76: <h4>archives:</h4>
   77: 
   78: <?php include($b2blah."b2archives.php"); ?>
   79: <br />
   80: 
   81: <a href="b2rss.xml"><img src="/b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0"  /></a><br />
   82: <a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://alfordot/www.w3.org/Icons/valid-xhtml10.png" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>
   83: 
   84: </div>
   85: 
   86: <div id="chaff">
   87: <a href="mailto:abuse@[127.0.0.1]" title="anti sp@mbot addrss">4 sp@mbots e-mail me</a>
   88: </div>
   89: <!-- BlueRobot was here. -->
   90: <?php
   91: 
   92: $included_files = get_included_files();
   93: 
   94: foreach($included_files as $filename) {
   95:     echo "$filename<br/>$file<p />\n";
   96: }
   97: 
   98: // find where $file defined ...
   99: 
  100: show_source('protected/local.conf');
  101: 
  102: ?>

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