<?php $this->head(); ?> </head> <body> <?php $this->beginBody(); ?> <?php if (\app\component\Core::hasError() === true) { ?> <div class="col-xs-12 col-lg-offset-6"> <div class="alert alert-danger" role="alert"> <?php echo \app\component\Core::viewError(); ?> </div> </div> <div class="clearfix"></div> <?php } ?> <?php echo $content; ?> <div id="alertMessage"></div> <?php $this->endBody(); ?>