-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain-programming.php
More file actions
59 lines (49 loc) · 1.63 KB
/
main-programming.php
File metadata and controls
59 lines (49 loc) · 1.63 KB
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
51
52
53
54
55
56
57
58
59
<!doctype html>
<html class="no-js" lang="en">
<?php require($config->paths->templates . 'includes/head-programming.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 == '1051') : ?>
<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-programming.inc"); ?>
</div>
<!-- /.header__wrapper -->
</header>
<div id="page" class="mainWrapper">
<?php
switch ($page->template) {
case "programming-home":
$layout = "programming-home.inc";
break;
case "programming-basic-page":
$layout = "programming-basic.inc";
break;
case "wizard":
$layout = "programming-basic.inc";
break;
case "blog-home":
$layout = "programming-basic.inc";
break;
case "blog-post":
$layout = "programming-basic.inc";
break;
default:
$layout = "programming-basic.inc";
}
require ($config->paths->templates."layouts/".$layout);
?>
</div>
<!-- /.mainWrapper -->
<?php require($config->paths->templates."includes/footer.inc"); ?>
<?php require($config->paths->templates."includes/foot-programming.inc"); ?>
</body>
</html>