-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.php
45 lines (38 loc) · 1.77 KB
/
default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php if ($a->module === 'network' || $a->module === 'community' || $a->module === 'home') $stream = true; ?><!DOCTYPE html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--><!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--><!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--WAS:<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />-->
<title><?php if(x($page,'title')) echo $page['title']; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <base href="<?php echo $a->get_baseurl(); ?>" /> <script>var baseurl="<?php echo $a->get_baseurl(); ?>";</script> <?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?>
<script>$("input").contact_autocomplete(baseurl+"/acl");</script>
</head>
<body>
<!-- Lighboxes & Co.... -->
<?php if ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) { ?>
<?php if(x($page,'content')) echo $page['content']; ?>
<?php if(x($page,'footer')) echo $page['footer']; ?>
<?php } else { ?>
<?php if(x($page,'nav')) echo $page['nav']; ?>
<div id="content" style="max-width:93%;">
<?php //if(x($page,'right_aside')) echo $page['right_aside']; ?>
<?php if(x($page,'content')) echo $page['content']; ?>
</div>
<?php if(x($page,'footer')) : ?>
<footer id="footer">
<?php echo $page['footer']; ?>
</footer>
<?php endif; ?>
<?php }
if ($stream) echo '<script src="'.$a->get_baseurl().'/view/theme/boheme/js/jquery.stalactite.min.js"></script>';
if (x($page,'end')) echo $page['end']; ?>
</body>
</html>