$header"; } elseif ($title) { $header = "

$title

"; } $body = "
$body
"; if ($footer) { $footer = "
$footer
"; } $contents = $header . $body . $footer; if ($show_inner) { $contents = "
$contents
"; } echo "
$contents
";