<br /> <?php if (!empty($notice_success)) { ?> <div id="notice_success"><?php echo $notice_success; ?> </div> <?php } ?> <?php if (!empty($notice_error)) { ?> <div id="notice_error"><?php echo $notice_error; ?> </div> <?php } ?> <?php $frontController->render(); ?> </div> </body> </html>
public function render($view, $data = array(), $return = false) { $data = array_merge($data, array('profile' => $this->profile, 'self' => $this->self)); parent::render($view, $data, $return); }