-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-families.php
50 lines (43 loc) · 1.61 KB
/
main-families.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!doctype html>
<html class="no-js" lang="en">
<?php require($config->paths->templates . 'includes/head-performances.inc'); ?>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<?php if ($page->id == '1336') : ?>
<div class="se-pre-con"></div>
<?php endif; ?>
<header class="header">
<div id="overlay"></div>
<div class="header__wrapper">
<a href="/" class="header__logo">
<img src="<?= $config->urls->templates ?>assets/images/mainstages-logo-horizontal.png" alt="Mainstages Logo">
</a>
<?php require($config->paths->templates."includes/modules/topnav-families.inc"); ?>
</div>
<!-- /.header__wrapper -->
</header>
<?php
switch ($page->template) {
case "families-home":
$layout = "families-home.inc";
break;
case "families-basic-page":
$layout = "families-basic.inc";
break;
case "performances-basic-page":
$layout = "performances-basic.inc";
break;
case "performance":
$layout = "performances-basic.inc";
break;
default:
echo "<h1>No Template File Found!</h1>";
}
require ($config->paths->templates."layouts/".$layout);
?>
<?php require($config->paths->templates."includes/footer.inc"); ?>
<?php require($config->paths->templates . 'includes/foot-performances.inc'); ?>
</body>
</html>