<?php
/***************************************************************************
* Copyright (C) 2007 by John D Nash, Jr. All Rights Reserved Worldwide. *
* hide@address.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ><!-- InstanceBegin template="/Templates/alt-common.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Daily Adult Bible Reading</title>
<meta name="author" content="John D Nash">
<meta name="copyright" content="2007 John Nash">
<meta name="description" content="Daily Reading">
<meta name="keywords" content="Reading">
<meta name="publisher" content="jdnash.com">
<style type="text/css" media="all">
@import url(index.css);
</style>
</head>
<body>
<center>
<table id="container">
<!-- Menu right under banner graphic -->
<tr>
<td id="menuBar" colspan="2">
<a href="/">Home</a>
<a href="index.php?topic=daily">Adult Reading</a>
<a href="index.php?topic=youth">Youth Reading</a>
</td>
</tr>
<!-- Links at left, content at right -->
<tr>
<!-- Right Column -->
<td colspan="2" id="content">
<!-- InstanceBeginEditable name="EditRegionPhoto" --><!-- InstanceEndEditable -->
<h1><!-- InstanceBeginEditable name="EditRegionHeadline" --><!-- InstanceEndEditable --></h1>
<!-- InstanceBeginEditable name="EditRegionStory" -->
<?php
///
/// ** start of the dynamic content area **
/// this code automagically places content from the database
/// into this file for presentation. This section alone is
/// where it all happens, and the rest of this file can be anything
/// you want for whatever look you want. First create a web page
/// with the look you want, then when you are satisfied with you
/// web page design, rename it with an .php extensions (eg: reading.php)
/// and put this code in the spot where you want the reading.
///
require_once ("get_verse.php");
$topic = $_REQUEST[topic];
$myyear = $_REQUEST[myyear];
$mymonth = $_REQUEST[mymonth];
$myday = $_REQUEST[myday];
if (!$topic) {$topic="daily";}
global $baselink, $myyear, $mymonth, $myday;
$baselink="brp/index.php";
if ($topic == "youth"){
$headline = "Daily Youth Reading";
} else {
$headline = "Daily Adult Reading";
} // end of if ($context == "youth"){
echo "<h3>".$headline."</h3>";
echo "<p>".get_verse($topic)."</p>";
///end of the dynamic content area The next line is hte last line in this area
?>
<!-- InstanceEndEditable --></td>
</tr>
</table>
</center>
</body>
<!-- InstanceEnd --></html>