YaWK  24.1
Yet another WebKit
index.php
Go to the documentation of this file.
1 <!DOCTYPE html>
2 <html lang="de">
3 <head>
4 <?php /* INDEX.PHP - UNIVERSAL TEMPLATE 1.0 */
5 /* template positions from top to bottom
6  # globalmenu
7  # top
8  # main
9  # bottom
10  # footer
11  # hiddentoolbar
12  # debug
13  db-positions:
14  globalmenu:top:main:bottom:footer:hiddentoolbar:debug
15 */
16 /** @vars
17  * these vars are declared in yourdomain/index.php before inclusion of this document
18  * $template // template object
19  * $controller // controller object
20  * $page // page object
21  * $user // user object
22  * $stats // stats object
23  */
24 /* db object */
25 /** @var $db \YAWK\db */
26 /* language object */
27 /** @var $lang \YAWK\language */
28 /* template object */
29 /** @var $template \YAWK\template */
30 // \YAWK\sys::outputObjects($template, $controller, $page, $user, $stats);
31 ?>
32 <!-- To ensure proper rendering and touch zooming on phones and tablets -->
33  <meta charset="utf-8">
34  <meta http-equiv="X-UA-Compatible" content="IE=edge">
35  <meta name="viewport" content="width=device-width, initial-scale=1">
36 <!-- import meta tags -->
37  <meta name="author" content="<?php echo YAWK\settings::getSetting($db, "siteauthor"); ?>">
38  <meta name="keywords" content="<?php echo YAWK\settings::getSetting($db, "globalmetakeywords"); ?>">
39  <meta name="description" content="<?php echo YAWK\settings::getSetting($db, "globalmetatext"); ?>">
40 <!-- favicons -->
41  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
42  <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
43  <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
44  <link rel="manifest" href="/site.webmanifest">
45  <meta name="msapplication-TileColor" content="#ffffff">
46  <meta name="theme-color" content="#ffffff">
47 <?php
48 // get current host
49 $host = \YAWK\sys::addTrailingSlash(\YAWK\settings::getSetting($db, "host"));
50 // include additional html header stuff & local meta tags
51 \YAWK\sys::includeHeader($db, $host);
52 // load active google font code
54 // load position stats (0|1)
56 // load position indicators
58 // load active assets for this template
59 $template->loadActiveAssets($db, $template->id, $host, 'css');
60 ?>
61 
62 <!-- SETTINGS.MIN.CSS YaWK template settings: Bootstrap core CSS override -->
63 <link rel="stylesheet" type="text/css" href="system/templates/<?php echo $template->name; ?>/css/settings.min.css">
64 <!-- CUSTOM.MIN.CSS User defined CSS Rules -->
65 <link rel="stylesheet" type="text/css" href="system/templates/<?php echo $template->name; ?>/css/custom.min.css">
66 
67 <!--[if lt IE 9]>
68 <script src="system/engines/jquery/html5shiv.min.js"></script>
69 <script src="system/engines/jquery/1.3.0-respond.min.js"></script>
70 <![endif]-->
71 
72 <!-- import yawk app: custom js -->
73 <script src="system/templates/<?php echo $template->name; ?>/js/custom.min.js"></script>
74 </head>
75 
76 <body style="<?php echo YAWK\template::getActiveBodyFont($db); ?>" ondragstart="return false" id="home">
77 
78 <?php
79 $col = '';
80 // \YAWK\sys::outputObjects($template, $controller, $page, $user, $stats);
81 // exit;
82 ?>
83  <!-- LAYOUT START -->
84  <div class="container-fluid">
85  <div class="row">
86  <?php
87  // POSITION: outerTop
88  \YAWK\template::getPositionDivBox($db, $lang, "outerTop", 1, "col-md-12", $positions, $indicators, $template);
89  ?>
90  </div>
91  <div class="row">
92  <?php
93  // POSITION: outerLeft
94  \YAWK\template::getPositionDivBox($db, $lang, "outerLeft", 0, "col-md-2", $positions, $indicators, $template);
95  ?>
96  <!-- <div class="col-md-2 posbox" id="pos_outerLeft" style="height: 630px; margin-bottom:5px; text-align: center;">&laquo;outerLeft&raquo;</div> -->
97  <?php
98  if ($positions['pos-outerLeft-enabled'] === "1" && ($positions['pos-outerRight-enabled'] === "1"))
99  {
100  $col = "col-md-8";
101  }
102  else if ($positions['pos-outerLeft-enabled'] === "0" && ($positions['pos-outerRight-enabled'] === "1")
103  || ($positions['pos-outerLeft-enabled'] === "1" && ($positions['pos-outerRight-enabled'] === "0")))
104  {
105  $col = "col-md-10";
106  }
107  else if ($positions['pos-outerLeft-enabled'] === "0" && ($positions['pos-outerRight-enabled'] === "0"))
108  {
109  $col = "col-md-12";
110  }
111  ?>
112  <div class="<?php echo $col; ?>">
113  <div class="row">
114  <?php
115  // POSITION: intro
116  \YAWK\template::getPositionDivBox($db, $lang, "intro", 1, "col-md-12", $positions, $indicators, $template);
117 
118  // POSITION: globalmenu
119  \YAWK\template::getPositionDivBox($db, $lang, "globalmenu", 1, "col-md-12", $positions, $indicators, $template);
120 
121  // POSITION: top
122  \YAWK\template::getPositionDivBox($db, $lang, "top", 1, "col-md-12", $positions, $indicators, $template);
123  ?>
124  </div>
125  <div class="row">
126  <?php
127  // POSITION: leftMenu
128  \YAWK\template::getPositionDivBox($db, $lang, "leftMenu", 0, "col-md-2", $positions, $indicators, $template);
129  ?>
130  <!-- <div class="col-md-2 posbox" id="pos_outerLeft" style="height: 630px; margin-bottom:5px; text-align: center;">&laquo;outerLeft&raquo;</div> -->
131  <?php
132  if ($positions['pos-leftMenu-enabled'] === "1" && ($positions['pos-rightMenu-enabled'] === "1"))
133  {
134  $col = "col-md-8";
135  }
136  else if ($positions['pos-leftMenu-enabled'] === "0" && ($positions['pos-rightMenu-enabled'] === "1")
137  || ($positions['pos-leftMenu-enabled'] === "1" && ($positions['pos-rightMenu-enabled'] === "0")))
138  {
139  $col = "col-md-10";
140  }
141  else if ($positions['pos-leftMenu-enabled'] === "0" && ($positions['pos-rightMenu-enabled'] === "0"))
142  {
143  $col = "col-md-12";
144  }
145  ?>
146  <div class="<?php echo $col; ?>">
147  <!-- <div class="col-md-2 posbox" id="pos_leftMenu" style="height: 410px; margin-bottom:5px; text-align: center;">&laquo;leftMenu&raquo;</div> -->
148  <!-- <div class="col-md-8" style="height: auto; margin-bottom:5px; text-align: center;"> -->
149  <div class="row">
150  <?php
151  // POSITION: mainTop
152  \YAWK\template::getPositionDivBox($db, $lang, "mainTop", 1, "col-md-12", $positions, $indicators, $template);
153  ?>
154  <!-- <div class="col-md-12 posbox" id="pos_mainTop" style="height: auto; margin-bottom:5px; text-align: center;">&laquo;mainTop&raquo;</div> -->
155  </div>
156  <div class="row">
157  <?php
158  if ($positions['pos-mainTopLeft-enabled'] === "1" && ($positions['pos-mainTopCenter-enabled'] === "1") && ($positions['pos-mainTopRight-enabled'] === "1"))
159  {
160  // POSITION: mainTopLeft
161  \YAWK\template::getPositionDivBox($db, $lang, "mainTopLeft", 0, "col-md-4", $positions, $indicators, $template);
162  // POSITION: mainTopCenter
163  \YAWK\template::getPositionDivBox($db, $lang, "mainTopCenter", 0, "col-md-4", $positions, $indicators, $template);
164  // POSITION: mainTopRight
165  \YAWK\template::getPositionDivBox($db, $lang, "mainTopRight", 0, "col-md-4", $positions, $indicators, $template);
166  }
167  else if ($positions['pos-mainTopLeft-enabled'] === "1" && ($positions['pos-mainTopCenter-enabled'] === "0") && ($positions['pos-mainTopRight-enabled'] === "0"))
168  {
169  // POSITION: mainTopLeft
170  \YAWK\template::getPositionDivBox($db, $lang, "mainTopLeft", 0, "col-md-12", $positions, $indicators, $template);
171  }
172  else if ($positions['pos-mainTopLeft-enabled'] === "0" && ($positions['pos-mainTopCenter-enabled'] === "1") && ($positions['pos-mainTopRight-enabled'] === "0"))
173  {
174  // POSITION: mainTopCenter
175  \YAWK\template::getPositionDivBox($db, $lang, "mainTopCenter", 0, "col-md-12", $positions, $indicators, $template);
176  }
177  else if ($positions['pos-mainTopLeft-enabled'] === "0" && ($positions['pos-mainTopCenter-enabled'] === "0") && ($positions['pos-mainTopRight-enabled'] === "1"))
178  {
179  // POSITION: mainTopRight
180  \YAWK\template::getPositionDivBox($db, $lang, "mainTopRight", 0, "col-md-12", $positions, $indicators, $template);
181  }
182  else if ($positions['pos-mainTopLeft-enabled'] === "1" && ($positions['pos-mainTopCenter-enabled'] === "1") && ($positions['pos-mainTopRight-enabled'] === "0"))
183  {
184  // POSITION: mainTopLeft
185  \YAWK\template::getPositionDivBox($db, $lang, "mainTopLeft", 0, "col-md-6", $positions, $indicators, $template);
186  // POSITION: mainTopCenter
187  \YAWK\template::getPositionDivBox($db, $lang, "mainTopCenter", 0, "col-md-6", $positions, $indicators, $template);
188  }
189  else if ($positions['pos-mainTopLeft-enabled'] === "0" && ($positions['pos-mainTopCenter-enabled'] === "1") && ($positions['pos-mainTopRight-enabled'] === "1"))
190  {
191  // POSITION: mainTopCenter
192  \YAWK\template::getPositionDivBox($db, $lang, "mainTopCenter", 0, "col-md-6", $positions, $indicators, $template);
193  // POSITION: mainTopRight
194  \YAWK\template::getPositionDivBox($db, $lang, "mainTopRight", 0, "col-md-6", $positions, $indicators, $template);
195  }
196  else if ($positions['pos-mainTopLeft-enabled'] === "1" && ($positions['pos-mainTopCenter-enabled'] === "0") && ($positions['pos-mainTopRight-enabled'] === "1"))
197  {
198  // POSITION: mainTopCenter
199  \YAWK\template::getPositionDivBox($db, $lang, "mainTopLeft", 0, "col-md-6", $positions, $indicators, $template);
200  // POSITION: mainTopRight
201  \YAWK\template::getPositionDivBox($db, $lang, "mainTopRight", 0, "col-md-6", $positions, $indicators, $template);
202  }
203  ?>
204  </div>
205  <div class="row">
206  <?php
207  if ($positions['pos-mainLeft-enabled'] === "1" && ($positions['pos-main-enabled'] === "1") && ($positions['pos-mainRight-enabled'] === "1"))
208  {
209  // POSITION: mainLeft
210  \YAWK\template::getPositionDivBox($db, $lang, "mainLeft", 0, "col-md-4", $positions, $indicators, $template);
211  // POSITION: main
212  \YAWK\template::getPositionDivBox($db, $lang, "main", 0, "col-md-4", $positions, $indicators, $template);
213  // POSITION: mainRight
214  \YAWK\template::getPositionDivBox($db, $lang, "mainRight", 0, "col-md-4", $positions, $indicators, $template);
215  }
216  else if ($positions['pos-mainLeft-enabled'] === "1" && ($positions['pos-main-enabled'] === "0") && ($positions['pos-mainRight-enabled'] === "0"))
217  {
218  // POSITION: mainLeft
219  \YAWK\template::getPositionDivBox($db, $lang, "mainLeft", 0, "col-md-12", $positions, $indicators, $template);
220  }
221  else if ($positions['pos-mainLeft-enabled'] === "0" && ($positions['pos-main-enabled'] === "1") && ($positions['pos-mainRight-enabled'] === "0"))
222  {
223  // POSITION: main
224  \YAWK\template::getPositionDivBox($db, $lang, "main", 0, "col-md-12", $positions, $indicators, $template);
225  }
226  else if ($positions['pos-mainLeft-enabled'] === "0" && ($positions['pos-main-enabled'] === "0") && ($positions['pos-mainRight-enabled'] === "1"))
227  {
228  // POSITION: mainRight
229  \YAWK\template::getPositionDivBox($db, $lang, "mainRight", 0, "col-md-12", $positions, $indicators, $template);
230  }
231  else if ($positions['pos-mainLeft-enabled'] === "1" && ($positions['pos-main-enabled'] === "1") && ($positions['pos-mainRight-enabled'] === "0"))
232  {
233  // POSITION: mainLeft
234  \YAWK\template::getPositionDivBox($db, $lang, "mainLeft", 0, "col-md-6", $positions, $indicators, $template);
235  // POSITION: main
236  \YAWK\template::getPositionDivBox($db, $lang, "main", 0, "col-md-6", $positions, $indicators, $template);
237  }
238  else if ($positions['pos-mainLeft-enabled'] === "0" && ($positions['pos-main-enabled'] === "1") && ($positions['pos-mainRight-enabled'] === "1"))
239  {
240  // POSITION: main
241  \YAWK\template::getPositionDivBox($db, $lang, "main", 0, "col-md-6", $positions, $indicators, $template);
242  // POSITION: mainRight
243  \YAWK\template::getPositionDivBox($db, $lang, "mainRight", 0, "col-md-6", $positions, $indicators, $template);
244  }
245  else if ($positions['pos-mainLeft-enabled'] === "1" && ($positions['pos-main-enabled'] === "0") && ($positions['pos-mainRight-enabled'] === "1"))
246  {
247  // POSITION: main
248  \YAWK\template::getPositionDivBox($db, $lang, "mainLeft", 0, "col-md-6", $positions, $indicators, $template);
249  // POSITION: mainRight
250  \YAWK\template::getPositionDivBox($db, $lang, "mainRight", 0, "col-md-6", $positions, $indicators, $template);
251  }
252  ?>
253  </div>
254  <div class="row">
255  <?php
256  // POSITION: mainBottom
257  \YAWK\template::getPositionDivBox($db, $lang, "mainBottom", 0, "col-md-12", $positions, $indicators, $template);
258  ?>
259  </div>
260  <div class="row">
261  <?php
262  if ($positions['pos-mainBottomLeft-enabled'] === "1" && ($positions['pos-mainBottomCenter-enabled'] === "1") && ($positions['pos-mainBottomRight-enabled'] === "1"))
263  {
264  // POSITION: mainBottomLeft
265  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomLeft", 0, "col-md-4", $positions, $indicators, $template);
266  // POSITION: mainBottomCenter
267  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomCenter", 0, "col-md-4", $positions, $indicators, $template);
268  // POSITION: mainBottomRight
269  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomRight", 0, "col-md-4", $positions, $indicators, $template);
270  }
271  else if ($positions['pos-mainBottomLeft-enabled'] === "1" && ($positions['pos-mainBottomCenter-enabled'] === "0") && ($positions['pos-mainBottomRight-enabled'] === "0"))
272  {
273  // POSITION: mainTopLeft
274  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomLeft", 0, "col-md-12", $positions, $indicators, $template);
275  }
276  else if ($positions['pos-mainBottomLeft-enabled'] === "0" && ($positions['pos-mainBottomCenter-enabled'] === "1") && ($positions['pos-mainBottomRight-enabled'] === "0"))
277  {
278  // POSITION: mainTopCenter
279  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomCenter", 0, "col-md-12", $positions, $indicators, $template);
280  }
281  else if ($positions['pos-mainBottomLeft-enabled'] === "0" && ($positions['pos-mainBottomCenter-enabled'] === "0") && ($positions['pos-mainBottomRight-enabled'] === "1"))
282  {
283  // POSITION: mainTopRight
284  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomRight", 0, "col-md-12", $positions, $indicators, $template);
285  }
286  else if ($positions['pos-mainBottomLeft-enabled'] === "1" && ($positions['pos-mainBottomCenter-enabled'] === "1") && ($positions['pos-mainBottomRight-enabled'] === "0"))
287  {
288  // POSITION: mainTopLeft
289  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomLeft", 0, "col-md-6", $positions, $indicators, $template);
290  // POSITION: mainTopCenter
291  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomCenter", 0, "col-md-6", $positions, $indicators, $template);
292  }
293  else if ($positions['pos-mainBottomLeft-enabled'] === "0" && ($positions['pos-mainBottomCenter-enabled'] === "1") && ($positions['pos-mainBottomRight-enabled'] === "1"))
294  {
295  // POSITION: mainTopCenter
296  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomCenter", 0, "col-md-6", $positions, $indicators, $template);
297  // POSITION: mainTopRight
298  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomRight", 0, "col-md-6", $positions, $indicators, $template);
299  }
300  else if ($positions['pos-mainBottomLeft-enabled'] === "1" && ($positions['pos-mainBottomCenter-enabled'] === "0") && ($positions['pos-mainBottomRight-enabled'] === "1"))
301  {
302  // POSITION: mainTopCenter
303  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomLeft", 0, "col-md-6", $positions, $indicators, $template);
304  // POSITION: mainTopRight
305  \YAWK\template::getPositionDivBox($db, $lang, "mainBottomRight", 0, "col-md-6", $positions, $indicators, $template);
306  }
307  ?>
308  </div>
309  <div class="row">
310  <?php
311  // POSITION: mainFooter
312  \YAWK\template::getPositionDivBox($db, $lang, "mainFooter", 0, "col-md-12", $positions, $indicators, $template);
313  ?>
314  </div>
315  <div class="row">
316  <?php
317  if ($positions['pos-mainFooterLeft-enabled'] === "1" && ($positions['pos-mainFooterCenter-enabled'] === "1") && ($positions['pos-mainFooterRight-enabled'] === "1"))
318  {
319  // POSITION: mainFooterLeft
320  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterLeft", 0, "col-md-4", $positions, $indicators, $template);
321  // POSITION: mainFooterCenter
322  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterCenter", 0, "col-md-4", $positions, $indicators, $template);
323  // POSITION: mainFooterRight
324  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterRight", 0, "col-md-4", $positions, $indicators, $template);
325  }
326  else if ($positions['pos-mainFooterLeft-enabled'] === "1" && ($positions['pos-mainFooterCenter-enabled'] === "0") && ($positions['pos-mainFooterRight-enabled'] === "0"))
327  {
328  // POSITION: mainTopLeft
329  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterLeft", 0, "col-md-12", $positions, $indicators, $template);
330  }
331  else if ($positions['pos-mainFooterLeft-enabled'] === "0" && ($positions['pos-mainFooterCenter-enabled'] === "1") && ($positions['pos-mainFooterRight-enabled'] === "0"))
332  {
333  // POSITION: mainTopCenter
334  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterCenter", 0, "col-md-12", $positions, $indicators, $template);
335  }
336  else if ($positions['pos-mainFooterLeft-enabled'] === "0" && ($positions['pos-mainFooterCenter-enabled'] === "0") && ($positions['pos-mainFooterRight-enabled'] === "1"))
337  {
338  // POSITION: mainTopRight
339  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterRight", 0, "col-md-12", $positions, $indicators, $template);
340  }
341  else if ($positions['pos-mainFooterLeft-enabled'] === "1" && ($positions['pos-mainFooterCenter-enabled'] === "1") && ($positions['pos-mainFooterRight-enabled'] === "0"))
342  {
343  // POSITION: mainTopLeft
344  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterLeft", 0, "col-md-6", $positions, $indicators, $template);
345  // POSITION: mainTopCenter
346  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterCenter", 0, "col-md-6", $positions, $indicators, $template);
347  }
348  else if ($positions['pos-mainFooterLeft-enabled'] === "0" && ($positions['pos-mainFooterCenter-enabled'] === "1") && ($positions['pos-mainFooterRight-enabled'] === "1"))
349  {
350  // POSITION: mainTopCenter
351  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterCenter", 0, "col-md-6", $positions, $indicators, $template);
352  // POSITION: mainTopRight
353  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterRight", 0, "col-md-6", $positions, $indicators, $template);
354  }
355  else if ($positions['pos-mainFooterLeft-enabled'] === "1" && ($positions['pos-mainFooterCenter-enabled'] === "0") && ($positions['pos-mainFooterRight-enabled'] === "1"))
356  {
357  // POSITION: mainTopCenter
358  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterLeft", 0, "col-md-6", $positions, $indicators, $template);
359  // POSITION: mainTopRight
360  \YAWK\template::getPositionDivBox($db, $lang, "mainFooterRight", 0, "col-md-6", $positions, $indicators, $template);
361  }
362  ?>
363  </div>
364  </div>
365  <?php
366  // POSITION: outerLeft
367  \YAWK\template::getPositionDivBox($db, $lang, "rightMenu", 0, "col-md-2", $positions, $indicators, $template);
368  ?>
369  <!-- <div class="col-md-2 posbox" id="pos_rightMenu" style="height: 410px; margin-bottom:5px; text-align: center;">&laquo;rightMenu&raquo;</div> -->
370  </div>
371 
372  <div class="row">
373  <?php
374  // POSITION: footer
375  \YAWK\template::getPositionDivBox($db, $lang, "footer", 0, "col-md-12", $positions, $indicators, $template);
376  ?>
377  </div>
378  <div class="row">
379  <?php
380  // POSITION: hiddenToolbar
381  \YAWK\template::getPositionDivBox($db, $lang, "hiddenToolbar", 0, "col-md-12", $positions, $indicators, $template);
382  ?>
383  </div>
384  <div class="row">
385  <?php
386  // POSITION: debug
387  \YAWK\template::getPositionDivBox($db, $lang, "debug", 0, "col-md-12", $positions, $indicators, $template);
388  ?>
389  </div>
390  </div>
391 
392  <?php
393  // POSITION: outerRight
394  \YAWK\template::getPositionDivBox($db, $lang, "outerRight", 0, "col-md-2", $positions, $indicators, $template);
395  ?>
396 
397  </div>
398 
399  <!-- <div class="navbar-fixed-bottom"> -->
400  <div class="row">
401  <?php
402  // POSITION: outerBottom
403  \YAWK\template::getPositionDivBox($db, $lang, "outerBottom", 0, "col-md-12", $positions, $indicators, $template);
404  ?>
405  </div>
406  </div>
407 
408  <!-- LAYOUT END -->
409 
410  <script>
411 
412 
413 
414  /*
415  // Add smooth scrolling to all links in navbar + footer link
416  $(".submenu a, a[href='#home']").on('click', function(event) {
417  // Prevent default anchor click behavior
418  event.preventDefault();
419  // Store hash
420  var hash = this.hash;
421  // Using jQuery's animate() method to add smooth page scroll
422  // The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
423  $('html, body').animate({
424  scrollTop: $(hash).offset().top
425  }, 900, function(){
426  // Add hash (#) to URL when done scrolling (default click behavior)
427  window.location.hash = hash;
428  });
429  });
430 /*
431  // Slide in elements on scroll
432  $(window).scroll(function() {
433  $(".slideanim").each(function(){
434  var pos = $(this).offset().top;
435 
436  var winTop = $(window).scrollTop();
437  if (pos < winTop + 600) {
438  $(this).addClass("slide");
439  }
440  });
441  });
442 
443  })
444  */
445  </script>
446 <?php
447 // load active css assets for this template
448 $template->loadActiveAssets($db, $template->id, $host, 'js'); ?>
449 <!-- import yawk app: custom js -->
450 <script src="<?php echo $host; ?>system/templates/<?php echo $template->name; ?>/js/custom.min.js"></script>
451 </body>
452 </html>
print $lang['FILEMAN_UPLOAD']
static addTrailingSlash($url)
sometimes it is necessary to add a slash to a url.
Definition: sys.php:1147
static getPositionIndicatorStatusArray($db, $templateID)
get the position indicators. This is used on index.php to mark indicated positions
Definition: template.php:2710
static getPositionStatesArray($db, $templateID)
get the position states of all templates. This is used on index.php to render only templates that are...
Definition: template.php:2686
static loadGoogleFonts($db)
get settings for heading, menu and text font and output html to load font
Definition: template.php:2536
static getPositionDivBox($db, $lang, $position, $row, $bootstrapGrid, $positions, $indicators, $user, $template)
return div box with postition settings
Definition: template.php:1118
FuckAdBlock prototype on
Definition: fuckAdBlock.js:227
type
Definition: menu-new.php:35
This class serves methods to create backup from files.
Definition: AdminLTE.php:2
$indicators
Definition: index.php:57
$host
Definition: index.php:49
$positions
Definition: index.php:55
$col
Definition: index.php:79
$template name