<?
require("./fjl-includes/fjl-includes.php");
fjl_indexFile_Top();
?>
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/1">
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<!-- Use my expanded geoURL info instead of the WordPress default -->
<? fjl_geo_info() ?>
<!-- Changed the style sheet name, and added a second to hold site-specific css values -->
<style type="text/css" media="screen">
@import url( /styles.css );
@import url( /styles2.css );
</style>
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<!-- I prefer inline comments, so I left this off -->
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
<script language="javascript" type="text/javascript">
/*if (self != top) {
if (document.images)
top.location.replace(window.location.href);
else
top.location.href = window.location.href;
}*/
</script>
</head>
<body>
<div id="rap">
<div id="header">
<table border=0><tr>
<td style="white-space:nowrap" valign="top">
<a href="<?php bloginfo('url'); ?>" target="_top"><?php bloginfo('name'); ?></a>
<br/><span class="tagline"><? echo get_settings('blogdescription'); ?></span>
</td>
<td style="white-space:nowrap" valign="top"> </td>
<td style="white-space:nowrap" valign="top" width="100%">
<?
ppro_setGalleryPath("/albums-static2/cornwall/");
ppro_showMinis("Cornwall Weblog",
"IMG_0692.JPG",
"IMG_0887.JPG",
"IMG_0982.JPG",
"IMG_1150.JPG",
"IMG_1526.JPG");
?>
</td>
</tr></table>
</div>
<!-- added a nav bar below the header -->
<? fjl_nav_bar(); ?>
<table><tr><td width="65%" valign="top">
<div id="content">
<!--
I've decided to trap urls of the form /?func=foo I do that in fjl_exec_func().
If it returns true then we know that it handled the request, otherwise we continue processing.
-->
<? if (!fjl_exec_func($fjl_func)) : ?>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<?php
global $fjlContent;
$fjlContent = fjl_the_content();
if (strpos($fjlContent, "NO_DATE") === FALSE)
the_date('','<h2>','</h2>');
?>
<div class="post">
<div class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></div>
<div class="storycontent">
<? echo $fjlContent; ?>
</div>
<!-- moved the meta info below the post, and reformatted it a bit -->
<? if (strpos($fjlContent, "NO_POSTED_INFO") === FALSE) : ?>
<div class="meta">
<?php echo "Posted by: "; the_author() ?> @ <?php the_time() ?> —
<?php _e("Filed under:"); ?>
<?php the_category() ?> —
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
<br/>
<?php wp_link_pages(); ?>
<?php edit_post_link(); ?>
</div>
<? endif; ?>
<!-- not sure what this is doing, so remove it for now -->
<!-- < ?php trackback_rdf(); ? > -->
<?php
if (strpos($fjlContent, "NO_COMMENTS") === FALSE)
include(ABSPATH . 'wp-comments.php'); ?>
</div>
<br clear="all" />
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<? endif; ?>
<!-- My page layout, with the column on the right, has a problem when the left (main)
column is shorter than the right column, in that the right column goes flush left when the
left column ends. This code just adds a bunch of empty lines to the main column
so this doesn't happen.
<? fjl_empty_lines(20); ?>
-->
</div> <!-- #content -->
</td><td width="34%" valign="top">
<div id="menu">
<!-- Changed the right column to use my old css classes -->
<!-- <div class="sidetitle">
Recent Photos
</div>
<div class="sidelinks">
<a href="">more »</a>
</div>
<div class="sidetitle">
Recent Albums
</div>
<div class="sidelinks">
<a href="">more »</a>
</div>
-->
<div class="sidetitle">
Frank and Rachel's Latest Projects
</div>
<div class="sidelinks">
This blog is on hiatus, but Frank has started a new one at <a href='http://millvalley.backtalk.com/'>millvalley.backtalk.com</a>.
<p/>
Rachel has a new <a href='http://www.rachelgaunt.com/'>life coaching</a> practice.
</div>
<div class="sidetitle">
Rent Our House In Cornwall
</div>
<div class="sidelinks">
If you're interested in renting our house on Daymer Lane in North Cornwall,
<a href="/articles/daymer-lane-house-for-rent/">click here »</a> <p/>
<font style="font-weight:bold;color:#FF0000">NEW: High-speed broadband connection!</font><br>
Take that long weekend you've been putting off...no more excuses...bring your laptop, plug in to our broadband connection, and keep in touch with the office in between <a href="/articles/the-brits-are-a-bit-nuts-when-it-comes-to-the-beach/">walks</a> on the beach, <a href="/articles/did-i-really-go-surfing-in-november/">surfing</a> at Polzeath, <a href="http://www.st-enodoc.co.uk/">golf</a> at St. Enodoc, or <a href="http://www.rickstein.com/"> dinner</a> at Rick Stein's.
<p/>
<b>Find out <a href="/articles/daymer-lane-house-for-rent/">more »</a></b>
<!-- Show the last twenty posts -->
<div class="sidetitle">
<? if ($category_name == '')
{
echo "Recent Entries";
$categoryId = '';
}
else
{
echo ucwords($category_name) . ": All Entries";
$categoryId = $cat;
}
?>
</div>
<div class="sidelinks">
<?php $after = "<br/>"; wp_get_archives('type=postbypost&limit=20&format=other&after='.$after.'&categoryId='.$categoryId); ?>
<br/>
<? if ($category_name == ''): ?>
<a href="/show_all_entries/">All Entries »</a><br/>
<? endif; ?>
</div>
<!-- If there's a parameter "s", we must be in search mode, so populate the search box with the search value. -->
<?
$sParam = get_url_param("s");
if ($sParam != '')
$sParam = htmlspecialchars($sParam);
?>
<!-- Made the search box look a little better -->
<div class="sidetitle">
Search This Site
</div>
<div class="sidelinks">
<form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
<div>
<table><tr><td>
<label for="s" accesskey="4">Search this site:</label><br />
</td></tr>
<tr><td>
<input type="text" name="s" id="s" size="25" value="<? echo $sParam ?>"/>
</td><td>
<input type="image" name="submit" value="submit" src="/fjl-includes/button_go.gif" style="border:none;padding:0;"/>
</td></tr></table>
</div>
</form>
</div>
<!-- Show all monthly archives -->
<div class="sidetitle">
Monthly Archives
</div>
<div class="sidelinks">
<?php $after = "<br/>"; wp_get_archives('type=monthly&format=custom&after='.$after); ?>
</div>
<!-- Show all categories -->
<div class="sidetitle">
Categories
</div>
<div class="sidelinks">
<?php wp_list_cats('sort_column=name&list=0'); ?>
</div>
<div class="sidetitle">
RSS + Atom + GeoURL
</div>
<div class="sidelinks">
<a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>">RSS 2.0</a><br/>
<a href="<?php bloginfo('atom_url'); ?>" title="<?php _e('Syndicate this site using Atom'); ?>">Atom</a><br/>
<? fjl_geourl_link(); ?>
</div>
<!-- I store my links in a file rather than using the WordPress links feature (looked more complicated than I needed) -->
<div class="sidetitle">
Links
</div>
<div class="sidelinks">
<?php fjl_my_links(); ?>
</div>
<? fjl_copyright(); ?>
<p class="credit"><!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform")); ?></cite></p>
</div> <!-- #menu -->
</td></tr></table>
</div> <!-- #rap -->
</body>
<?
require("./fjl-includes/fjl-includes.php");
fjl_geniusSnippet();
?>
</html>