-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
154 lines (137 loc) · 6.77 KB
/
index.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?php
include_once 'config.php';
include_once 'functions.php';
if (!isset($sections)) {
$sections = getSections($project, $defaultProject);
}
?><!DOCTYPE html>
<head>
<title><?php echo $projectTitle; ?></title>
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no"/>
<link rel="icon" href="<?php echo $projectFaviconPath; ?>" type="image/x-icon">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo get_path( '/css/grid.css' ); ?>">
<link rel="stylesheet" href="<?php echo get_path( '/css/style.css' ); ?>">
<link rel="stylesheet" href="<?php echo get_path( "/projects/{$project}/project_styles.css" ); ?>">
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700|Montserrat+Alternates:400,700' rel='stylesheet' type='text/css'>
<!--<link href='//fonts.googleapis.com/css?family=Roboto:400,500,700' rel='stylesheet' type='text/css'>-->
<link rel="stylesheet" href="<?php echo get_path( '/css/prettify.css' ); ?>">
<link rel="stylesheet" href="<?php echo get_path( '/css/jquery.fancybox.css' ); ?>">
<script src="<?php echo get_path( '/js/jquery.js' ); ?>"></script>
<script src="<?php echo get_path( '/js/jquery-migrate-1.2.1.js' ); ?>"></script>
<!--[if lt IE 9]>
<html class="lt-ie9">
<div style='clear: both; text-align:center; position: relative;'>
<a href="http://windows.microsoft.com/en-US/internet-explorer/">
<img src="<?php echo get_path( '/img/ie8-panel/warning_bar_0000_us.jpg' ); ?>" border="0" height="42" width="820"
alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today."/>
</a>
</div>
<script src="/js/html5shiv.js"></script>
<![endif]-->
<script src='<?php echo get_path( '/js/device.min.js' ); ?>'></script>
</head>
<body data-section="<?php echo $section_param; ?>" onload="prettyPrint()" data-project="<?php echo $project; ?>">
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-5WB7JQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5WB7JQ');</script>
<!-- End Google Tag Manager -->
<div class="page-wrap">
<div class="rd-mobilemenu active">
<div class="logo logo__<?php echo $project; ?>">
<a href="<?php echo get_path( "/index.php?project={$project}" ); ?>">
<img src="<?php echo $projectImgLogoPath ?>" alt="<?php echo $projectTextLogo; ?>">
<?php echo $projectTextLogo; ?>
</a>
</div>
<div class="panel">
<!-- <div class="select select-version">
<select>
<option data-href="#">Version v3-0</option>
<option data-href="#" selected>Version v3-1</option>
<option data-href="#">Version v2-4</option>
<option data-href="#">Version v2-3</option>
</select>
</div>
<div class="select select-lang">
<select>
<option data-href="#">EN</option>
<option data-href="#">RU</option>
</select>
</div> -->
</div>
<p class="copyright">Zemez ©
<a href="https://zemez.io/privacy-policy/" target= "blank">Privacy Policy</a>
</p>
</div>
<div class="page-content active">
<button class="rd-mobilepanel_toggle active"><span></span></button>
<div class="rd-mobilepanel<?php if ('introduction' !== $section_param or 'introduction2' !== $section_param) : ?> fixed<?php endif; ?>">
<h1 class="rd-mobilepanel_title">
<?php echo $projectTitle; ?>
</h1>
<div class="tm-title-caption"><?php echo $projectTitleCaption; ?></div>
</div>
<div class="page">
<!--========================================================
HEADER
=========================================================-->
<header>
<nav class="nav">
<ul class="menu" data-type="navbar">
<?php echo generateNavigation($sections, $lang, $section_param, $project, $defaultProject); ?>
</ul>
</nav>
</header>
<!--========================================================
CONTENT
=========================================================-->
<main id="main">
<div class="container">
<?php include_once get_path( '/section.php', true ); ?>
</div>
</main>
<!--========================================================
FOOTER
=========================================================-->
<footer>
<!-- <div class="navigate">
<div class="next_wrapper navigated-section-2">
<div class="container">
<a href="/section/template-installatiamework-installation.html" class="next">
<span>Next</span>
<em>Template installation</em>
</a>
</div>
</div>
</div> -->
</footer>
</div>
</div>
</div>
<script src="<?php echo get_path( '/js/jquery.easing.1.3.js' ); ?>"></script>
<script src="<?php echo get_path( '/js/jquery.rd-navbar.js' ); ?>"></script>
<script src="<?php echo get_path( '/js/prettify.js' ); ?>"></script>
<script src="<?php echo get_path( '/js/jquery.fancybox.js' ); ?>"></script>
<script src="<?php echo get_path( '/js/jquery.ui.totop.js' ); ?>"></script>
<script>
/* Section Class
========================================================*/
function sectionClass(item_key) {
$.getJSON('<?php echo get_path( '/sections.json' ); ?>', function (json) {
var body = $('body');
var section_class = 'scheme-' + item_key % 9;
body.attr('class', '');
body.addClass(section_class);
});
}
</script>
<script src="<?php echo get_path( '/js/script.js' ); ?>"></script>
</body>
</html>