This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/application/views/lnapp/default.php
2011-05-03 09:49:04 +10:00

94 lines
2.9 KiB
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Default Template Layout for lnApp -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto">
<head>
<title><?php echo $meta->title; ?></title>
<link rel="shortcut icon" href="<?php echo $meta->shortcut_icon ? $meta->shortcut_icon : '#'; ?>" type="image/vnd.microsoft.icon" />
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="<?php echo $meta->language; ?>" />
<meta name="keywords" content="<?php echo $meta->keywords; ?>" />
<meta name="description" content="<?php echo $meta->description; ?>" />
<meta name="copyright" content="<?php echo $meta->copywrite; ?>" />
<?php echo $meta->styles; ?>
<?php echo $meta->scripts; ?>
</head>
<body>
<table class="page">
<tr class="pagehead">
<td colspan="3">
<div id="ajHEAD">
<table class="pagehead">
<tr>
<td class="headlogo">
<a href="<?php echo URL::site(); ?>" class="headlogo"><?php echo $logo;?></a>
</td>
<td class="headtitle"><?php echo $title; ?></td>
<td class="headimages"><?php echo $headimages; ?></td>
</tr>
</table>
</div>
</td>
</tr>
<tr class="pagecontrol">
<td colspan="3">
<div id="ajCONTROL">
<table class="pagecontrol">
<tr>
<td class="none"><?php echo $control; ?></td>
</tr>
</table>
</div>
</td>
</tr>
<tr class="pagemain">
<!-- Left Pane -->
<td class="pageleft" <?php echo $left ? '' : 'style="display: none;"'?>>
<div id="ajLEFT">
<table class="pageleft" width="100%">
<tr>
<td><?php echo $left; ?></td>
</tr>
</table>
</div>
</td>
<!-- Main Body Pane -->
<td class="pagebody">
<div id="ajBODY">
<?php if ((string)$sysmsg) {?>
<table class="sysmsg">
<tr>
<td><?php echo $sysmsg; ?></td>
</tr>
</table>
<?php }?>
<table class="content">
<tr>
<td><?php echo $content; ?></td>
</tr>
</table>
</div>
</td>
<!-- Right Pane -->
<td class="pageright" <?php echo trim($right) ? '' : 'style="display: none;"'?>>
<div id="ajRIGHT">
<table class="pageright" width="100%">
<tr>
<td><?php echo $right; ?></td>
</tr>
</table>
</div>
</td>
</tr>
<tr class="pagefoot">
<td colspan="3">
<div id="ajFOOT"><?php echo $footer; ?></div>
<?php if (Config::sitemode() == Kohana::DEVELOPMENT) { ?>
<div id="kohana-profiler" style="display: none;"><?php echo View::factory('profiler/stats'); ?></div>
<script type="text/javascript">$("#ajFOOT").click(function() {$('#kohana-profiler').toggle();});</script>
<?php }?>
</td>
</tr>
</table>
</body>
</html>