Initial commit
This commit is contained in:
65
site/layout/default_layout.php
Executable file
65
site/layout/default_layout.php
Executable file
@@ -0,0 +1,65 @@
|
||||
|
||||
<div id='main'>
|
||||
|
||||
<?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>
|
||||
|
||||
<p class='sub-link'>
|
||||
<a href='bookingrequest.php' title='Begin a booking request'>
|
||||
Begin a Booking Request
|
||||
</a>
|
||||
</p>
|
||||
<!--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='content'>
|
||||
<!--BEGIN_CONTENT-->
|
||||
<?php include $this->content; ?>
|
||||
<!--END_CONTENT-->
|
||||
</div>
|
||||
|
||||
<div id='clearfooter'></div>
|
||||
|
||||
<?php if($this->display['footer']): ?>
|
||||
<!--BEGIN FOOTER-->
|
||||
<div id='footer'>
|
||||
<?php include $this->footer; ?>
|
||||
</div>
|
||||
<!--END FOOTER-->
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user