94 lines
3.1 KiB
PHP
94 lines
3.1 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 : '/favicon.ico' ?>" 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 Config::copywrite(); ?>" />
|
|
<?php echo Style::factory(); ?>
|
|
<?php echo Script::factory(); ?>
|
|
</head>
|
|
<body>
|
|
<table class="page">
|
|
<tr class="pagehead">
|
|
<td colspan="3">
|
|
<div id="ajHEAD">
|
|
<table class="pagehead">
|
|
<tr>
|
|
<td class="headlogo">
|
|
<?php echo HTML::anchor('',Config::logo(),array('class'=>'headlogo')); ?>
|
|
</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">
|
|
<?php echo Breadcrumb::factory(); ?>
|
|
</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 }?>
|
|
<?php if (Config::sitemode() >= Kohana::STAGING) { ?>
|
|
<div id="kohana-session" style="display: none; text-align: left;"><?php echo debug::vars(Session::instance()); ?></div>
|
|
<script type="text/javascript">$("#ajFOOT").click(function() {$('#kohana-session').toggle();});</script>
|
|
<?php }?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|