require_once '../nephi_obadiah.php'; $id=intval($_GET['id']); $sql = "SELECT * FROM boma WHERE id = $id"; $row = $db->queryRow($sql); if(!$id || is_null($row)) { header("Location: ./"); die; } ?> extract($row); $book_title=$title; $title="Book of Mormon Adventures - $book_title"; include("topnav.php"); echo "
$book_title"; if($author) echo "
by $author"; if($image!='') { list($width, $height, $type, $attr) = getimagesize("img/".$row['image']); echo(""); } echo "
\n
\n\n"; echo "".str_replace("\n","
\n",$description)."
\n
About the Author
"; if ($about!="") echo "\n\n"; echo "".str_replace("\n","
",$row['about'])."
\n
Notes
echo "\n\n\n"; ?> } ?> include("endnav.php"); ?>".str_replace("\n","
",$row['notes'])."\n