WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?php ob_start(); // Start the outputbufferpage_content(2); // Next call the block$content2=ob_get_contents(); // Now fetch the output into a variableob_end_clean(); // Clean up old mess and stop buffering?><div id="content"><?php if ($content2<>"") { // Next test $content2 to see if there is something in it echo "<div id=\"content1\">\n";}?><?php page_content(1); echo "\n</div><!-- close div#content1 -->\n";?><?php if ($content2<>"") { // Next test $content2 to see if there is something in it echo "<div id=\"content2\">\n"; echo $content2; echo "\n</div><!-- close div#content2 -->\n";}?><?php if ($content2<>"") { // Close the div tag for $content2 if it was used echo "</div><!-- close div#content -->\n";}?>
<div id="content"><?php if ($content2<>"") { // Next test $content2 to see if there is something in it echo "<div id=\"content1\">\n";}?>
<div id="content"><?php if ($content1<>"") { // Next test $content1 to see if there is something in it echo "<div id=\"content1\">\n";}?>