view.php won't load the header and footer content

Permalink
I have created a view.php file and it works great except it won't load my logo, footer content and navigation links. Anyone know why this is? My view.php code is below:
<? $this->inc('elements/header.php'); ?>
<div id="container">
   <div id="top_area">
        <div id="logo"><? $logo = new Area('logo'); $logo->display($c); ?></div>
        <div id="mainnav"><? $mainnav = new Area('mainnav'); $mainnav->display($c); ?></div>
    </div>
   <div id="maincontent">
      <? print $innerContent; ?>
      <br class="clearfloat" />
    </div>
    <div id="footer_area"><? $footer = new Area('footer'); $footer->display($c); ?>
    </div>
</div>
<? $this->inc('elements/footer.php'); ?>

 
RJJ replied on at Permalink Reply
Forget it, just being dumb. New to Concrete5 so still getting used to the way things work.