<?php $root = "/home/jfusion/Public/html/joefusion.com" ?>
<?php require("$root/inc/header.php"); ?>

<?php require("$root/inc/body_nav.php"); ?>
<?php

echo $cell_beg;
echo '<div align=center><img src="/inside/illustration/img/tricycle_kid.gif" height=300 width=226 border=0 alt="Tricycle Kid"></div><p>';
echo $cell_end;

// init
//$jdir = dir($root . "/inside/journal/j");
//$jlist = array ();

// list the journal directory
// include only readable, non-temp files
//while ($entry = $jdir->read() ) {
  //if ($entry != "." && $entry != ".." && !(strstr($entry, "temp")) ) {
    //$file = $jdir->path . '/' . $entry;
    //if ( is_file($file) && is_readable($file) && (fileperms($file) == "33188") ) {
      //$jlist[sizeof($jlist)] = $entry;
    //}
  //}
//}
//$jdir->close();
//rsort($jlist);
//reset($jlist);

// include most recent entries, up to $totalsize limit
// (note this is a bad estimate, as filesize != rendered html length)
//$totalsize = 0;
//while ( (list($key, $val) = each ($jlist)) && ($totalsize < 1500) ) {
  //$file = $jdir->path . '/' . $val;
  //$totalsize += filesize($file);
  //echo $cell_beg;
  //echo '<div class="hed">' . $val . "</div>\n";
  //echo '<div><p class="jrn">';
  //include($file);
  //echo '</p></div>';
  //echo $cell_end;
//}

// list links for older entries
//echo $cell_beg;
//echo '<div class="hed"><a class="hed" href="/inside/journal/">More Journal Entries...</a></div>'. "\n";

//echo $cell_end;

?>
<?php echo $table_end ?>

<?php require("$root/inc/footer.php"); ?>

