queryRow($sql); if(!$id || is_null($row)) { header("Location: ./"); die; } extract($row); $story_title=$title; $title="Book of Mormon Adventures - $title"; include("topnav.php"); echo "

$story_title

\n"; echo "

Written by $name

\n"; if($introduction!='') { echo "
\n"; echo "

".str_replace("\n","

\n

",$introduction)."

"; echo "
\n"; } echo "\n"; echo "Copyright © ".date("Y"). " $name\n"; include("endnav.php"); ?>