2012-09-17 09:22:12 +00:00
|
|
|
<!DOCTYPE html >
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
2016-12-19 13:26:13 +00:00
|
|
|
<script>var baseurl="<?php echo App::get_baseurl() ?>";</script>
|
2012-10-23 08:22:39 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
function ScrollToBottom(){
|
|
|
|
window.scrollTo(0,document.body.scrollHeight);
|
|
|
|
}
|
|
|
|
</script>
|
2012-09-17 09:22:12 +00:00
|
|
|
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<?php if(x($page, 'header')) echo $page['header']; ?>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<?php if(x($page,'nav')) echo $page['nav']; ?>
|
|
|
|
|
|
|
|
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
|
|
|
|
|
2016-02-09 15:41:19 +00:00
|
|
|
<section>
|
|
|
|
<?php if(x($page,'content')) echo $page['content']; ?>
|
|
|
|
<div id="pause"></div> <!-- The pause/resume Ajax indicator -->
|
2012-09-17 09:22:12 +00:00
|
|
|
<div id="page-footer"></div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
|
|
|
|
|
|
|
|
<footer id="footer">
|
2013-05-08 12:46:42 +00:00
|
|
|
<?php if(x($page, 'footer')) echo $page['footer']; ?>
|
2012-09-17 09:22:12 +00:00
|
|
|
</footer>
|
|
|
|
|
2013-05-08 12:46:42 +00:00
|
|
|
<tools id="tools">
|
|
|
|
<?php if (x($page, 'tools')) echo $page['tools']; ?>
|
|
|
|
<div id="scrollup" >
|
|
|
|
<a class="item-scrollup" href="javascript:scrollTo(0,100000)"><img src="view/theme/smoothly/images/down.png" alt="to bottom" title="to bottom" /></a>
|
|
|
|
<a class="item-scrollup" href="javascript:scrollTo(0,0)"><img src="view/theme/smoothly/images/up.png" alt="to top" title="to top" /></a>
|
|
|
|
<a class="item-scrollup" href="logout"><img src="view/theme/smoothly/images/power.png" alt="power" title="power" /></a>
|
|
|
|
</div>
|
|
|
|
</tools>
|
|
|
|
|
2012-09-17 09:22:12 +00:00
|
|
|
<?php if (x($page, 'bottom')) echo $page['bottom']; ?>
|
|
|
|
</body>
|
|
|
|
</html>
|