Request Prayer
getContent(
"page",
"find:".$_GET['nav'],
"show:__text__"
);
?>
Share Your Prayer
//typically hide sections on form display
if(!$_GET['share']) {
/*
If the full width sections here do not match the site you are putting this layout on
MAKE SURE TO REPLACE WITH THE SITE DEFAULTS AND USE THE CORRECT CUSTOM FIELDS
*/
$cSections = [];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 01", "json")['show'];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 02", "json")['show'];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 03", "json")['show'];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 04", "json")['show'];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 05", "json")['show'];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 06", "json")['show'];
$cSections[] = getContent("section", "display:detail", "find:{$_GET['nav']}", "label:Section 07", "json")['show'];
foreach ($cSections as $section) {
$container_pre = "
\n";
$container_post = "
\n";
if(strlen($section['text']) > 8 ) {
echo "
\n";
echo "\n";
echo $container_pre;
echo "
{$section[text]}
\n";
echo $container_post;
echo "
\n";
echo "\n";
}
}
}
?>