
<?php if($this->display['header']): ?>
<!--BEGIN HEADER-->
<div id='header'>
<?php include $this->header; ?>
</div>
<!--END HEADER-->
<?php endif; ?>

<?php if($this->display['menu']): ?>
<!--BEGIN MENU-->
<div id='menu'>
<?php include $this->menu; ?>
</div>
<!--END MENU-->
<?php endif; ?>

<!--BEGIN_ERRORS-->
<?php if(!empty($this->errors)): ?>
<div id='errors'>
	<ul>
<?php foreach($this->errors as $err): ?>
  	<li><?php echo $err ?></li>
<?php endforeach; ?>
 	</ul>
</div>
<?php endif; ?>
<!--END_ERRORS-->

<!--BEGIN_MESSAGES-->
<?php if(!empty($this->messages)): ?>
<div id='messages'>
	<ul>
<?php foreach($this->messages as $msg): ?>
		<li><?php echo $msg ?></li>
<?php endforeach; ?>
	</ul>
</div>
<?php endif; ?>
<!--END_MESSAGES-->

<div id='dtn_logo'></div>
<div id='page_symbol'></div>
<div id='content'>
<!--BEGIN_CONTENT-->
<?php include $this->content; ?>
<!--END_CONTENT-->
</div>

<?php if($this->display['footer']): ?>
<!--BEGIN FOOTER-->
<div id='footer'>
<?php include $this->footer; ?>
</div>
<!--END FOOTER-->
<?php endif; ?>
