{template_event name="quiqqer::template::body::pageBegin" Template=$Template}
{fetch template="template/page/header.html" Template=$Template} {template_event name="quiqqer::template::body::afterHeader" Template=$Template} {**} {if $Template->getAttribute('layoutStartPage')} {fetch template="template/page/startpage.html" Template=$Template BricksManager=$BricksManager} {/if}
{assign var=headerSuffix value=$BricksManager->getBricksByArea('headerSuffix', $Site)} {foreach from=$headerSuffix item=Brick} {assign var=classes value=''} {if $Brick->getAttribute('classes')|count > 0} {assign var=classes value=''} {foreach from=$Brick->getAttribute('classes') item=css} {assign var=classes value=$classes|cat:' '|cat:'brick-container__'|cat:$css} {/foreach} {/if} {if $Brick->getSetting( 'brickFullWidth' )}
{$Brick->create()}
{else}
{$Brick->create()}
{/if} {/foreach}
{template_event name="quiqqer::template::body::beforeMain"}
{$Template->getLayout()}
{template_event name="quiqqer::template::body::afterMain" Template=$Template}
{assign var=footerPrefix value=$BricksManager->getBricksByArea('footerPrefix', $Site)} {foreach from=$footerPrefix item=Brick} {assign var=classes value=''} {if $Brick->getAttribute('classes')|count > 0} {assign var=classes value=''} {foreach from=$Brick->getAttribute('classes') item=css} {assign var=classes value=$classes|cat:' '|cat:'brick-container__'|cat:$css} {/foreach} {/if} {if $Brick->getSetting( 'brickFullWidth' )}
{$Brick->create()}
{else}
{$Brick->create()}
{/if} {/foreach}
{template_event name="quiqqer::template::body::beforeFooter" Template=$Template} {if $Template->getAttribute('template-footer')} {fetch template="template/footer.html" Template=$Template BricksManager=$BricksManager} {/if}
{template_event name="quiqqer::template::body::pageEnd" Template=$Template}